I have a consumer device that I know uses a STM32 microcontroller that I'd like to hack a bit. Is there a reliable way to communicate with the chip and determine its exact model, so I can locate the correct datasheet? Nothing is printed on the chip itself.
I ended up buying an ST-Linkv2 and connecting to the SWD interface with some tiny clips. However the programmer refuses to detect the presence of the device. It seems likely that readout protection (RDP) is enabled, preventing access to the flash memory. Short of some sort of vulnerability, there's no way to determine the exact model, let alone re-program it.