My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

arduino_due_x_sram.gdb 677B

12345678910111213141516171819202122232425262728293031323334353637
  1. #*******************************************************
  2. #
  3. # Connect to J-Link and debug application in sram on SAM3X.
  4. #
  5. # Define 'reset' command
  6. define reset
  7. # Connect to the J-Link gdb server
  8. target remote localhost:2331
  9. # Reset the chip to get to a known state
  10. monitor reset
  11. # Select flash device
  12. monitor flash device = AT91SAM3X8E
  13. # Enable flash download and flash breakpoints
  14. monitor flash download = 1
  15. # Load the program
  16. load
  17. # Reset peripheral (RSTC_CR)
  18. set *0x400e1a00 = 0xA5000004
  19. # Initialize PC and stack pointer
  20. mon reg sp=(0x20000000)
  21. #set *0x20000004 = *0x20000004 & 0xFFFFFFFE
  22. mon reg pc=(0x20000004)
  23. info reg
  24. break main
  25. # End of 'reset' command
  26. end