Loading .elf generated with diab and then using codewarrior

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

Loading .elf generated with diab and then using codewarrior

1,619 次查看
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
标签 (1)
标记 (1)
0 项奖励
回复
1 回复

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