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.

调用flash API时Source not found

Other Parts Discussed in Thread: TMS320F28235, CONTROLSUITE

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

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

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

  • 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

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

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

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

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

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

  • 补充

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

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