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.

TMS320F280041C: CAN 总线 IAP 升级问题

Part Number: TMS320F280041C
Other Parts Discussed in Thread: C2000WARE

工程师你们好,我在对TMS320F280041C进行测试can升级,遇到了两个问题

第一个问题:参照TMS320F28004x Flash API文档,在使用flash擦除写入的过程中需要对程序进行“Jump to RAM and call the Flash API functions”,这一步具体该如何操作呢?

第二个问题:应该如何从boot跳转到bin文件烧录进去的的sector呢

  • 1、Jump to RAM and call the Flash API functions其实就是将FlashAPI复制到ram运行,因为函数的特性要求这个函数必须在ram中运行,所以会有这样的说明。

    其后的Example_CallFlashAPI();就是call the Flash API function。

    而#pragma CODE_SECTION(Example_CallFlashAPI, ramFuncSection);配合前面的memcpy函数,就是执行的Jump to RAM。

    2、这个我建议你参考例程的做法,但是目前还没开发基于can的二次bootloader例程,你可以参考基于sci的:C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f28004x\examples\flash

  • 你好,针对第一个问题  我并没有看到对应的memcpy函数  这个函数出现的位置能劳烦您给给我指正一下吗

  • 在Device_init();函数中