STM32WB10CC not programming on custom hardware
- May 25, 2024
- 2 replies
- 2511 views
I designed a custom PCB. It is designed to be used in a remote control car I want to make/to control a BLDC motor and servo wirelessly or through a potentiometer.
When I attempt to program the microcontroller (connecting through STLINKV3) it seems to connect fine, and I am able to read the flash and option bytes. When I try to program a file, it fails with error "Error: failed to erase memory", except for one time where two blocks were written (see image) [the data is correct in the first but in the second only the 1 is correct].
I have attempted in every combination of software/hardware/core reset in CubeProgrammer, and have read various other community posts, with no success.
I'm not quite too sure where to go from here, whether it is a hardware issue or a software configuration issue.
I have attached the Altium design files as well.
Any suggestions would be appreciated.

