Hello NXP
Here am with the S32K148 EVB, and am looking for bootloader base project to update application software and the communication is over the CAN.
Is their any example available as a base project to start. please help me on this
Solved! Go to Solution.
Hi,
we just found out that the s-record parser can fail in case of unaligned s-records:
Could you check if this is the reason? Could you compare the content of flash with s-record file when it is loaded by the bootloader?
Regards,
Lukas
@lukaszadrapa @nxp Can you please provide few pointers here?
Flashing via the above procedure was successful, but then after the jump to application, it results is bus fault and hardfault.
When the application alone is flashed directly via debugger, there seems to be no issue and it works.
Hi,
we just found out that the s-record parser can fail in case of unaligned s-records:
Could you check if this is the reason? Could you compare the content of flash with s-record file when it is loaded by the bootloader?
Regards,
Lukas
Hi,
currently there are following resources for S32K1 family of devices:
AN12218 - UART bootloader:
https://www.nxp.com/docs/en/application-note/AN12218.pdf
https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip
AN12323 - CAN bootloader:
https://www.nxp.com/docs/en/application-note/AN12323.pdf
https://www.nxp.com/docs/en/application-note-software/AN12323SW.zip
Demo of Unified bootloader stack based on UDS and CAN/LIN TP protocol
Hope this helps.
Regards,
Lukas
Hello @lukaszadrapa
Thanks for the reply .
Here am experimenting with AN12218 - UART bootloader , after loading the Example_app.srec file using java, application is not running successfully.
On attaching debugger on run time seen is getting stuck default ISR (Hard fault). seen PC loaded with 0x1450.