Hi all,
It’s been a long morning already
Well, I restored my machine last night after a major dump (love windows), and I’m reinstalling the Yagardo toolchain.
BTW, the Yagardo thats on the ARM-USB-OCD cdrom is the same as whats on the website, just a FYI, at least on 01/19/07 or 19/01/07!
SoI reinstalled, and am trying to just get back to where I was, and already errors!
When I run OpenOCD from Eclipse I get this:
Info: openocd.c:82 main(): Open On-Chip Debugger (2006-10-12 18:00 CEST)
Warning: arm7_9_common.c:683 arm7_9_assert_reset(): srst resets test logic, too
When I compile, it compiles just fine (LED Blink example in tutorial)
When I try to “program” I get this
make -k program
Preparing OpenOCD script…
Flash Programming with OpenOCD…
'c:\Program Files\openocd-2006re115\bin'openocd-ftd2xx.exe -f 'c:\Program Files\openocd-2006re115\bin'at91sam7s256-armusbocd-flash-program.cfg
Info: openocd.c:82 main(): Open On-Chip Debugger (2006-10-12 18:00 CEST)
Error: ft2232.c:1033 ft2232_init(): unable to open ftdi device: 1
make: *** [program] Error 1
I have NO idea ( :? ) what I did now and what I did last night differs!
Here is my cfg file
#define our ports
telnet_port 4444
gdb_port 3333
#commands specific to the Amontec JTAGKey
interface ft2232
ft2232_device_desc “Olimex OpenOCD JTAG A”
ft2232_layout “olimex-jtag”
ft2232_vid_pid 0x15BA 0x0003
jtag_speed 2
jtag_nsrst_delay 200
jtag_ntrst_delay 200
#reset_config [combination] [trst_type] [srst_type]
reset_config srst_only srst_pulls_trst
#jtag_device
jtag_device 4 0x1 0xf 0xe
#daemon_startup <‘attach’|‘reset’>
daemon_startup reset
#target <reset_mode> <jtag#> [variant]
target arm7tdmi little run_and_init 0 arm7tdmi_r4
#run_and_halt_time <target#> <time_in_ms>
run_and_halt_time 0 30
commands below are specific to AT91sam7 Flash Programming
---------------------------------------------------------
#target_script specifies the flash programming script file
target_script 0 reset c:\temp\temp.ocd
#working_area <target#> <‘backup’|‘nobackup’>
working_area 0 0x40000000 0x4000 nobackup
#flash bank at91sam7 0 0 0 0 <target#>
flash bank at91sam7 0 0 0 0 0
Thoughts/etc.
#1. Now when I plug in my ARM-USB-OCD the light on the dongle turns GREEN, when I start OpenOCD, it turns YELLOW.
#2. I’m applying 5v to the Olimex board from dongle
~Kam (^8*