Debug Tools GDBDDD on Andes platform Andes Technology
Debug Tools (GDB+DDD) on Andes platform Andes Technology WWW. ANDESTECH. COM
Outline v Debug environment setup v Debug tools working procedure v Andes GDB Introduction v DDD + Andes GDB Introduction v Demo Page 2 ANDES Confidential
Debug environment setup v EVB board v AICE v PC- windows XP § Iceman § UART § network v PC- linux § nds 32 -elf-gdb § DDD § network Page 3 PC linux network EVB board UART JTAG PC XP ANDES Confidential USB AICE
Debug tools working procedure 1. 2. 3. 4. 5. 6. 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 7. Debugging Page 4 ANDES Confidential
Step 3: Execute “iceman” on XP Page 5 ANDES Confidential
Step 3: con’t Page 6 ANDES Confidential
Step 4: Check XP (iceman) IP Page 7 ANDES Confidential
Step 5: Compiler source code and generate ELF image Page 8 ANDES Confidential
Step 6: Start DDD+ Andes GDB link to iceman through network Page 9 ANDES Confidential
Step 7: Debugging Page 10 ANDES Confidential
GDB Introduction 1 Page 11 ANDES Confidential
GDB Introduction 2 Page 12 ANDES Confidential
DDD + Andes GDB Introduction – command mode #ddd –debugger nds 32 le-elf-gdb build/d 2 PC Page 13 ANDES Confidential
Load ELF file to EVB board Page 14 ANDES Confidential
Debugger -> /breakpoint/step run/check variable Page 15 ANDES Confidential
UART result Page 16 ANDES Confidential
DDD + Andes GDB Introduction – script mode #ddd –debugger nds 32 -elf-gdb -x script. txt build/d 2 script. txt: target remote 10. 0. 2. 132: 1234 load Page 17 ANDES Confidential
Lab: Debugging Demo v Networking Demo program § § § § Boot up EVB Connection ICE and PC Execute iceman Start DDD, nds 32 le-elf-gdb, ELF image gdb link to iceman via networking load image Debug example: APP_Init Page 18 ANDES Confidential
End of The File Page 19 ANDES Confidential
- Slides: 19