jtag_device 5 0x1 0x1f 0x1e
jtag_nsrst_delay 200
jtag_ntrst_delay 200
-target xscale little reset_init 0 pxa255
+
+target create target0 xscale -endian little -chain-position 0 -variant pxa255
+[new_target_name] configure -event reset-init { script event/pxa255_reset.script }
+
reset_config trst_and_srst
-run_and_halt_time 0 30
-target_script 0 reset event/pxa255_reset.script
+
#xscale debug_handler 0 0xFFFF0800 # debug handler base address