**** BEGIN LOGGING AT Mon Feb 15 02:59:57 2010 **** ENDING LOGGING AT Mon Feb 15 12:02:31 2010 **** BEGIN LOGGING AT Mon Feb 15 12:02:51 2010 Feb 15 14:59:06 hello Feb 15 14:59:14 'im a beginner with openocd Feb 15 14:59:32 i'm trying to use a jtagkey-tiny with a at91eb40a clone from embest Feb 15 14:59:42 so i'm using the following script Feb 15 15:00:12 source [find /home/kartoch/works/embedded/tools/local-openocd/share/openocd/scripts/interface/jtagkey-tiny.cfg] Feb 15 15:00:13 telnet_port 4444 Feb 15 15:00:15 gdb_port 3333 Feb 15 15:00:16 source [find /home/kartoch/works/embedded/tools/local-openocd/share/openocd/scripts/board/at91eb40a.cfg] Feb 15 15:00:51 ./openocd -f ../../config-openocd/jtagkey-tiny_at91_eb40a-2.cfg Feb 15 15:00:52 Open On-Chip Debugger 0.4.0-rc1 (2010-02-05-16:32) Feb 15 15:00:54 For bug reports, read Feb 15 15:00:55 http://openocd.berlios.de/doc/doxygen/bugs.html Feb 15 15:00:57 srst_only srst_pulls_trst srst_gates_jtag srst_open_drain Feb 15 15:00:58 fast memory access is enabled Feb 15 15:01:00 dcc downloads are enabled Feb 15 15:01:02 16000 kHz Feb 15 15:01:03 Launching httpd server on port 8888 Feb 15 15:01:05 Info : device: 4 "2232C" Feb 15 15:01:06 Info : deviceID: 67358712 Feb 15 15:01:08 Info : SerialNumber: T1SYDDJ8 A Feb 15 15:01:10 Info : Description: Amontec JTAGkey A Feb 15 15:01:11 Info : clock speed 6000 kHz Feb 15 15:01:13 Info : JTAG tap: at91eb40a.cpu tap/device found: 0x1f0f0f0f (mfg: 0x787, part: 0xf0f0, ver: 0x1) Feb 15 15:01:14 Info : Embedded ICE version 1 Feb 15 15:01:16 Info : at91eb40a.cpu: hardware has 2 breakpoints or watchpoints Feb 15 15:01:17 and... nothing Feb 15 15:01:19 i can't connect to my board Feb 15 15:01:23 when i use insight on localhost:3333 Feb 15 15:01:32 i've the following error messages from openocd: Feb 15 15:02:47 Warn : target not halted Feb 15 15:02:49 Warn : target at91eb40a.cpu is not halted Feb 15 15:02:51 Error: can't add breakpoint: target running Feb 15 15:02:52 Warn : target at91eb40a.cpu is not halted Feb 15 15:02:54 Error: can't add breakpoint: target running Feb 15 15:02:56 Warn : target at91eb40a.cpu is not halted Feb 15 15:02:58 Error: can't add breakpoint: target running Feb 15 15:02:59 Warn : target not halted Feb 15 15:03:01 how can i add stop the target ? Feb 15 15:03:02 (sorry for the flood) Feb 15 15:12:48 humm obviously the problem is than the script reset-init at the end of the file at91e40a.cfg is not called, i'm mean this one: Feb 15 15:12:51 $_TARGETNAME configure -event reset-init { Feb 15 15:12:53 puts "Running reset init script for AT91EB40A" Feb 15 15:12:55 # Reset script for AT91EB40a Feb 15 15:12:56 reg cpsr 0x000000D3 Feb 15 15:12:58 mww 0xFFE00020 0x1 Feb 15 15:12:59 mww 0xFFE00024 0x00000000 Feb 15 15:13:01 mww 0xFFE00000 0x01002539 Feb 15 15:13:02 mww 0xFFFFF124 0xFFFFFFFF Feb 15 15:13:04 mww 0xffff0010 0x100 Feb 15 15:13:05 mww 0xffff0034 0x100 Feb 15 15:13:07 } Feb 15 15:13:14 so i've to connect to a telnet console for the command "reset int" Feb 15 15:13:19 "reset init" Feb 15 15:13:34 is there any way to execute this script at the start of openocd ? Feb 15 15:45:25 kartoch: by looking into olimex_sam9_l9260.cfg you should consider the event reset-start Feb 16 00:22:58 Is it possible to flash using harrydairymaid using a usb --> parallel (db 25) cable --> jtag? **** ENDING LOGGING AT Tue Feb 16 02:59:57 2010