1 / 19

Debug Tools (GDB+DDD) on Andes platform

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. Debug environment setup. EVB board AICE PC- windows XP Iceman UART network PC- linux nds32-elf-gdb

jbandy
Download Presentation

Debug Tools (GDB+DDD) on Andes platform

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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 • network 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 10.0.2.132: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

More Related