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.

TMS320F28035: f2803x_can_flash_kernel例程疑问

Part Number: TMS320F28035


准备将例程RAM_cmd改用烧写入FLASH_cmd,怎么

1。对于2803x_FlashAPI_BootROMSymbols.lib和Flash2803x_API_V100.lib,这两个库只需要二选一随便一个就行是不?唯一区别就是Flash2803x_API_V100.lib需要copy到ram?但是怎么选呢?如果用BootROMSymbols只需要复制到工程文件就行?属性设置里面.lib库需要如果操作吗?

2。工程用烧写进Flash的话,例程里的Exit_Boot.asm在哪运行(flash还是ram)?cmd文件怎么放?.InitBoot        : > RAML0L1,   PAGE = 0就行?

  • 1、一般都是使用Flash2803x_API_V100.lib,用这个库的话跟其他芯片一样,需要将API程序复制到ram中运行。

    而F28035跟其他芯片不一样的是,F2803x API是嵌入到设备的引导 ROM 中的,所以也可以直接包含2803x_FlashAPI_BootROMSymbols.lib之后就可以在rom中执行 Flash_erase, Flash_program and Flash_verify函数了。

    2、如上所述,需要复制到ram中运行。.InitBoot我认为不需要改变。

  • 我新建了一个工程,默认是用的编译器带的运行程序boot28.asm,例程用的Exit_Boot.asm,这个怎么替换掉?我通过Properties->Build->C2000linker->AdvancedOptions->SymbolManagem->specify program entry point for the output module 添加_InitBoot后,跑ram可以跳转,弄到FLASH里面通过自定义通讯看到BOOT程序可以起来,但是跳转运行就死了。挂仿真器啥都不干又能跳转成功。。。这应该怎么添加Exit_boot.asm...