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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

459 次查看
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 项奖励
1 回复

371 次查看
petervlna
NXP TechSupport
NXP TechSupport

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 项奖励