How to flash S32 project for MPC564xL using Rappid bootloader?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to flash S32 project for MPC564xL using Rappid bootloader?

821件の閲覧回数
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 返信

606件の閲覧回数
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.