RT10xx Debug when booting a plain load image

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

RT10xx Debug when booting a plain load image

427件の閲覧回数
dinocroc123
Contributor II

I have an application that requires booting from the qspi to SDRAM. I got that to work by setting the plain load checkbox in mcuexpresso, making the SDRAM start at 0x80002000 and modifying the Boot Data structure (BOOT_DATA_T in the fsl_flexspi_nor_boot.c file) to have a start location of 0x80002000, so that the image can be loaded straight to sdram including all the headers. This works fine and i can use the debugger in attach only mode. However it is annoying to first load the image into flash with the GUI Flash tool in the debug configuration. When i debug directly i get execution at some bogus address, i think it's because the debugger tries to stop early or something. How would i set this up so that i can have a one click workflow?

Thanks in advance,

Konstantin

0 件の賞賛
返信
1 返信

412件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @dinocroc123 

I understand that you want to simply click on the debug button to program and debug a NON-XIP image ( executed in SDRAM ) Therefore, I suggest to check the answer in this thread : RT1170 debugging when application is built for SDRAM .

 I hope this helps,

Diego

0 件の賞賛
返信