Hello,
I want to program the flash of STM32F101T4 uC with JTAGKey-Tiny and OpenOCD 0.3.1. I’m running the following batch file:
openocd.exe -f stm32.cfg -f jtagkey-tiny.cfg -c “init” -c “halt 0” -c “wait_halt” -c “stm32x mass_erase 0” -c “flash write_image TEMP.BIN 0x8000000 bin” -c “verify_image TEMP.BIN 0x8000000” -c “shutdown”
My problem is that openOCD even can’t detect the JTAG chain:
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
The funny thing is that with the same setup I can program an STM32F105R8T6. Also, when I try JLink hardware with the SEGGER utilities, it is working without an error, with same board, cables, etc.
Can anyone help me about this problem?
Thanks,
recortebordes