[BACK]Return to openocd_debug.conf CVS log [TXT][DIR] Up to [local] / funnyos / arch / sam7s64

File: [local] / funnyos / arch / sam7s64 / openocd_debug.conf (download)

Revision 1.1, Thu Nov 8 22:26:11 2007 UTC (16 years, 5 months ago) by init
Branch: MAIN
CVS Tags: HEAD

add my configuration files for openocd so we can maintain them here;
anyway i will use it anytime to test real hardware

#
# $Id: openocd_debug.conf,v 1.1 2007/11/08 22:26:11 init Exp $
#
#define our ports
telnet_port 4444
gdb_port 3333

#commands specific to the Amontec JTAGKey
interface parport
parport_port 0x378
parport_cable wiggler
jtag_speed 0
#jtag_nsrst_delay 200
#jtag_ntrst_delay 200

#reset_config <signals> [combination] [trst_type] [srst_type]
#reset_config srst_only srst_pulls_trst
reset_config srst_only

#jtag_device <IR length> <IR capture> <IR mask> <IDCODE instruction>
jtag_device 4 0x1 0xf 0xe

#daemon_startup <'attach'|'reset'>
daemon_startup reset

#target <type> <endianess> <reset_mode> <jtag#> [variant]
#target arm7tdmi little run_and_init 0 arm7tdmi_r4

target arm7tdmi little run_and_init 0 arm7tdmi_r4

#run_and_halt_time <target#> <time_in_ms>
run_and_halt_time 0 50

# commands below are specific to AT91sam7 Flash Programming
# ---------------------------------------------------------

#target_script specifies the flash programming script file
#target_script 0 reset ./openocd_flash.scr

#working_area <target#> <address> <size> <'backup'|'nobackup'>
working_area 0 0x00100000 0x00010000 nobackup

#flash bank at91sam7 0 0 0 0 <target#>
flash bank at91sam7 0 0 0 0 0