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.

tms320f2806 Bootloader 例程

最近接到任务要给公司的一款基于2806开发的产品做一个bootloader. 但是一直没找到相关例程。从网上找了一个库文件Flash2806_API_V302.lib,发现每次调用擦除接口函数,返回值都是21。函数已经都拷贝到RAM运行,不知道还有什么原因会导致这个问题?谁能提供下官方的例程?

 

status = Flash_Erase(SECTORB, &FEraseStatus);