Quantcast
Channel: Hercules™︎ 安全微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 775

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

$
0
0

我在使用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是没问题的。


Viewing all articles
Browse latest Browse all 775

Trending Articles