主题中讨论的其他器件: C2000WARE
我的查询与使用 USB 进行固件刷写有关、是否有任何文档显示刷写 CPU1和 CPU2的步骤(TMS320F28377D)
使用 USB? 或任何执行此操作的人、请解释步骤。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我的查询与使用 USB 进行固件刷写有关、是否有任何文档显示刷写 CPU1和 CPU2的步骤(TMS320F28377D)
使用 USB? 或任何执行此操作的人、请解释步骤。
您好!
请访问 https://www.ti.com/lit/an/spraco7/spraco7.pdf
我将此帖子分配给了我们的闪存内核专家。 她已不在办公室、下周中旬将回来。 如果您有其他问题、请在下周中旬回复。
谢谢、此致、
Vamsi
我在构建 z 项目时遇到以下错误、请告诉我如何纠正此错误
****为项目 F2837xD_USB_FLASH_kernel_cpu01构建配置 CPU1_RAM ****
"C:\\ti\\ccs1000\\ccs\\utils\bin\\gmake"-k all
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=Default1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:cla="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:-fpu32=-pred_proc-display_warning_decrendature=/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c -proc-display_gui_guide-guide-d_guide-guide-guide-guide-d_guide-ine_guide-guide-ine_guide-d_guide-ines=g_guidep-ine_guide-d_guide-d_guide-ines=g_guide-
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=cla1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include /ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c -include_path="C:cn_support=claC:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include -fpu32 -include_display_defensus-pred_proc -d_guidature=g_guide-d_guide-d_guidep-ase-d_guidep-ase-d_guide-d_guide-d_guidep-ines=g_guide-proc:g_guidep-ase-d_guidep-ines=g_proc:g_proc:g_
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_Gpio.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:- pred_guiag=gpensit_gui_guide-gui20=gpense=-/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_Gpio.c -pred_guide-gui20=gpage-gui_guide-guide-gui20=gpage-gui_gui20_gui_guide-d_guide-guide-d_guide-guide-d_guide-guide-d_guide-d_guide-
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_Gpio.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_Ipc.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:covert_support=fpu32 -include_display_warnature=g_guidateg-pred_gui_guide-guide-ines=pense=-/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_Ipc.c -guide-d_guide-d_guide-d_guidep-ines=page-ine_guide-d_guide-d_guidep-ine_ine_guide-d_guide-d_guidep-ines=
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_Ipc.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_Ipc_Driver_Util.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:covert_support=fpu32 -include_display_warnature=g_gui_guidi_gui_guide-d_guidi_guidi_guide-d_guide-ines=-/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_Ipc_Driver_Util.c -ine_guidi_guidi_guidi_guide-d_guidi_guide-d_guides=-ine_ine_ine_ine_ine_ines=-ine_ine_guidi_guid
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_Ipc_Driver_Util.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include /ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:picraus=pensus_guide-compression_guide-d_guide-d_guide-d_guide-d_guide-ines=pense=pense=pf-nature_guide-d_guide-ine_page-intran.cpu_guide-page=page-page-page-pf-nateg_guidep-ine_guide-d_guide-d_
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_PieVect.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:cn_support=fpu32 -include_display_warnature=v_sensitude-/ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -pred_guidature=v_sep-rand_diag-/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_PieVect.c -guidature=v_senseature-guide-d_guide-guide-d_guide-guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_PieVect.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:cn_support=proc:proc --fpu=fpu32 -include_display_warnature=g_guide-compress-/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c -pred_guidature=g_guide-d_guide-guide-d_guide-d_guide-d_guide-d_guide-ines=rand_diag-ines=-ine-d_guide-d_guide-d_guidep-ines=
"C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c "、第837行(第47列):建议#2615-D:(性能)使用-fp_mode=relaxed 启用针对 FP 分部的 TMU 硬件支持。
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include /ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:-fpu32=pru_display_supd_warning_diag-delive-d_guiag_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guidep-ines=g_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guidep-ines=-
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/F2837xD_usb_flash_kernels_cpu01.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:cru_support=fpu32 -include_display_warnes=g_guides=g_supervisorit_cpu_cpu_cpu_cpu_cpu_cpu_cpu.-/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/F2837xD_usb_flash_kernels_cpu01.c -pred_cpu_cpuature-boards=g_cpu_cpu_cpu_cpu_cpu_cpu_cpu_cpu_cpu_cpu_cpu_cpu_cpu_cpu_cpu_cpu
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/F2837xD_usb_flash_kernels_cpu01.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/Fapi_UserDefinedFunctions.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=fpu1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:-fpu=fpu32 -include_display_definitions=-/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/Fapi_UserDefinedFunctions.c -pred_definitions=cus_guides=g_guides=g_gui_guides=g_guides=g_guides=g_guides=rand_define_guides=g_guides=g_guides-ine_guides=g_guides=g_guidese-d_superv
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/Fapi_UserDefinedFunctions.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/Shared_Boot.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include /ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/Shared_Boot.c -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:cn_suppression-"-pred_guidature=g_guide-guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guides=-"
>>编译失败
subdir_rules.mk:86:目标'shafed_Boot.obj 的配方失败
内部错误:C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-C2000_20.2.0.LTS \bin\ac2000.exe 遇到分段错误
处理函数时(未知或文件范围)文件(未知)行0
这是由 TI C/C++解析器中的缺陷导致的。
TI 客户支持可能会建议解决方法来避免这种情况。
升级到编译器的最新版本可能会解决此问题。
在 E2E 支持论坛中联系 TI、网址为 http://e2e.ti.com、位于
"开发工具"、"TI C/C++编译器"。 请参阅标题为的链接
"提交问题"。
我们需要看到整个错误消息以及完整、可重现的消息
包括所有命令行选项的测试用例。
包含由选项--preproc_with_comment 创建的.pp 文件
gmake:***[shared_Boot.obj]错误1.
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/USB_Boot.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:cn"-float_support=fpu32 -include_display_warnatning_diag-/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/USB_Boot.c -pred_guidature-guide-guide-guide-d_guide-guide-guide-d_guide-d_guide-guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guide-d_guidep-"-
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/USB_Boot.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/USB_Boot_Funcs.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=func1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:func_support=funcion_guide-/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/USB_Boot_Funcs.c -pred_guide-guide-d_guide-d_guide-d_guide-d_guide-d_guides=g_guide-d_guidep-ine_guide-d_guide-d_guides=g_guides=g_guidep-ine_guide-d_guide-d_guides=g_guides=
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/USB_Boot_Funcs.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/USB_Structs.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 -v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=trag1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include /ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/USB_Structs.c -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:claus_suppression-"-pred_guide-d_guides=g_guide-proc-d_guide-d_guide-d_guides=g_guides=g_guides=-"-proc-as_guide-prob_guide-d_guide-d_guides=g_guide-d_guide-d_guide-d_guide-d_guides=
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/USB_Structs.c
编译文件:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/fwupgradec1toc2_start.asm
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 "-v28 -ml -mt --vcu_support=vcu2 --tmu_support=tmu0 -cla_support=proc 1 -float_support=fpu32 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /ti/c2000/C2000Ware_3_04_00_00/libraries/flash_api/f2837xd/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/common/include:upgradu="c:-fpu32=fpu32"-include_display_pred_warnategrendature-gui_guiag-/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/fwupgradec1toc2_start.asm -pred_guidategine_display-guide-guide-guide-guide-guide-guide-d_guidep-ine_guidep-rand_decd_guidep-rand_decd_guidep-rand-ine_guidep-r
完工:"c:/ti/c2000/C2000Ware_3_04_00_00/device_support/f2837xd/examples/dual/F2837xD_usb_flash_kernels/cpu01/fwupgradec1toc2_start.asm
gmake:目标"全部"不会由于错误而重新生成。
****构建完成****
您好、Diji、
看起来 shared_Boot.c 在编译时遇到问题。 按照控制台输出中的建议、请尝试将编译器版本更新为最新可用版本、并查看这是否可以解决问题。
hex2000.exe 文件是 TI 提供的整体编译器工具集的一部分。 编译器内的路径为 compiler\ti-cgt-C2000_xx.x.x\bin
对于引导引脚配置、您是否询问如何将其配置为 USB 引导? F2837xD TRM 的"引导"一章详细介绍了如何配置引导模式和引导引脚、这是一个很好的开始位置。
谢谢、
Anu
您好、Diji、
要使用 USB 引导模式、您需要设置引导模式引脚以获取引导。 这将引导序列读取 BOOTCTRL 寄存器中的 BMODE 值、该寄存器是0x0C 值所在的位置。
BOOTCTRL 寄存器位于 OTP 存储器中、可以对其进行写入以设置所需的引导模式和选择引导引脚。 您可以首先尝试在 CCS 中写入仿真寄存器、以确保在写入 OTP 之前所需的功能。 要写入仿真寄存器、您可以在 CCS 中查找存储器位置并修改位置。 有关如何写入 OTP 的信息、请参阅 https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/672063/tms320f28075-example-how-to-write-to-the-otp。
谢谢、
Anu
在 USB 引导加载程序实现中、TMS320F28377D 中的 USB 是处于器件模式还是主机模式?
您能否提供将 USB 设置为 USB 引导加载程序的硬件原理图?是 OTG 吗?我需要将此信息提供给硬件工程师、以便他为使用 USB 连接进行测试提供硬件。
如果有任何错误、我在下面介绍的 IAM 的理解让我知道
步骤1. 向 OTP 写入0x5A 我不明白、如何通过提供的链接执行此操作。 (灰色区域)
步骤2. 向 OTPI 写入0x0C 不理解、如何通过提供的链接执行此操作。(灰色)
步骤3. GPIO72 =VCC 和 GPIO84 = VCC、将器件置于 Get 引导模式。
步骤4. 通过使用 C2000器件中提供的 USB 加载器实用程序、将 flash_kernelCPU1.dat 加载到 RAM 中。
步骤5.将 application.dat 批量传输到主机 PC 中使用 USB 实用程序
您好、Dijith、
有关 BOOTCTRL 字段说明、请参阅 TRM 的表4-6。 KEY 字段(位8:0)需要设置为0x5A、位15:8 决定引导模式。 对于 USB、应将其设置为0x0C。 31:16位决定了 BMSP GPIO。 要将默认 GPIO 保持为 GPIO 72/GPIO84、请将值保持为0。 BOOTCTRL 值将为0x00000C5A。 我已向 OTP 编程专家咨询、以帮助将 这些值写入 OTP 存储器。
谢谢、此致、
Pawan
尊敬的 Anu 和 Vamsi:
我在 Vamsi wiki 上找到了这个、
37.我们可以使用闪存 API 对 OTP 进行编程吗?
答案。 是的、正如闪存 API 参考指南中提到的、OTP 可通过使用闪存 API 进行编程。 编程闪存与 OTP 的 API 函数用法没有任何区别。 但是、请注意 OTP 不能被擦除。 确保查看器件的数据手册和 TRM、以了解 OTP 中的存储器映射以及 OTP 中可供用户编程或使用的字段。 此外、在 F2837xD、F2837xS、F2807x 和 F28002x 器件中、请注意 DCSM OTP 编程必须与128位地址边界对齐、每个128位字只能编程一次。 例外情况如下:
a:DCSM OTP 中的 DCSM Zx-LINKPOINTER1和 Zx-LINKPOINTER2值应一起编程、并且可以在 A 上编程为1位 所需的时间。 b:DCSM OTP 中的 DCSM Zx-LINKPOINTER3值可按照 DCSM 操作的要求、一次编程为1位。
此外、请注意 OTP 中的保留字段不应编程。
是否有任何要编写的示例代码
BOOTCTRL = 0x00000C5A
请告诉我吗?
您好、Diji、
您应该能够通过不同的方式对 BOOTCTRL 字段进行编程-
1)闪存插件 GUI -您可以在 GUI (工具->闪存插件)中输入值、然后对其进行编程。
2) 2)将设置包含在项目本身中、并使用.out 对值进行编程。 您可以使用安全工具生成设置(请参阅 此 应用手册)
3) 3)使用闪存 API -如您之前的注释中所述、但我建议尝试上述两种简单易用的方法。
此致、
Vivek Singh
IAM 无法刷写我的自定义代码、请在这方面为我提供帮助
制造商:德州仪器(TI)
产品 ID:TMS320F28x7x USB 引导加载程序
序列号:2.
从文件 F2837xD_USB_FLASH_kernel_cpu01.dat...发送14206个字节的数据 完成!
已发送14206个字节中的14206个字节
成功!
读取制造商字符串时出错:1f0000
USB 操作失败!
C:\ti\c2000\C2000Ware_4_00_00_00\utilities\flash_programmers\USB_flash_programmer>
这是我得到的日志
你(们)好
感谢您的所有支持、现在我能够刷写 CPU1、很遗憾我无法刷写 CPU2。
日志如下
C:\ti\c2000Ware_4_00_00_00\utilities\flash_programmers\USB_flash_programmer> usb_flash_programr.exe F2837xD_usb_flash_kernels_cpu01.dat blinky_cpu01.dat F2837xD_usb_flash_kernels_cpu02.dat blinky_cpu02.dat
制造商:德州仪器(TI)
产品 ID:TMS320F28x7x USB 引导加载程序
序列号:2.
从文件 F2837xD_USB_FLASH_kernel_cpu01.dat...发送14206个字节的数据 完成!
已发送14206个字节中的14206个字节
成功!
制造商:德州仪器(TI)
产品 ID:TMS320F28x7x USB 引导加载程序
序列号:2.
从文件 blinky_cpu01.dat...发送7044字节的数据 完成!
发送的7044字节中有7044字节
成功!
枚举设备接口时出错:0x0103
这可能意味着设备未连接或驱动程序未安装
错误:无法打开 USB 设备
您好!
对于 F2837xD、只有 CPU01可以访问 USB 模块。 因此、CPU02取决于 CPU01来接收数据。
CPU01 应 使用 IPC 消息引导 CPU02、CPU01继续接收另一个要在 CPU02闪存中运行的二进制应用程序、并通过 IPC 将二进制应用程序传输到 CPU02。
请参阅 https://www.ti.com/lit/an/spraco7/spraco7.pdf 的第5页 了解调用的步骤。
此致
Siddharth
你好,Isidarth,
我浏览了该文档。

根据从上述文档中获取的快照、我已经提前到现在为止、请浏览上一个主题、
现在
C:\ti\c2000Ware_4_00_00_00\utilities\flash_programmers\USB_flash_programmer> usb_flash_programr.exe F2837xD_usb_flash_kernels_cpu01.dat blinky_cpu01.dat F2837xD_usb_flash_kernels_cpu02.dat blinky_cpu02.dat
通过运行此命令、我得到了以下结果
制造商:德州仪器(TI)
产品 ID:TMS320F28x7x USB 引导加载程序
序列号:2.
从文件 F2837xD_USB_FLASH_kernel_cpu01.dat...发送14206个字节的数据 完成!
已发送14206个字节中的14206个字节
成功!
制造商:德州仪器(TI)
产品 ID:TMS320F28x7x USB 引导加载程序
序列号:2.
从文件 blinky_cpu01.dat...发送7044字节的数据 完成!
发送的7044字节中有7044字节
成功!
枚举设备接口时出错:0x0103
这可能意味着设备未连接或驱动程序未安装
错误:无法打开 USB 设备
有人能帮我为什么无法刷写 CPU2吗
DIJITH P