Rick Altherr <kc8apf@kc8apf.net> - update syntax
[fw/openocd] / src / target / target / pxa255.cfg
index 50d0bafc1e072876a1a7f3c035cb59b4c10d4329..c5a27be0deb5f6f08cff81da48c1d15cfe844bc1 100644 (file)
@@ -1,11 +1,13 @@
 jtag_device 5 0x1 0x1f 0x1e
 jtag_nsrst_delay 200
 jtag_ntrst_delay 200
-target xscale little 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