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.
 
 
 
 
 
 

12 lines
457 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 arm7tdmi little 0 arm7tdmi-s_r4
  8. working_area 0 0x40000000 0x4000 nobackup
  9. #flash bank <driver> <base> <size> <chip_width> <bus_width>
  10. flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14765 calc_checksum