How to flash S32 project for MPC564xL using Rappid bootloader?

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

How to flash S32 project for MPC564xL using Rappid bootloader?

1,039 次查看
deepak313
Contributor I

I created a project for MPC5643L in S32 design studio v1.2 and built and created a .srec file.

I do not want to use JTAG to flash.

Using Rappid bootloader utility, I can flash this .srec using serial port, but the code does not seem to run.

(I have another .mot file that I can flash using serial port and Rappid and it runs, so I am sure that the hardware and Rappid connection/configuration are okay).

I believe the .srec file may be missing some information.

How can I configure S32 options to generate a .srec to be able to flash using Rappid bootloader?

0 项奖励
回复
1 回复

824 次查看
deepak313
Contributor I

Problem solved:

1. Make sure Build Configuration uses 56xx_flash.ld in the Linker settings

2. After flashing the .srec using Rappid bootloader, switch FAB to 0 and then reset, the code will run.

Same for flashing using JTAG, after disconnecting JTAG switch FAB to 0 and reset or power cycle.