cancel
Showing results for 
Search instead for 
Did you mean: 

Corrupted data on Serial number, product id with STM32CubeProgrammer

Rafa096
Associate II

Hi, after doing a full chip erase over a device with a STM32F103, it's impossible to download a new version over DFU with the STM32CubeProgrammer. After I press connect it shows up corrupted data on the Manuf. ID, Product ID and Serial Number parametres, and when I tried to download the firmware it threw an error.

Rafa096_0-1751531979126.pngRafa096_1-1751532003929.png

The program crash if I press to many times the USB refresh button and If I press programming a few times. We change a few things related to memory on the device and I guess we messed up with something but I don't know how to recover the MCU after this. 

Regards

Rafa

2 REPLIES 2
Andrew Neil
Super User

Are you sure that your "STM32F103" is genuine ?

 


@Rafa096 wrote:

We change a few things related to memory on the device and I guess we messed up with something but I don't know how to recover the MCU after this. 


Connect via SWD (eg, using ST-Link) and do a full chip erase?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Rafa096_0-1751534330503.jpeg


@Andrew Neil wrote:

Are you sure that your "STM32F103" is genuine ?



I hope it is:grinning_face_with_sweat:. We've been working with this chip for a long time and this is the first time that this happens.



Connect via SWD (eg, using ST-Link) and do a full chip erase?


Done this over JTAG using the ARM ULINK plus debugger on Keil and got the same results, actually the first screenshot was taken after doing this process...

Thanks for your response

Rafa