Reset required to load the .axf file for SPI application

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Reset required to load the .axf file for SPI application

712 Views
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 Kudos
Reply
2 Replies

676 Views
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 Kudos
Reply

635 Views
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 Kudos
Reply