Timeout problem JTAG openocd

Hi!!

I am working with openocd and a STM32f10x cortex microcontroler. I flashed the code through a JTAG using openocd commands and configuration files.

Last time i flashed some program (anything unusual, i think) in the microcontroler, i got the following message:

Warn : Timeout (1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction

  • Warn : Block read error address 0xe000ed00, count 0x1*
    Warn : Timeout (1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction
    Warn : Timeout (1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction
    Warn : Timeout (1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction
    Warn : Timeout (1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction
    Warn : Timeout (1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction

repeating all the time. I was searching and it seems a problem with speed between cortex and JTAG. I tried to make JTAG slower (jtag_khz command) and to “reset halt” but i still get the same messages.

No I can not flash anything nor work with the target at all. Do you know what is that about and how to sort it out??

Thanks!