Hi
I am using OpenOCD 0.4.0 with olimex ARM0USB-TINY and olimex STM32-h103
I am using config files from openOCD directories interface/olimex-jtag-tiny.cfg and board/olimex_stm32_h103.cfg
I compiled the STM32-H103_flash program using YAGARTO arm-none-eabi-gcc V4.5.1 when I try to load the application I get the following error
Error: JTAG-DP STICKY ERROR
Error: MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x4
Error: JTAG-DP STICKY ERROR
Error: MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x4
Warn : Block write error address 0x0, wcount 0x481
Error: unexpected error -107
and this is the gdb side
P:\Program Files\yagarto\bin>arm-none-eabi-gdb.exe main.out
GNU gdb (GDB) 7.1
.................
(gdb) target remote localhost:3333
Remote debugging using localhost:3333
0x00000000 in myvectors ()
(gdb) monitor reset init
JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3)
JTAG tap: stm32.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6410, ver: 0x1)
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
(gdb) load
Loading section .text, size 0x1204 lma 0x0
Load failed
What’s causing this mistake?
Salam
Hossam alzomor