尊敬的工程师您好
我将nandwriter例程移植到sys/bios上时,编译通过后,加载程序的.out文件,然后run,发现程序会退出,在代码中断点调试后发现,是由于hAsyncMemInfo->regs寄存器读不出值来,导致我程序退出,如图所示,在memory Browser中查看寄存器的值,发现值异常,针对这个情况请问有什么解决方案吗?

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.
尊敬的工程师您好
我将nandwriter例程移植到sys/bios上时,编译通过后,加载程序的.out文件,然后run,发现程序会退出,在代码中断点调试后发现,是由于hAsyncMemInfo->regs寄存器读不出值来,导致我程序退出,如图所示,在memory Browser中查看寄存器的值,发现值异常,针对这个情况请问有什么解决方案吗?

请问是参考的哪个例程修改的?是无法查看emif的寄存器了吗?ccs->register中能看到相关的寄存器吗?
参照的OMAP-L138_FlashAndBootUtils_2_40例程进行修改,ccs->register中能看到EMIFA0ARM寄存器,值为0x40000205
没有移植之前能看到,而且去读取寄存器的值也正常,移植以后读取寄存器就错误
参考以下帖子倒数第二条回复,可能时mmu的问题。
https://e2e.ti.com/support/legacy_forums/embedded/tirtos/f/ti-rtos-forum-read-only-archived/412314/omapl138-sysbios-arm-system-memory-access