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.
请问该芯片的bootloader在哪可以找到?
您是想做二次的boot吗? 我们有类似的文档,您可以看一下
https://www.tij.co.jp/jp/lit/an/spna199/spna199.pdf
在此,bl_main.c 是 The main control loop of the bootloader
我在LC4357的官网链接只看到了CAN bootloader,应该还有别的类似uart,spi那种bootloader吧?
LC4357也是可以参考LS的文档和工程的。
您可以参考之前的讨论和说明
https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/838842/tms570lc4357-uart-bootloader
函数 _c_int00 是C/C++ 程序的启动例程(也称为 boot routine)。它执行 C/C++ 程序初始化自身所需的所有步骤。
名称 _c_int00 意味着它是中断号 0、RESET 的中断处理程序,并且它设置了 C 环境。它的名称不必完全是 _c_int00,但默认情况下链接器将 _c_int00 设置为 C 程序的入口点。编译器的运行时支持库提供了 _c_int00 的默认实现。
启动例程负责执行以下操作:
应该是路径设置的问题,您需要根据您的路径修改下面的设置
另外需要注意lib的路径,附上lib
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/312/6254.F021_5F00_API_5F00_CortexR4_5F00_BE.lib
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/312/6012.F021_5F00_API_5F00_CortexR4_5F00_LE.lib
我这边电脑问题,没办法上传截图:
1.我现在的ORIGINAL_PROJECT_ROOT设置的是D:\SafetyMCU_Bootloader\SafetyMCU_Bootloader\TMS570LS31x\boot_uart; 这个路径也就是SW_ROOT。这个路径就是SafetyMCU_Bootloader.zip里面的bootloader_uart;
2.我现在遇到的编译问题是:
找不到"../bl_link.cmd", line 23: error #10008-D: cannot find file "F021_API_CortexR4_BE.lib";
error #10008-D: cannot find file "D:/SafetyMCU_Bootloader/SafetyMCU_Bootloader/lib/F021_API_CortexR4_BE.lib"
error #10056: symbol "Fapi_setupEepromSectorEnable" redefined: first defined in
"./Fapi_UserDefinedFunctions.obj"; redefined in
"..\Release\Fapi_UserDefinedFunctions.obj"
是不是我的F021_API的安装路径问题?我看了一下F021_API_CortexR4_BE.lib,这个lib在F021_API文件夹里面