MPC8313E Debuger in ROM

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

MPC8313E Debuger in ROM

884 Views
kala
Contributor I

    I have a MPC8313ERDB and USBTAP,i want to debug the project wizard made in ROM VERSION mode,but the README say:smileysurprised:nce the image is in ROM, you can debug it with the ROM Version
target. but,i download the .elf file to which addr? 0xFFF00000? the xor flash has 8MB Memory,and RCW write to 0xFE000000,there have many range ,it can't work in my board.who can give me a particular way to debug the project.

    thanks!

Labels (1)
0 Kudos
2 Replies

233 Views
ronco
NXP Employee
NXP Employee

You can indeed debug the ROM VERSION of your project but the code must be programmed into flash memory first.  Use the CodeWarrior Flash Programmer to program your ROM.elf file into flash.  Refer to the CodeWarrior documentation for working with the Flash Programmer.  Then once you get your code into flash you should be able to debug the ROM VERSION of your project.

 

Regards,

Ron

0 Kudos

233 Views
J2MEJediMaster
Specialist I

If you have built the program using the CodeWarrior New Project wizard and chose the ROM build target, the proper addresses for download into non-volatile memory should be preset. If the processor supports hardware breakpoints, you can set set a few breakpoints in the firmware memory and the processor will trap on them.

 

---Tom

0 Kudos