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.

[参考译文] TMS320F28377D:TMS320F28377D

Guru**** 2041660 points
Other Parts Discussed in Thread: TMS320F28377D, C2000WARE
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1053197/tms320f28377d-tms320f28377d

器件型号:TMS320F28377D
主题中讨论的其他器件: C2000WARE

我的查询与使用 USB 进行固件刷写有关、是否有任何文档显示刷写 CPU1和 CPU2的步骤(TMS320F28377D)

使用 USB? 或任何执行此操作的人、请解释步骤。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    请访问 https://www.ti.com/lit/an/spraco7/spraco7.pdf 

    我将此帖子分配给了我们的闪存内核专家。  她已不在办公室、下周中旬将回来。  如果您有其他问题、请在下周中旬回复。

    谢谢、此致、
    Vamsi

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    非常感谢您的早期回复、如果需要任何澄清、我将仔细查看此文档、并将返回。

    是否有用于 USB 闪存编程的示例项目?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    此外、请提供一些文档和启用 USB 的示例详细信息  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Diji、

    从上述应用手册中获取的以下快照显示了示例项目的路径。  请仔细阅读。

    谢谢、此致、

    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:目标"全部"不会由于错误而重新生成。

    ****构建完成****

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    另外、请将 hex2000.exe 的下载链接发送给我。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    另外、请告诉我启动引脚配置?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Diji、  

    看起来 shared_Boot.c 在编译时遇到问题。 按照控制台输出中的建议、请尝试将编译器版本更新为最新可用版本、并查看这是否可以解决问题。  

    hex2000.exe 文件是 TI 提供的整体编译器工具集的一部分。 编译器内的路径为 compiler\ti-cgt-C2000_xx.x.x\bin

    对于引导引脚配置、您是否询问如何将其配置为 USB 引导? F2837xD TRM 的"引导"一章详细介绍了如何配置引导模式和引导引脚、这是一个很好的开始位置。  

    谢谢、  

    Anu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢您的早期回复我检查了 TRM、但我真的很困惑、因为我们需要将 BMMODE 寄存器设置为0x0C、所以我不知道如何操作、 此外、明确地说、对于 USB 模式、应该为 GPIO72和 GPI084的值指定什么值、如果您也能提供这些详细信息、我将不胜感激。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、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 实用程序

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Diji、  

    我将请引导加载程序和 OTP 编程专家进行评论。 通用流程看起来正确、将器件设置为 USB 引导模式、使用 ROM 中的 USB 引导加载程序将闪存内核下载到 RAM、以及使用闪存内核将映像写入闪存。  

    谢谢、  

    Anu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    好的、请尽快帮我完成最终的硬件 PCB 设计、我们使用 TMS320F28377和 Sitara 处理器的产品已经进入市场、需要尽快为产品提供这一新功能。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Diji、  

    我已要求专家们发表意见,因为美国本周的感恩节,请在下星期二之前作出答复。  

    谢谢、  

    Anu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Vamsi、

    在成功更新构建后、谢谢

    Dijith P

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Anu:

    谢谢、我们将等到硬件设计完成。

    DIJITH P

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢您的耐心等待。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好,Anu,

    如果我今天能得到答复,那将是很好的

    Dijith P

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Dijith、

    在 ROM USB 引导加载程序中、通过将 USBGPCS 寄存器设置为0x3将 USB 设置为器件模式。 有关硬件 连接 、请参阅 \c2000Ware\boards\controlCARD 中提供的控制卡原理图

    谢谢、此致、

    Pawan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、Pawan 感谢您在硬件方面的帮助、我仍然不清楚  

    如何写入 BOOTCTRL 寄存器 OTP 而不是 EMU、我想直接尝试。

    2.应写入什么值来启用 USB 引导加载程序。

    请在这方面帮助我

    DIJITH P

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    对于 USB 引导模式、我应该写入0X0C5A 吗?   以及如何写入 BOOTCTRL 寄存器?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、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

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、Pawan、

    感谢您的回复。

    YA 向  BOOTCTRL OTP 写入0x00000C5A 是第一步、我无法继续、因此请尽快为我提供支持。

    谢谢、此致  

    DIJITH P

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 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

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Vivek、

    感谢您的支持、如果我成功、我会尝试并告诉您。

    DIJITH P

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Vivek、

    对于 USB 选项、我将此文件保存为 CPU1。我所做的更改是 BOOTCTRL?这里需要进行的任何其他更改?

    TRM 假设不允许使用 USB 引导 CPU2、那么该 UI 中 BOOTCTRL 中的选择应该是什么?我可以保留默认闪存、还是应该将其更改为 USB?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    CPU2引导通过 IPC 引导命令完成、因此没有 OTP 设置。 OTP 引导设置仅适用于 CPU1。

    此致、

    Vivek Singh

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、如何变容 OTP 值? 我刷新 了 BOOTCTRL 选择 USB 引导模式并重新启动、但遗憾的是、未检测到 USB

    在 TRM 中、假定如果在 ROM 中引导、将显示 USB 引导加载程序无法识别的器件、并且我需要从实用程序文件夹 C2000安装驱动程序。

    但 PC 中未显示无法识别的设备? 如何验证从 ROM USB 引导 LODER 引导?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是的、感谢您现在能够看到 USB 引导加载程序、现在让我闪存应用程序看到将很快更新。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好,Vivek/Anu/Vamshi

    我尝试运行演示应用程序时遇到以下错误

    请告诉我如何使用 Windows10操作系统和 C2000Ware_4_00_00_00解决此问题

    DIJITH P

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    现在工作正常、需要检查定制的.out 文件将更新

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    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>

    这是我得到的日志

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我运行该命令、

    usb_flash_programr.exe F2837xD_usb_flash_kernels_cpu01.dat alphaCellCounterCPU1.dat

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我将请 USB 闪存编程器专家进行评论。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好

    感谢您的所有支持、现在我能够刷写 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