Debug Tools (GDB+DDD) on Andes platform Andes Technology
Outline Debug environment setup Debug tools working procedure Andes GDB Introduction DDD + Andes GDB Introduction Demo ANDES Confidential
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
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
Step 3: Execute “iceman” on XP ANDES Confidential
Step 3: con’t ANDES Confidential
Step 4: Check XP (iceman) IP ANDES Confidential
Step 5: Compiler source code and generate ELF image ANDES Confidential
Step 6: Start DDD+ Andes GDB link to iceman through network ANDES Confidential
Step 7: Debugging ANDES Confidential
GDB Introduction 1 ANDES Confidential
GDB Introduction 2 ANDES Confidential
DDD + Andes GDB Introduction – command mode #ddd –debugger nds32le-elf-gdb build/d2 PC ANDES Confidential
Load ELF file to EVB board ANDES Confidential
Debugger -> /breakpoint/step run/check variable ANDES Confidential
UART result ANDES Confidential
DDD + Andes GDB Introduction – script mode #ddd –debugger nds32-elf-gdb -x script.txt build/d2 script.txt: target remote 10.0.2.132:1234 load ANDES Confidential
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
End of The File ANDES Confidential