Andes Workshop http://forum.andestech.com/ |
|
Debug a *.adx file in Andesight (without project) http://forum.andestech.com/viewtopic.php?f=23&t=726 |
Page 1 of 1 |
Author: | cindy [ Wed Aug 07, 2013 6:32 pm ] |
Post subject: | Debug a *.adx file in Andesight (without project) |
Debug a *.adx file in Andesight (without project) I have tested to debug “a.out” binary in AndeSight, and I can debug it. Following are my steps: 1. Create a new C, AICE, N968A, and empty project named “aaa”. 2. Open the aaa directory, and new a "Debug" folder in "aaa". 3. Copy “a.out” into “Debug” folder. Attachment: 1.gif [ 15.6 KiB | Viewed 7494 times ] 4. Project “aaa” will look as following picture in AndeSight . Attachment: 2.gif [ 16.71 KiB | Viewed 7494 times ] 5. Power-on XC5 board, and press “PWR ON” button. 6. Connect AICE USB cable. 7. Right click on “a.out”, and select “Debug As”à”Debug Configurations…”. 8. Delete all sub-items in “C/C++ Application” by seleted it and pressed Delete key. 9. Double click ”C/C++ Application” to create new one for "a.out. 10. Select “Debugger” tab, and change “Stop on startup at:” from “main” to “_start”. 11. Press “Apply” and “Debug” button. 12. It will switch to “Debug” perspective, and stop at “_start”. 13. Press “Instruction Stepping Mode” button for debugging ASM code. Attachment: 3.gif [ 55.04 KiB | Viewed 7494 times ] 14. Press “Step Into” (F5) or “Step Over” (F6) to debug. |
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |