Reset required to load the .axf file for SPI application

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

Reset required to load the .axf file for SPI application

154 次查看
Jeevan
Contributor IV

Hi team,

We are using imxrt1176 controller for our custom board and using the same SPI NOR flash as used in eval board for loading the code.

But when we load the SPI code for communication with SPI related adc and dac which is using LPSPI interface into our custom board, we need to reset or power cycle the board to load the SPI code.

Can you please suggest what may be the issue and help us fix this issue

0 项奖励
回复
2 回复数

118 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

If I understood correctly, you want to update the image on the go correct? Then it will be helpful to use the flash remapping so you can write and switch to the image.
How to Use Flash Remapping Function (nxp.com)

Best regards,
Omar

0 项奖励
回复

77 次查看
Jeevan
Contributor IV

In simple words it is like in the normal LED blinking code we are able to debug line by line using mcuxpresso and pe micro debugger.

But the same line by line debugging if we do for any of the LPSPI code, we are not seeing that changed made in code during debugging. Only after pressing reset or after power cycling the board we are able to see changes implemented in the LPSPI code

0 项奖励
回复