S32K148EVB-Q176 bootloader

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K148EVB-Q176 bootloader

Jump to solution
619 Views
Saitej
Contributor IV

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 

0 Kudos
1 Solution
556 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

we just found out that the s-record parser can fail in case of unaligned s-records:

https://community.nxp.com/t5/S32-Design-Studio/Why-does-the-AN12218SW-bootloader-fails-to-parse-the-...

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

View solution in original post

4 Replies
573 Views
Vijay_Arwapally
Contributor III

@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.

0 Kudos
557 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

we just found out that the s-record parser can fail in case of unaligned s-records:

https://community.nxp.com/t5/S32-Design-Studio/Why-does-the-AN12218SW-bootloader-fails-to-parse-the-...

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

604 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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

https://www.nxp.com/downloads/en/snippets-boot-code-headers-monitors/unified_bootloader_framework.zi...

Hope this helps.

Regards,

Lukas

 

0 Kudos
586 Views
Saitej
Contributor IV

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.

Saitej_0-1621343825826.png

 

 

0 Kudos