URL
https://opencores.org/ocsvn/phr/phr/trunk
Subversion Repositories phr
Compare Revisions
- This comparison shows the changes necessary to convert path
/phr/trunk
- from Rev 69 to Rev 70
- ↔ Reverse comparison
Rev 69 → Rev 70
/codigo/jtag/openocd/test/core.cfg~
0,0 → 1,10
# [fthl.cfg] OpenOCD configuration script for Emtech's "FTHL" |
# (FT2232H-based, Joern Kaipf's OOCDLink compatible, USB-JTAG I/F) |
# 2012-07 Sebastian Garcia |
# |
interface ft2232 |
ft2232_device_desc "Dual RS232-HS" |
ft2232_layout oocdlink |
ft2232_vid_pid 0x0403 0x6010 |
reset_config srst_only |
adapter_khz 10 |
/codigo/jtag/openocd/test/core.cfg
0,0 → 1,10
# [fthl.cfg] OpenOCD configuration script for Emtech's "FTHL" |
# (FT2232H-based, Joern Kaipf's OOCDLink compatible, USB-JTAG I/F) |
# 2012-07 Sebastian Garcia |
# |
interface ft2232 |
ft2232_device_desc "OOCDLink" |
ft2232_layout oocdlink |
ft2232_vid_pid 0x0403 0x6010 |
reset_config srst_only |
adapter_khz 6000 |
/codigo/jtag/openocd/test/out.log
0,0 → 1,68
Debug: 15 3 configuration.c:86 find_file(): found core.cfg |
Debug: 16 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232 |
Debug: 17 4 command.c:145 script_debug(): command - interface ocd_interface ft2232 |
Debug: 19 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_device_desc'... |
Debug: 20 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_serial'... |
Debug: 21 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_layout'... |
Debug: 22 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_vid_pid'... |
Debug: 23 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_latency'... |
Info : 24 4 transport.c:118 allow_transports(): only one transport option; autoselect 'jtag' |
Debug: 25 4 command.c:369 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'... |
Debug: 26 4 command.c:369 register_command_handler(): registering 'ocd_jtag_rclk'... |
Debug: 27 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... |
Debug: 28 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'... |
Debug: 29 4 command.c:369 register_command_handler(): registering 'ocd_scan_chain'... |
Debug: 30 4 command.c:369 register_command_handler(): registering 'ocd_jtag_reset'... |
Debug: 31 4 command.c:369 register_command_handler(): registering 'ocd_runtest'... |
Debug: 32 4 command.c:369 register_command_handler(): registering 'ocd_irscan'... |
Debug: 33 4 command.c:369 register_command_handler(): registering 'ocd_verify_ircapture'... |
Debug: 34 4 command.c:369 register_command_handler(): registering 'ocd_verify_jtag'... |
Debug: 35 4 command.c:369 register_command_handler(): registering 'ocd_tms_sequence'... |
Debug: 36 4 command.c:369 register_command_handler(): registering 'ocd_wait_srst_deassert'... |
Debug: 37 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 38 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 39 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 40 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 41 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 42 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 43 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 44 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 45 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 46 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 47 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 48 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 49 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... |
Debug: 50 4 command.c:369 register_command_handler(): registering 'ocd_svf'... |
Debug: 51 4 command.c:369 register_command_handler(): registering 'ocd_xsvf'... |
Debug: 52 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc OOCDLink |
Debug: 53 4 command.c:145 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc OOCDLink |
Debug: 55 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout oocdlink |
Debug: 56 5 command.c:145 script_debug(): command - ft2232_layout ocd_ft2232_layout oocdlink |
Debug: 58 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x0403 0x6010 |
Debug: 59 5 command.c:145 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x0403 0x6010 |
Debug: 61 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only |
Debug: 62 5 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_only |
User : 64 5 command.c:549 command_print(): srst_only separate srst_gates_jtag srst_open_drain |
Debug: 65 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 6000 |
Debug: 66 5 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 6000 |
Debug: 68 5 core.c:1625 jtag_config_khz(): handle jtag khz |
Debug: 69 5 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value |
Debug: 70 5 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value |
User : 71 5 command.c:549 command_print(): adapter speed: 6000 kHz |
Debug: 72 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_gdb_memory_map enable |
Debug: 73 5 command.c:145 script_debug(): command - gdb_memory_map ocd_gdb_memory_map enable |
Debug: 75 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_gdb_flash_program enable |
Debug: 76 5 command.c:145 script_debug(): command - gdb_flash_program ocd_gdb_flash_program enable |
Debug: 78 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init |
Debug: 79 5 command.c:145 script_debug(): command - init ocd_init |
Debug: 81 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init |
Debug: 82 5 command.c:145 script_debug(): command - ocd_target ocd_target init |
Debug: 84 5 target.c:1183 handle_target_init_command(): Initializing targets... |
Debug: 85 5 ft2232.c:2337 ft2232_init(): ft2232 interface using shortest path jtag state transitions |
Debug: 86 5 ft2232.c:2224 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'oocdlink' layout (0403:6010) |
Error: 87 214 ft2232.c:2243 ft2232_init_libftdi(): unable to open ftdi device: device not found |
Debug: 88 214 command.c:631 run_command(): Command failed with error code -100 |
User : 89 214 command.c:669 command_run_line(): Runtime Error: test.cfg:31: |
in procedure 'script' |
at file "embedded:startup.tcl", line 58 |
in procedure 'init' called at file "test.cfg", line 31 |
/codigo/jtag/openocd/test/test.cfg~
0,0 → 1,36
# [openocd.cfg] OpenOCD configuration script |
# 2012-07 Sebastian Garcia |
# Hardware: |
# - FTHL USB-JTAG dongle |
# - LPCXpresso LPC1768 (target side) board |
# |
|
# ("3": max. verbosity level) |
debug_level 3 |
log_output out.log |
|
# ----------------------- |
# 1. Dongle configuration |
# |
source [find fthl_luis.cfg] |
|
# --------------------------------- |
# 2. Target processor configuration |
# |
set CHIPNAME lpc1768 |
# CCLK: "LPCXpresso LPC1768" default SoC System Clock: 100MHz |
set CCLK 100000 |
# CPUTAPID: JTAG IDCODE register |
set CPUTAPID 0x4ba00477 |
source [find target/lpc1768.cfg] |
|
# --------------------------------- |
# 3. Other configs |
# |
# Backup: remember default values |
#telnet_port 4444 |
#gdb_port 3333 |
|
gdb_memory_map enable |
gdb_flash_program enable |
init |
/codigo/jtag/openocd/test/test.cfg
0,0 → 1,31
# OpenOCD configuration script |
# 2013-03-25 lguanuco |
# Hardware: |
# OOCD-Link-s |
|
# ("3": max. verbosity level) |
debug_level 3 |
# (set log file) |
log_output out.log |
|
# ----------------------- |
# 1. Dongle configuration |
# |
source [find core.cfg] |
|
# --------------------------------- |
# 2. Target processor configuration |
set CCLK 6000 |
#CPUTAPID: JTAG IDCODE register |
set CPUTAPID 0x4ba00477 |
|
# --------------------------------- |
# 3. Other configs |
# |
# Backup: remember default values |
#telnet_port 4444 |
#gdb_port 3333 |
|
gdb_memory_map enable |
gdb_flash_program enable |
init |
/codigo/jtag/openocd/oocdlink.cfg
0,0 → 1,12
# |
# Joern Kaipf's OOCDLink |
# |
# http://www.joernonline.de/contrexx2/cms/index.php?page=126 |
# |
|
interface ft2232 |
ft2232_device_desc "OOCDLink" |
ft2232_layout oocdlink |
ft2232_vid_pid 0x0403 0xbaf8 |
adapter_khz 5 |
|
/codigo/jtag/openocd/q.log
0,0 → 1,16
This is TeX, Version 3.1415926 (TeX Live 2009/Debian) (format=tex 2012.4.26) 12 MAR 2013 00:48 |
**exit |
(/usr/share/texmf-texlive/tex/latex/tools/q.tex |
! Interruption. |
l.2 |
%% This is file `q.tex', |
? q |
OK, entering \batchmode... |
File ignored |
) |
! Emergency stop. |
<*> exit |
|
*** (job aborted, no legal \end found) |
|
No pages of output. |
/codigo/jtag/openocd/oocdlink_from_joern.cfg
0,0 → 1,33
#daemon configuration |
telnet_port 4444 |
gdb_port 3333 |
|
#interface |
interface ft2232 |
ft2232_device_desc "OOCDLink" |
ft2232_layout oocdlink |
#ft2232_vid_pid 0x0403 0xBAF8 |
ft2232_vid_pid 0x0403 0x6001 |
#FIXME jtag_speed 0 |
adapter_khz 5 |
|
#use combined on interfaces or targets that can't set TRST/SRST separately |
reset_config trst_and_srst srst_pulls_trst |
|
#jtag scan chain |
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) |
#FIXME jtag_device 4 0x1 0xf 0xe |
|
#target configuration |
#FIXME daemon_startup reset |
#target <type> <startup mode> |
#target arm7tdmi <reset mode> <chainpos> <endianness> <variant> |
#FIXME target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4 |
#target_script 0 reset sam7_remap.script |
#FIXME run_and_halt_time 0 30 |
|
#flash configuration |
#flash bank at91sam7 <base> <size> <chip_width> <bus_width> <target#> |
#FIXME flash bank at91sam7 0x100000 0x10000 0 0 0 |
#flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v1 0 14765 calc_checksum |
#flash bank cfi 0x80000000 0x400000 2 2 0 0x40000000 0x4000 |
/codigo/jtag/openocd/lse/openocd-scripts.tar.gz
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
codigo/jtag/openocd/lse/openocd-scripts.tar.gz
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: codigo/jtag/openocd/lse/openocd.sh
===================================================================
--- codigo/jtag/openocd/lse/openocd.sh (nonexistent)
+++ codigo/jtag/openocd/lse/openocd.sh (revision 70)
@@ -0,0 +1,5 @@
+#!/bin/bash
+CFGNAME=`basename $1`
+RUNCMD="openocd -f $CFGNAME"
+cd `dirname $1`
+xterm -fg green -bg black -geometry 200x40-0-0 -e $RUNCMD &
codigo/jtag/openocd/lse/openocd.sh
Property changes :
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: codigo/jtag/openocd/lse/openocd.cfg~
===================================================================
--- codigo/jtag/openocd/lse/openocd.cfg~ (nonexistent)
+++ codigo/jtag/openocd/lse/openocd.cfg~ (revision 70)
@@ -0,0 +1,35 @@
+# [openocd.cfg] OpenOCD configuration script
+# 2012-07 Sebastian Garcia
+# Hardware:
+# - FTHL USB-JTAG dongle
+# - LPCXpresso LPC1768 (target side) board
+#
+
+# ("3": max. verbosity level)
+debug_level 3
+
+# -----------------------
+# 1. Dongle configuration
+#
+source [find fthl.cfg]
+
+# ---------------------------------
+# 2. Target processor configuration
+#
+set CHIPNAME lpc1768
+# CCLK: "LPCXpresso LPC1768" default SoC System Clock: 100MHz
+set CCLK 100000
+# CPUTAPID: JTAG IDCODE register
+set CPUTAPID 0x4ba00477
+source [find target/lpc1768.cfg]
+
+# ---------------------------------
+# 3. Other configs
+#
+# Backup: remember default values
+#telnet_port 4444
+#gdb_port 3333
+
+gdb_memory_map enable
+gdb_flash_program enable
+init
\ No newline at end of file
codigo/jtag/openocd/lse/openocd.cfg~
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: codigo/jtag/openocd/lse/openocd.cfg
===================================================================
--- codigo/jtag/openocd/lse/openocd.cfg (nonexistent)
+++ codigo/jtag/openocd/lse/openocd.cfg (revision 70)
@@ -0,0 +1,36 @@
+# [openocd.cfg] OpenOCD configuration script
+# 2012-07 Sebastian Garcia
+# Hardware:
+# - FTHL USB-JTAG dongle
+# - LPCXpresso LPC1768 (target side) board
+#
+
+# ("3": max. verbosity level)
+debug_level 3
+log_output out.log
+
+# -----------------------
+# 1. Dongle configuration
+#
+source [find fthl_luis.cfg]
+
+# ---------------------------------
+# 2. Target processor configuration
+#
+set CHIPNAME lpc1768
+# CCLK: "LPCXpresso LPC1768" default SoC System Clock: 100MHz
+set CCLK 100000
+# CPUTAPID: JTAG IDCODE register
+set CPUTAPID 0x4ba00477
+source [find target/lpc1768.cfg]
+
+# ---------------------------------
+# 3. Other configs
+#
+# Backup: remember default values
+#telnet_port 4444
+#gdb_port 3333
+
+gdb_memory_map enable
+gdb_flash_program enable
+init
\ No newline at end of file
codigo/jtag/openocd/lse/openocd.cfg
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: codigo/jtag/openocd/lse/fthl_luis.cfg~
===================================================================
--- codigo/jtag/openocd/lse/fthl_luis.cfg~ (nonexistent)
+++ codigo/jtag/openocd/lse/fthl_luis.cfg~ (revision 70)
@@ -0,0 +1,10 @@
+# [fthl.cfg] OpenOCD configuration script for Emtech's "FTHL"
+# (FT2232H-based, Joern Kaipf's OOCDLink compatible, USB-JTAG I/F)
+# 2012-07 Sebastian Garcia
+#
+interface ft2232
+ft2232_device_desc "Dual RS232-HS"
+ft2232_layout oocdlink
+ft2232_vid_pid 0x0403 0x6010
+reset_config srst_only
+adapter_khz 10
\ No newline at end of file
Index: codigo/jtag/openocd/lse/out.log
===================================================================
--- codigo/jtag/openocd/lse/out.log (nonexistent)
+++ codigo/jtag/openocd/lse/out.log (revision 70)
@@ -0,0 +1,231 @@
+Debug: 15 3 configuration.c:86 find_file(): found fthl_luis.cfg
+Debug: 16 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232
+Debug: 17 4 command.c:145 script_debug(): command - interface ocd_interface ft2232
+Debug: 19 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_device_desc'...
+Debug: 20 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_serial'...
+Debug: 21 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_layout'...
+Debug: 22 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_vid_pid'...
+Debug: 23 4 command.c:369 register_command_handler(): registering 'ocd_ft2232_latency'...
+Info : 24 4 transport.c:118 allow_transports(): only one transport option; autoselect 'jtag'
+Debug: 25 4 command.c:369 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'...
+Debug: 26 4 command.c:369 register_command_handler(): registering 'ocd_jtag_rclk'...
+Debug: 27 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_delay'...
+Debug: 28 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'...
+Debug: 29 4 command.c:369 register_command_handler(): registering 'ocd_scan_chain'...
+Debug: 30 4 command.c:369 register_command_handler(): registering 'ocd_jtag_reset'...
+Debug: 31 4 command.c:369 register_command_handler(): registering 'ocd_runtest'...
+Debug: 32 4 command.c:369 register_command_handler(): registering 'ocd_irscan'...
+Debug: 33 4 command.c:369 register_command_handler(): registering 'ocd_verify_ircapture'...
+Debug: 34 4 command.c:369 register_command_handler(): registering 'ocd_verify_jtag'...
+Debug: 35 4 command.c:369 register_command_handler(): registering 'ocd_tms_sequence'...
+Debug: 36 4 command.c:369 register_command_handler(): registering 'ocd_wait_srst_deassert'...
+Debug: 37 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 38 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 39 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 40 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 41 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 42 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 43 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 44 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 45 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 46 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 47 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 48 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 49 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 50 4 command.c:369 register_command_handler(): registering 'ocd_svf'...
+Debug: 51 4 command.c:369 register_command_handler(): registering 'ocd_xsvf'...
+Debug: 52 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc OOCDLink
+Debug: 53 4 command.c:145 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc OOCDLink
+Debug: 55 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout oocdlink
+Debug: 56 5 command.c:145 script_debug(): command - ft2232_layout ocd_ft2232_layout oocdlink
+Debug: 58 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x0403 0xbaf8
+Debug: 59 5 command.c:145 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x0403 0xbaf8
+Debug: 61 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only
+Debug: 62 5 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_only
+User : 64 5 command.c:549 command_print(): srst_only separate srst_gates_jtag srst_open_drain
+Debug: 65 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 6
+Debug: 66 5 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 6
+Debug: 68 5 core.c:1625 jtag_config_khz(): handle jtag khz
+Debug: 69 5 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
+Debug: 70 5 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
+User : 71 5 command.c:549 command_print(): adapter speed: 6 kHz
+Debug: 72 5 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/target/lpc1768.cfg
+Debug: 73 5 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/target/lpc17xx.cfg
+Debug: 74 5 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/target/swj-dp.tcl
+Debug: 75 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 200
+Debug: 76 5 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 200
+User : 78 5 command.c:549 command_print(): adapter_nsrst_delay: 200
+Debug: 79 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 200
+Debug: 80 6 command.c:145 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 200
+User : 82 6 command.c:549 command_print(): jtag_ntrst_delay: 200
+Debug: 83 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
+Debug: 84 6 command.c:145 script_debug(): command - ocd_transport ocd_transport select
+Debug: 85 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap lpc1768 cpu -irlen 4 -expected-id 0x4ba00477
+Debug: 86 6 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap lpc1768 cpu -irlen 4 -expected-id 0x4ba00477
+Debug: 87 6 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: lpc1768, Tap: cpu, Dotted: lpc1768.cpu, 4 params
+Debug: 88 6 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen
+Debug: 89 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
+Debug: 90 6 core.c:1323 jtag_tap_init(): Created Tap: lpc1768.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0x3
+Debug: 91 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create lpc1768.cpu cortex_m3 -chain-position lpc1768.cpu
+Debug: 92 6 command.c:145 script_debug(): command - ocd_target ocd_target create lpc1768.cpu cortex_m3 -chain-position lpc1768.cpu
+Debug: 93 6 target.c:1620 target_free_all_working_areas_restore(): freeing all working areas
+Debug: 94 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
+Debug: 95 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
+Debug: 96 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
+Debug: 97 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
+Debug: 98 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
+Debug: 99 6 command.c:369 register_command_handler(): registering 'ocd_arm'...
+Debug: 100 6 command.c:369 register_command_handler(): registering 'ocd_dap'...
+Debug: 101 6 command.c:369 register_command_handler(): registering 'ocd_dap'...
+Debug: 102 6 command.c:369 register_command_handler(): registering 'ocd_dap'...
+Debug: 103 6 command.c:369 register_command_handler(): registering 'ocd_dap'...
+Debug: 104 6 command.c:369 register_command_handler(): registering 'ocd_dap'...
+Debug: 105 6 command.c:369 register_command_handler(): registering 'ocd_cortex_m3'...
+Debug: 106 6 command.c:369 register_command_handler(): registering 'ocd_cortex_m3'...
+Debug: 107 6 command.c:369 register_command_handler(): registering 'ocd_cortex_m3'...
+Debug: 108 6 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 109 6 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 110 6 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 111 6 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 112 6 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 113 6 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 114 6 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 115 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 116 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 117 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 118 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 119 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 120 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 121 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 122 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 123 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 124 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 125 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 126 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 127 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 128 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 129 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 130 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 131 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 132 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 133 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 134 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 135 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 136 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 137 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 138 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 139 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 140 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 141 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 142 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 143 7 command.c:369 register_command_handler(): registering 'ocd_lpc1768.cpu'...
+Debug: 144 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc1768.cpu configure -work-area-phys 0x10000000 -work-area-size 0x8000
+Debug: 145 7 command.c:145 script_debug(): command - ocd_lpc1768.cpu ocd_lpc1768.cpu configure -work-area-phys 0x10000000 -work-area-size 0x8000
+Debug: 146 7 target.c:1620 target_free_all_working_areas_restore(): freeing all working areas
+Debug: 147 7 target.c:1620 target_free_all_working_areas_restore(): freeing all working areas
+Debug: 148 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank lpc1768.flash lpc2000 0x0 0x80000 0 0 lpc1768.cpu lpc1700 4000 calc_checksum
+Debug: 149 7 command.c:145 script_debug(): command - ocd_flash ocd_flash bank lpc1768.flash lpc2000 0x0 0x80000 0 0 lpc1768.cpu lpc1700 4000 calc_checksum
+Debug: 151 7 command.c:369 register_command_handler(): registering 'ocd_lpc2000'...
+Debug: 152 7 tcl.c:781 handle_flash_bank_command(): 'lpc2000' driver usage field missing
+Debug: 153 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 10
+Debug: 154 8 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 10
+Debug: 156 8 core.c:1625 jtag_config_khz(): handle jtag khz
+Debug: 157 8 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
+Debug: 158 8 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
+User : 159 8 command.c:549 command_print(): adapter speed: 10 kHz
+Debug: 160 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc1768.cpu configure -event reset-init
+ # Do not remap 0x0000-0x0020 to anything but the flash (i.e. select
+ # "User Flash Mode" where interrupt vectors are _not_ remapped,
+ # and reside in flash instead).
+ #
+ # See Table 612. Memory Mapping Control register (MEMMAP - 0x400F C040) bit description
+ # Bit Symbol Value Description Reset
+ # value
+ # 0 MAP Memory map control. 0
+ # 0 Boot mode. A portion of the Boot ROM is mapped to address 0.
+ # 1 User mode. The on-chip Flash memory is mapped to address 0.
+ # 31:1 - Reserved. The value read from a reserved bit is not defined. NA
+ #
+ # http://ics.nxp.com/support/documents/microcontrollers/?scope=LPC1768&type=user
+
+ mww 0x400FC040 0x01
+
+Debug: 161 8 command.c:145 script_debug(): command - ocd_lpc1768.cpu ocd_lpc1768.cpu configure -event reset-init
+ # Do not remap 0x0000-0x0020 to anything but the flash (i.e. select
+ # "User Flash Mode" where interrupt vectors are _not_ remapped,
+ # and reside in flash instead).
+ #
+ # See Table 612. Memory Mapping Control register (MEMMAP - 0x400F C040) bit description
+ # Bit Symbol Value Description Reset
+ # value
+ # 0 MAP Memory map control. 0
+ # 0 Boot mode. A portion of the Boot ROM is mapped to address 0.
+ # 1 User mode. The on-chip Flash memory is mapped to address 0.
+ # 31:1 - Reserved. The value read from a reserved bit is not defined. NA
+ #
+ # http://ics.nxp.com/support/documents/microcontrollers/?scope=LPC1768&type=user
+
+ mww 0x400FC040 0x01
+
+Debug: 162 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cortex_m3 reset_config vectreset
+Debug: 163 8 command.c:145 script_debug(): command - ocd_cortex_m3 ocd_cortex_m3 reset_config vectreset
+User : 165 8 command.c:549 command_print(): cortex_m3 reset_config vectreset
+Debug: 166 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_gdb_memory_map enable
+Debug: 167 8 command.c:145 script_debug(): command - gdb_memory_map ocd_gdb_memory_map enable
+Debug: 169 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_gdb_flash_program enable
+Debug: 170 8 command.c:145 script_debug(): command - gdb_flash_program ocd_gdb_flash_program enable
+Debug: 172 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
+Debug: 173 8 command.c:145 script_debug(): command - init ocd_init
+Debug: 175 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
+Debug: 176 8 command.c:145 script_debug(): command - ocd_target ocd_target init
+Debug: 178 8 target.c:1183 handle_target_init_command(): Initializing targets...
+Debug: 179 8 command.c:369 register_command_handler(): registering 'ocd_target_request'...
+Debug: 180 8 command.c:369 register_command_handler(): registering 'ocd_trace'...
+Debug: 181 8 command.c:369 register_command_handler(): registering 'ocd_trace'...
+Debug: 182 8 command.c:369 register_command_handler(): registering 'ocd_fast_load_image'...
+Debug: 183 8 command.c:369 register_command_handler(): registering 'ocd_fast_load'...
+Debug: 184 8 command.c:369 register_command_handler(): registering 'ocd_profile'...
+Debug: 185 8 command.c:369 register_command_handler(): registering 'ocd_virt2phys'...
+Debug: 186 8 command.c:369 register_command_handler(): registering 'ocd_reg'...
+Debug: 187 8 command.c:369 register_command_handler(): registering 'ocd_poll'...
+Debug: 188 9 command.c:369 register_command_handler(): registering 'ocd_wait_halt'...
+Debug: 189 9 command.c:369 register_command_handler(): registering 'ocd_halt'...
+Debug: 190 9 command.c:369 register_command_handler(): registering 'ocd_resume'...
+Debug: 191 9 command.c:369 register_command_handler(): registering 'ocd_reset'...
+Debug: 192 9 command.c:369 register_command_handler(): registering 'ocd_soft_reset_halt'...
+Debug: 193 9 command.c:369 register_command_handler(): registering 'ocd_step'...
+Debug: 194 9 command.c:369 register_command_handler(): registering 'ocd_mdw'...
+Debug: 195 9 command.c:369 register_command_handler(): registering 'ocd_mdh'...
+Debug: 196 9 command.c:369 register_command_handler(): registering 'ocd_mdb'...
+Debug: 197 9 command.c:369 register_command_handler(): registering 'ocd_mww'...
+Debug: 198 9 command.c:369 register_command_handler(): registering 'ocd_mwh'...
+Debug: 199 9 command.c:369 register_command_handler(): registering 'ocd_mwb'...
+Debug: 200 9 command.c:369 register_command_handler(): registering 'ocd_bp'...
+Debug: 201 9 command.c:369 register_command_handler(): registering 'ocd_rbp'...
+Debug: 202 9 command.c:369 register_command_handler(): registering 'ocd_wp'...
+Debug: 203 9 command.c:369 register_command_handler(): registering 'ocd_rwp'...
+Debug: 204 9 command.c:369 register_command_handler(): registering 'ocd_load_image'...
+Debug: 205 9 command.c:369 register_command_handler(): registering 'ocd_dump_image'...
+Debug: 206 9 command.c:369 register_command_handler(): registering 'ocd_verify_image'...
+Debug: 207 9 command.c:369 register_command_handler(): registering 'ocd_test_image'...
+Debug: 208 9 command.c:369 register_command_handler(): registering 'ocd_reset_nag'...
+Debug: 209 9 command.c:369 register_command_handler(): registering 'ocd_ps'...
+Debug: 210 9 ft2232.c:2337 ft2232_init(): ft2232 interface using shortest path jtag state transitions
+Debug: 211 9 ft2232.c:2224 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'oocdlink' layout (0403:baf8)
+Error: 212 219 ft2232.c:2243 ft2232_init_libftdi(): unable to open ftdi device: device not found
+Debug: 213 219 command.c:631 run_command(): Command failed with error code -100
+User : 214 219 command.c:669 command_run_line(): Runtime Error: openocd.cfg:36:
+in procedure 'script'
+at file "embedded:startup.tcl", line 58
+in procedure 'init' called at file "openocd.cfg", line 36
+Debug: 215 219 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
+Debug: 216 219 command.c:145 script_debug(): command - init ocd_init
+Info : 218 4061 server.c:83 add_connection(): accepting 'telnet' connection from 4444
+Debug: 219 15658 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag init
+Debug: 220 15658 command.c:145 script_debug(): command - ocd_jtag ocd_jtag init
+Debug: 222 15658 tcl.c:828 handle_jtag_init_command(): Initializing jtag devices...
+Debug: 223 15658 ft2232.c:2337 ft2232_init(): ft2232 interface using shortest path jtag state transitions
+Debug: 224 15658 ft2232.c:2224 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'oocdlink' layout (0403:baf8)
+Error: 225 15870 ft2232.c:2243 ft2232_init_libftdi(): unable to open ftdi device: device not found
+Debug: 226 15870 command.c:631 run_command(): Command failed with error code -100
+User : 227 15870 command.c:669 command_run_line(): in procedure 'jtag'
Index: codigo/jtag/openocd/lse/fthl_luis.cfg
===================================================================
--- codigo/jtag/openocd/lse/fthl_luis.cfg (nonexistent)
+++ codigo/jtag/openocd/lse/fthl_luis.cfg (revision 70)
@@ -0,0 +1,11 @@
+# [fthl.cfg] OpenOCD configuration script for Emtech's "FTHL"
+# (FT2232H-based, Joern Kaipf's OOCDLink compatible, USB-JTAG I/F)
+# 2012-07 Sebastian Garcia
+#
+interface ft2232
+ft2232_device_desc "OOCDLink"
+ft2232_layout oocdlink
+ft2232_vid_pid 0x0403 0xbaf8
+reset_config srst_only
+adapter_khz 6
+
Index: codigo/jtag/openocd/lse/fthl.cfg
===================================================================
--- codigo/jtag/openocd/lse/fthl.cfg (nonexistent)
+++ codigo/jtag/openocd/lse/fthl.cfg (revision 70)
@@ -0,0 +1,10 @@
+# [fthl.cfg] OpenOCD configuration script for Emtech's "FTHL"
+# (FT2232H-based, Joern Kaipf's OOCDLink compatible, USB-JTAG I/F)
+# 2012-07 Sebastian Garcia
+#
+interface ft2232
+ft2232_device_desc "Dual RS232-HS"
+ft2232_layout oocdlink
+ft2232_vid_pid 0x0403 0x6010
+reset_config srst_only
+adapter_khz 10
\ No newline at end of file
codigo/jtag/openocd/lse/fthl.cfg
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: codigo/jtag/openocd/openocd_from_joern.log
===================================================================
--- codigo/jtag/openocd/openocd_from_joern.log (nonexistent)
+++ codigo/jtag/openocd/openocd_from_joern.log (revision 70)
@@ -0,0 +1,69 @@
+User : 12 3 command.c:549 command_print(): debug_level: 3
+Debug: 13 3 configuration.c:45 add_script_search_dir(): adding /root/.openocd
+Debug: 14 3 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/site
+Debug: 15 3 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/scripts
+Debug: 16 3 configuration.c:86 find_file(): found oocdlink_from_joern.cfg
+Debug: 17 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_telnet_port 4444
+Debug: 18 3 command.c:145 script_debug(): command - telnet_port ocd_telnet_port 4444
+Debug: 20 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_gdb_port 3333
+Debug: 21 3 command.c:145 script_debug(): command - gdb_port ocd_gdb_port 3333
+Debug: 23 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232
+Debug: 24 3 command.c:145 script_debug(): command - interface ocd_interface ft2232
+Debug: 26 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_device_desc'...
+Debug: 27 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_serial'...
+Debug: 28 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_layout'...
+Debug: 29 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_vid_pid'...
+Debug: 30 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_latency'...
+Info : 31 3 transport.c:118 allow_transports(): only one transport option; autoselect 'jtag'
+Debug: 32 4 command.c:369 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'...
+Debug: 33 4 command.c:369 register_command_handler(): registering 'ocd_jtag_rclk'...
+Debug: 34 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_delay'...
+Debug: 35 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'...
+Debug: 36 4 command.c:369 register_command_handler(): registering 'ocd_scan_chain'...
+Debug: 37 4 command.c:369 register_command_handler(): registering 'ocd_jtag_reset'...
+Debug: 38 4 command.c:369 register_command_handler(): registering 'ocd_runtest'...
+Debug: 39 4 command.c:369 register_command_handler(): registering 'ocd_irscan'...
+Debug: 40 4 command.c:369 register_command_handler(): registering 'ocd_verify_ircapture'...
+Debug: 41 4 command.c:369 register_command_handler(): registering 'ocd_verify_jtag'...
+Debug: 42 4 command.c:369 register_command_handler(): registering 'ocd_tms_sequence'...
+Debug: 43 4 command.c:369 register_command_handler(): registering 'ocd_wait_srst_deassert'...
+Debug: 44 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 45 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 46 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 47 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 48 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 49 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 50 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 51 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 52 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 53 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 54 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 55 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 56 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
+Debug: 57 4 command.c:369 register_command_handler(): registering 'ocd_svf'...
+Debug: 58 4 command.c:369 register_command_handler(): registering 'ocd_xsvf'...
+Debug: 59 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc OOCDLink
+Debug: 60 4 command.c:145 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc OOCDLink
+Debug: 62 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout oocdlink
+Debug: 63 4 command.c:145 script_debug(): command - ft2232_layout ocd_ft2232_layout oocdlink
+Debug: 65 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x0403 0x6001
+Debug: 66 4 command.c:145 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x0403 0x6001
+Debug: 68 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 5
+Debug: 69 5 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 5
+Debug: 71 5 core.c:1625 jtag_config_khz(): handle jtag khz
+Debug: 72 5 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
+Debug: 73 5 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
+User : 74 5 command.c:549 command_print(): adapter speed: 5 kHz
+Debug: 75 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config trst_and_srst srst_pulls_trst
+Debug: 76 5 command.c:145 script_debug(): command - reset_config ocd_reset_config trst_and_srst srst_pulls_trst
+User : 78 5 command.c:549 command_print(): trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain
+Debug: 79 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
+Debug: 80 5 command.c:145 script_debug(): command - init ocd_init
+Debug: 82 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
+Debug: 83 5 command.c:145 script_debug(): command - ocd_target ocd_target init
+Debug: 85 5 target.c:1183 handle_target_init_command(): Initializing targets...
+Debug: 86 5 ft2232.c:2337 ft2232_init(): ft2232 interface using shortest path jtag state transitions
+Debug: 87 5 ft2232.c:2224 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'oocdlink' layout (0403:6001)
+Error: 88 223 ft2232.c:2243 ft2232_init_libftdi(): unable to open ftdi device: device not found
+Debug: 89 223 command.c:631 run_command(): Command failed with error code -100
+User : 90 223 command.c:669 command_run_line(): in procedure 'init'
Index: codigo/jtag/openocd/oocdlink_from_joern.cfg~
===================================================================
--- codigo/jtag/openocd/oocdlink_from_joern.cfg~ (nonexistent)
+++ codigo/jtag/openocd/oocdlink_from_joern.cfg~ (revision 70)
@@ -0,0 +1,30 @@
+#daemon configuration
+telnet_port 4444
+gdb_port 3333
+
+#interface
+interface ft2232
+ft2232_device_desc "OOCDLink A"
+ft2232_layout oocdlink
+ft2232_vid_pid 0x0403 0xBAF8
+jtag_speed 0
+#use combined on interfaces or targets that can't set TRST/SRST separately
+reset_config trst_and_srst srst_pulls_trst
+
+#jtag scan chain
+#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
+jtag_device 4 0x1 0xf 0xe
+
+#target configuration
+daemon_startup reset
+#target
+#target arm7tdmi
+target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4
+#target_script 0 reset sam7_remap.script
+run_and_halt_time 0 30
+
+#flash configuration
+#flash bank at91sam7
+flash bank at91sam7 0x100000 0x10000 0 0 0
+#flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v1 0 14765 calc_checksum
+#flash bank cfi 0x80000000 0x400000 2 2 0 0x40000000 0x4000
\ No newline at end of file