design and debug the boot and app program In IC5000 debugger loaded with ELF file built by GHS compiler?

cancel
Showing results for 
Search instead for 
Did you mean: 

design and debug the boot and app program In IC5000 debugger loaded with ELF file built by GHS compiler?

260 Views
yuzhuyang
Contributor I

Dear Experts,

has anyone designed the jump logic from bootlaoder to application  for MPC5748G?

My  question is how to design and debug the boot and app program  In IC5000 debugger loaded with ELF file built by GHS  compiler?

which link file and script shall i use for that?

thanks very much for your reply.

regards,

Yang

0 Kudos
1 Reply

172 Views
petervlna
NXP Employee
NXP Employee

Hi,

My  question is how to design and debug the boot and app program  In IC5000 debugger loaded with ELF file built by GHS  compiler?

There is attached application note to this example software. As you can see at chapter 6. User interface guide:

Once the bootloader is started, following welcome screen is sent via serial interface to terminal emulation program.

To design the application program you can rewrite AppExecute() funciton from main.c file

To debug it you just simply load core0.elf to micro via your debugger or attach to micro where it is already loaded and load source files.

which link file and script shall i use for that?

Script is provided by iSystem. This is application independent.

You will use core0.elf file (linker file is standalone_romrun.ld)

regards,

Peter

0 Kudos