我280025芯片工程的FlashDriver使用了F021_API_F28002x_FPU32.lib库。但是在调试过程中发现,我增加了部分代码,导致Flash初始化时会失败,
在初始化运行到该处 oReturnCheck = Fapi_setActiveFlashBank(Fapi_FlashBank0);
就会跳到下图去

希望大家帮忙解答一下,谢谢
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.
我280025芯片工程的FlashDriver使用了F021_API_F28002x_FPU32.lib库。但是在调试过程中发现,我增加了部分代码,导致Flash初始化时会失败,
在初始化运行到该处 oReturnCheck = Fapi_setActiveFlashBank(Fapi_FlashBank0);
就会跳到下图去

希望大家帮忙解答一下,谢谢
你好,你的工程在没添加其他代码之前能正常运行吗?
然后你的工程中有将flashAPI函数移植到ram运行吗?flashAPI函数必须通过memcpy函数复制到ram下运行