Hi all
I would appreciate if someone could help me with an issue. I have a Hitex 2929/39 evaluation board. I have connected an Olimex ARM-USB-OCD and i am using openocd version 0.4.0. I am using the following configuration file
telnet_port 4444
gdb_port 3333
source [find olimex-arm-usb-ocd.cfg]
source [find hitex_lpc2929.cfg]
Where all the cfg files have been copied into the same directory. I can connect to the board and control it via a telnet session. I have managed to erase the flash but I can re-program it.
Open On-Chip Debugger
halt
target state: halted
target halted in ARM state due to debug-request, current mode: Undefined instruction
cpsr: 0x000000db pc: 0x00000004
flash write_bank 0 blinky.bin 0
Flash bank 0: Device LPC2939, 768 KiB in 19 sectors timed out while waiting for target debug-running Unable to write data to target error writing to flash at address 0x20000000 at offset 0x00000000 (-902) Command handler execution failed in procedure ‘flash’ called at file “command.c”, line 650 called at file “command.c”, line 361
Any pointers you can give me would be appreciated.
Many thanks in advance.
Cheers
Owen.