Loading .elf generated with diab and then using codewarrior

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

Loading .elf generated with diab and then using codewarrior

1,213 Views
klibusel
Contributor I
Hi,
 
I compile outside the IDE using diab compiler. I open the .elf and try to debug it. I debug->connect successfully. I do not see any button for loading software. I also tried to flash the image on to the MPC8360E-RDK. That failed for some reason. Is there any offset I need to mention?
 
Sampath
Labels (1)
0 Kudos
Reply
1 Reply

329 Views
CrasyCat
Specialist III
Hello
 
In order to be able to download and debug an existing executable file you need to tell the IDE
not to rebuild the application before debugging.
 
Look for FAQ-27444 for information on how to achieve that.
 
Next you need to create a project for the hardware you are targeting. This can be done easily just dragging the .elf file into the IDE.
Then you need to adjust the debugger settings for your own board.
Make sure the Remote connection is initialized properly.
Make sure the EPPC Debugger settings panel is set up appropriately.
 
Once this is done you can click on the debug icon in the .mcp window.
 
If you wish to program the flash you need to use the flash programmer.
Select Tools -> Flash Programmer to start it. 
 
CrasyCat
0 Kudos
Reply