2021-12-28 04:04 AM
Hello, I am new with NUCLEO STM32G4754 and trying the SBSFU examples (1 image). I can flash and launch the SBSFU but I can't load any user application (userapp.sfb)
I use STM32 tools, Windows with the same result :
Solved! Go to Solution.
2022-01-07 01:07 AM
Hi @Jocelyn RICARD ,
As per your suggestion I had activate the protection one by one but during that process somehow ST link is not found I can't flash the code into the board. The inbuilt ST-Link is detected and is recognized by the computer. But when trying to flash the code an error message 'Error: No STM32 target found!' is displayed. Then I used STM32CubeProgrammer, the same happens. I had tried all configuration i.e. I had tried all modes i.e. "under reset mode", "normal", "Hot plug"
also I had tried all reset mode i.e. "software reset", "Hardware reset", "Core reset". but same error occur. How to resolve this issue. Is there is any other way to erase chip.
2022-01-07 08:26 AM
Hello @PB1,
if the STLink does not find the STM32G4 target, this can be because you mistakenly activated RDP2 level 2. In this case you need to change your chip. There is no way to recover. Other possibility, something went wrong on your board, a jumper was removed, power fails, a short, anything that prevents the MCU to boot. You can check reset pin for instance to see if it is released.
Best regards
Jocelyn
2022-01-09 09:40 PM
Hi @Jocelyn RICARD ,
Is there any option of factory reset or anything else??????
2022-01-10 05:44 AM
Hi @p123 ,
There is no factory reset as such. Anyway, even if it existed, it would require the chip to be accessible. The equivalent of a factory reset can be done by setting option bytes to their default value.
Best regards
Jocelyn