stm32stm32cubeidest-link

STM32G031J6M6 programmed once


Connection:

Hi I use STM32G031J6M6. Connection:

enter image description here enter image description here

Why i can load firmware to mcu only once? After programing Stm32CubeIde can't connect to mcu. I have to erase the chip using "STM32 ST-LINK Utility" every time when i need to load new firmware.

I use "ST-Link V2 mini":

enter image description here


Solution

  • To program this micro you need to use something which has NRST line as well. Unfortunately, those Chinese fake ST-Links (BTW illegal) do not support the "connect under reset" required in this case.

    The solution.

    1. Bin your fake ST-Link
    2. Buy a genuine one - they are not expensive. Do not try to buy cheap - use authorized distributors.

    I use "ST-Link V2 mini":

    No, you use an illegal Chinese fake copy with stolen firmware.