S32K148EVB-Q176 bootloader

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

S32K148EVB-Q176 bootloader

跳至解决方案
1,315 次查看
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 项奖励
1 解答
1,252 次查看
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

在原帖中查看解决方案

4 回复数
1,269 次查看
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 项奖励
1,253 次查看
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

1,300 次查看
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 项奖励
1,282 次查看
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 项奖励