Download presentation
Presentation is loading. Please wait.
1
Debug Tools (GDB+DDD) on Andes platform
Andes Technology
2
Outline Debug environment setup Debug tools working procedure
Andes GDB Introduction DDD + Andes GDB Introduction Demo ANDES Confidential
3
Debug environment setup
EVB board AICE PC- windows XP Iceman UART network PC- linux nds32-elf-gdb DDD EVB board PC linux network UART JTAG PC XP USB AICE ANDES Confidential
4
Debug tools working procedure
Debug environment setup is ready EVB board boot up Execute “iceman” on XP Check XP IP Compiler source code and generate ELF image Start DDD+ Andes GDB link to iceman through network Debugging ANDES Confidential
5
Step 3: Execute “iceman” on XP
ANDES Confidential
6
Step 3: con’t ANDES Confidential
7
Step 4: Check XP (iceman) IP
ANDES Confidential
8
Step 5: Compiler source code and generate ELF image
ANDES Confidential
9
Step 6: Start DDD+ Andes GDB link to iceman through network
ANDES Confidential
10
Step 7: Debugging ANDES Confidential
11
GDB Introduction 1 ANDES Confidential
12
GDB Introduction 2 ANDES Confidential
13
DDD + Andes GDB Introduction – command mode
#ddd –debugger nds32le-elf-gdb build/d2 PC ANDES Confidential
14
Load ELF file to EVB board
ANDES Confidential
15
Debugger -> /breakpoint/step run/check variable
ANDES Confidential
16
UART result ANDES Confidential
17
DDD + Andes GDB Introduction – script mode
#ddd –debugger nds32-elf-gdb -x script.txt build/d2 script.txt: target remote :1234 load ANDES Confidential
18
Lab: Debugging Demo Networking Demo program Boot up EVB
Connection ICE and PC Execute iceman Start DDD, nds32le-elf-gdb, ELF image gdb link to iceman via networking load image Debug example: APP_Init ANDES Confidential
19
End of The File ANDES Confidential
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.