You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
583 B

  1. echo Script to load ledtest on iMX31PDK.\n
  2. # Note: you need to startup openocd with "-f board/imx31pdk.cfg"
  3. # in order to it initialize RAM memory.
  4. # SETUP GDB :
  5. #
  6. # Common gdb setup for ARM CPUs
  7. set complaints 1
  8. set output-radix 10
  9. set input-radix 10
  10. set prompt (arm-gdb)
  11. set endian little
  12. dir .
  13. # CONNECT TO TARGET :
  14. target remote 127.0.0.1:3333
  15. # LOAD IMAGE :
  16. #
  17. # Load the program executable called "u-boot"
  18. load test.elf
  19. # Load the symbols for the program.
  20. symbol-file test.elf
  21. # RUN TO MAIN :
  22. #
  23. # Set a breakpoint at main().
  24. #b reset
  25. b main
  26. # Run to the breakpoint.
  27. c