Hi all!
I have str-e912 board from Olimex with str912fw44x. Jtag: arm-usb-ocd. I use openocd(0.4.0) with GDB. When i’m trying to halt the core, i’m getting this message:
soft_reset_halt
requesting target halt and executing a soft reset
Error: Failed to halt CPU after 1 sec
Info : Halt timed out, wake up GDB.
Neither ‘halt’ nor ‘soft_reset_halt’ doesnt work. Without halting core there is no chance to write to internal flash memory. Are there other ways to halt?
I think that problem is in core state, but to change it, i should write to cpsr. I found command arm7_9 write_xpsr. But…
(gdb) monitor arm7_9 write_xpsr 0x13 0
arm7_9 write_xpsr 0x13 0: command requires more arguments
in procedure 'arm7_9' called at file "command.c", line 650
called at file "command.c", line 361
(gdb)
What arguments it asks?in the [specification i found no more. How i should use it?
There was mad idia to write directly to internal ram(becouse flash is unwritable ) and change cpsr with spicial asm coomands, but arm starts from 0x00.
gdb in terminal
http://storage3.static.itmages.ru/i/11/ … 3eaf6.jpeg](http://elk.informatik.fh-augsburg.de/pub/openocd-quickref/old/oocd-quickref-211.pdf)