RT10xx Debug when booting a plain load image

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RT10xx Debug when booting a plain load image

166 次查看
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 回复

151 次查看
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 项奖励