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.
 
 
 
 
 
 

16 lines
629 B

  1. #LPC-2129 CPU
  2. #use combined on interfaces or targets that can’t set TRST/SRST separately
  3. reset_config trst_and_srst srst_pulls_trst
  4. #jtag scan chain
  5. #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
  6. jtag_device 4 0x1 0xf 0xe
  7. #target configuration
  8. daemon_startup reset
  9. #target <type> <startup mode>
  10. #target arm7tdmi <endianness> <reset mode> <chainpos> <variant>
  11. target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4
  12. run_and_halt_time 0 30
  13. working_area 0 0x40000000 0x4000 nobackup
  14. #flash bank <driver> <base> <size> <chip_width> <bus_width>
  15. flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14765 calc_checksum