Unable to Step Through Function in RAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to Step Through Function in RAM

ソリューションへジャンプ
2,282件の閲覧回数
chadgraham
Contributor V

Hello,

In my project, I am writing a custom Bootloader using a RT1060EVK and have the major portion of the code setup as XIP.  I am trying use the program to erase/program/check a different section of the onboard QSPI device so I can "update" the device.  I have taken steps to place the entire QSPI access function class in the SDRAM and I am getting a hard fault (Invalid State) when I execute my code.

To debug this, I would like to step through the code to see where the actual crash occurs.  Unfortunately, I can only run the program to the first breakpoint and then the program will progress no further.  (I have to move the breakpoint and restart the application to "step" to the next line.

Does anyone have any suggestions on what needs to change to enable the IDE to step through functions in RAM?

0 件の賞賛
返信
1 解決策
2,268件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @chadgraham ,

You mean you want to debug the code in SDRAM? You can try to add '--cachelib libm7_cache.so' into RUN->Debug configure->project name-> LinkServer Debugger->Additinal options.

 

Regards,

Jing

元の投稿で解決策を見る

1 返信
2,269件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @chadgraham ,

You mean you want to debug the code in SDRAM? You can try to add '--cachelib libm7_cache.so' into RUN->Debug configure->project name-> LinkServer Debugger->Additinal options.

 

Regards,

Jing