TI中文支持网
TI专业的中文技术问题搜集分享网站

调用flash API时Source not found

如图,TMS320F28235调用FLASH API 时,运行到check PLL ststus时停止,报Source not found.

调用flash之前用看门狗做过非中断方式的复位 

不知道和这个问题有没有关系

Seven Han:

Don’t execute any interrupt service routines (ISRs) that can occur during an erase, program or depletion recovery API function from the flash or OTP memory blocks. Until the API function completes and exits the flash and OTP are not available for program execution or data storage.

The watchdog timer is disabled.

见数据手册:C:\ti\controlSUITE\libs\utilities\flash_api\2833x\28335\v210\doc

controlSUITE_Flash2833x_API_Readme

如图,TMS320F28235调用FLASH API 时,运行到check PLL ststus时停止,报Source not found.

调用flash之前用看门狗做过非中断方式的复位 

不知道和这个问题有没有关系

Duan Liu:

回复 Seven Han:

从寄存器看 看门狗中断应该是关闭的

现在现象是Flash_APIVersionHex;和Flash_Verify可以调用

但是调用Flash_Erase或者Flash_Program时就会卡住,暂停后出现提示“source not found”

Flash_Erase函数后面有 asm("    ESTOP0");,也不会运行到

哪位大侠遇到过这种情况,急求帮忙解答

如图,TMS320F28235调用FLASH API 时,运行到check PLL ststus时停止,报Source not found.

调用flash之前用看门狗做过非中断方式的复位 

不知道和这个问题有没有关系

Duan Liu:

回复 Duan Liu:

补充

cmd文件 程序等都是参考的examp

mammap如下图,RAM中看不到lib文件中具体的函数,不知道这样对不对,我看example中的mammap中能看到lib中的函数

赞(0)
未经允许不得转载:TI中文支持网 » 调用flash API时Source not found
分享到: 更多 (0)