Hi,
I have compiled openocd rev. 88 on Mac OS X and try to flash a AT91SAM7S256. I get a connection to the processor, but flash writing fails with “unknown error” and the result from “flash info 0” looks weird:
> flash info 0
#1: at91sam7 at 0x00000000, size 0x00000000, buswidth 0, chipwidth 0
at91sam7 information:
cidr: 0x40090d27, arch: 0x0000, eproc: [b]ARM946-E[/b], version:0x007, flashsize: 0xffffffff
master clock(estimated): 32kHz
securitybit: 0, nvmbits: 0x0
(if only it were a 946-E…)
My config:
telnet_port 4444
gdb_port 3333
interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG A"
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15ba 0x0003
jtag_speed 5
reset_config none
jtag_device 4 0x1 0xf 0xe
daemon_startup reset
target arm7tdmi little run_and_init 0 arm7tdmi
run_and_halt_time 0 30
working_area 0 0x40000000 0x4000 nobackup
flash bank at91sam7 0 0 0 0 0
Debug log of “flash info”:
http://andreas-s.net/openocd.log.txt
Any ideas?