How to flash S32 project for MPC564xL using Rappid bootloader?

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

How to flash S32 project for MPC564xL using Rappid bootloader?

1,042 Views
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 Kudos
Reply
1 Reply

827 Views
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.