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.

RM57l在将F021库函数拷贝到ram中执行时,在main函数中调用拷贝到ram中的函数时,程序卡在b dataEntry处

Other Parts Discussed in Thread: RM44L520

我在使用rm57l8xx的芯片时,需要做BootLoader启动,在根据官网下载的例子在将函数拷贝到ram中时,在main函数中调用拷贝到ram中的函数时,程序在执行_c_int00函数中的 _copyAPI2RAM_()函数后,跳转到b   dataEntry处,在将main函数中调用拷贝到ram中的函数注释掉后,程序不会卡死在b   dataEntry。请问有谁遇到过这种问题么?

在bl_flash.c文件中随便写了个函数testFunc(),将bl_flash.c文件拷贝到内存中去后,在main函数中调用testFunc()函数,程序就会在执行_copyAPI2RAM_后,跳转到b dataEntry。我在rm44L520上用该方法制作BootLoader是没问题的。