Andes Workshop

It is currently Fri Nov 22, 2019 3:09 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Debug a *.adx file in Andesight (without project)
PostPosted: Wed Aug 07, 2013 6:32 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
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
1.gif [ 15.6 KiB | Viewed 3124 times ]


4. Project “aaa” will look as following picture in AndeSight .
Attachment:
2.gif
2.gif [ 16.71 KiB | Viewed 3124 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
3.gif [ 55.04 KiB | Viewed 3124 times ]


14. Press “Step Into” (F5) or “Step Over” (F6) to debug.


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group