2019-11-14 03:23 AM
My MCU is loaded with the test program at the supplier. But when I loaded the actual program, it did not allow me to erase or read the chip, and the device was protected.
2019-11-14 03:35 AM
There seems to be some option bytes programmed to protect the example code. Probably it's RDP == 0xBB. Setting it to 0xAA will allow you to flash your code, but the original demo will be erased forever
2019-11-14 03:58 AM
2019-11-14 04:31 AM
Very little detail of board or connectivity.
Could be a connection issue.
Please try using the ST-LINK Utilities or STM32 Cube Programmer applications.
Describe the board.
Had success with this previously, or new board/design?
Does mass erase clear the RDP state?
2019-11-14 04:37 AM