cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot erase/program flash using jtag

deckhard
Associate III

Hi

I've set the jtag pins in my code to analog input (non intentionally) .

While I was able to connect to Device (STM32H743) after I managed to erase the flash option bytes (with mass erase) using j-link stm32 tool (No St-Link option or SWD for me on the device), I can not preform chip erase or program (getting ram code error -5)

Any ideas?

Thanks!

This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Uwe Bonnes
Principal III

Try with connect under reset and reset connected. Try other debuggers.

Tried that... perhaps changing boot0 pin to pullup and boot to sram would help? how can I boot into the system bootloader?

Uwe Bonnes
Principal III

Connect under reset, with reset connected, should work! If it does not work, recheck your setup (Use cable, cables, Connectores, etc). Otherwise a pulse on Reset with Boot0 = 1 should bring you into the bootloader.