MPC5748G bootloader in Greenhills sw (MULTI)

cancel
Showing results for 
Search instead for 
Did you mean: 

MPC5748G bootloader in Greenhills sw (MULTI)

238 Views
Contributor I

I use Green Hills' MULTI and MPC5748G (kit that has motherboard and daughterboard)

First Question.

I import the bootloader project that I downloaded in NXP web.

pastedImage_1.png

I build the project and I debug it.

(Connect to a Target was Freescale MPC5748G Demo Board with Simulator for Power Architecture [simppc])

I thought that option for simulation

however, in debugger windows, there are error

pastedImage_2.png

error: [PC=0xf8c02c] Invalid memory write to address 0xfffc0244

what was that?

how can i fix it?

Second Question

Also, I use want to use Lauterbach Trace32 In-Circuit debugger.

(because Serial Bootloader for MPC5748G by: Lukas Zadrapa file said they use it)

However I cannot find Trace32 option in Connect to a Target 

pastedImage_2.png

how can i use Trace32?

Labels (1)
0 Kudos
1 Reply

3 Views
NXP TechSupport
NXP TechSupport

Hi,

1. This is a question rather for Green Hills. I have never used their simulator and I guess it does not support everything. The e_stw instruction stores a word to peripheral register - and it seems that such operation is not supported.

2. I used Trace32 independently of Green Hills' MULTI  IDE. Only elf file generated by the IDE is needed and you can write own script for Trace32 which will program it to flash and then do whatever you want. Example of such scripts can be found in this project, for example:

https://community.nxp.com/docs/DOC-341822 

Regards,

Lukas

0 Kudos