can't program S32 bootLoader example for mpc5748G

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

can't program S32 bootLoader example for mpc5748G

3,673 Views
dany_amsalem
Contributor II

Hi

this topic has many info in the web yet  nothing help me to overcome this issue.

I'm using the DEV-KIT of mpc5748G chip and working on the bootLoader example, My first basic thing to do is to load this project RBF file into target and without any success.

i'm using the DEBUG-OPENSDA-E200_Pemicro_v110.SDA in  target (according to others answer in the web).

trying to drag & drop RBF file into target during bootLader mode doesn't work as well 

Any idea what i'm missing ? is it S32 IDE issue or PEmicro driver/app ?

Thanks in advance

dumping below S32 Console prompts

Connection from "127.0.0.1" via 127.0.0.1. Connection from port "53451" to 7224
Copyright 2018 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.8.3.201812312131\win32\pegdbserver_power_console -device=MPC5748G -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -speed=5000 -port=´

CMD>RE

Initializing.
MPC574xC Device detected.
Target has been RESET and is active.
CMD>CM C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.8.3.201812312131\win32\gdi\P&E\nxp_mpc5748g_1x32x1520k_cflash.pcp

Initializing.
MPC574xC Device detected.
Initialized.

;version 1.05, 06/26/2017, Copyright P&E Microcomputer Systems, www.pemicro.com [5748G_6080k]

;device NXP, MPC5748G, 1x32x1520k, desc=CFlash

;begin_cs device=$00F90000, length=$005F0000, ram=$40000000

Loading programming algorithm ...

WARNING - Selected .PCP file has been modified. CRC16 = $5A63
Done.
Programming sequency is : erase, blank check, program, and verify {default}
CMD>VC
Verifying object file CRC-16 to device ranges ...
Error - no valid data in range of module.
CMD>EM

Erasing.
Module has been erased.
CMD>PM

Programming.
Processing Object File Data ...

No data to program.

.
Error during programming.
Error Programming flash of device
Error occured during Flash programming.

Starting reset script (C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.8.3.201812312131\win32\gdi\P&E\s32e200_mpc574xg.mac) ...
REM This script is compatible with MPC574xG devices.
REM Clean GPRs to remove residual data after using algorithm

Reset script (C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.8.3.201812312131\win32\gdi\P&E\s32e200_mpc574xg.mac) completed.

MPC574xG Device detected.
PE-ERROR: Error downloading to the device.
Disconnected from "127.0.0.1" via 127.0.0.1
Target Disconnected.

0 Kudos
Reply
6 Replies

2,968 Views
曹培亮
Contributor II

I am using Rappid BL Tool software to upgrade MPC5777C through serial port. I have been upgraded successfully, but I cannot start it and it stays in the bootloader  

0 Kudos
Reply

3,274 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

I figured out that you are using wrong programming algorithm. RappID bootloader is located in hsmcode flash part. You need to use alternative algorithm:

pastedImage_1.png

.pcp files are by default located in 

c:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.8.3.201812312131\win32\gdi\P&E\

folder. 

Hope it helps. 

Jiri 

0 Kudos
Reply

3,275 Views
dany_amsalem
Contributor II

Hi Jiri

you are great!

it works.

Thanks allot

Dany

0 Kudos
Reply

3,274 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

here is document related to RappID BL tool - https://community.nxp.com/docs/DOC-342287 

It is for MPC5744p, but principle is the same. 

Hope it helps. 

Jiri 

0 Kudos
Reply

3,274 Views
dany_amsalem
Contributor II

Hi Jiri

unfortunately, it doesn't work. I have used the attached project (hello world...) and nothing, loading process at console showed nothing.

trying with RappID BL tool results the same (communication timeout).

any idea ?

some questions:

1. Is there a way to validate that RappID BL tool is working and all drivers are OK ?

2. Do you have bootLoader 5748G project that works ?

3. Would you link me the right RappID BL tool, (i found several of them) which one is suitable for the mpc5748G ?

Best Regards

Dany

0 Kudos
Reply

3,274 Views
dany_amsalem
Contributor II

Hi Jiri

Is it possible to convert RBF file into ELF file format ?

Dany

0 Kudos
Reply