STM32C011 "Can not read memory"
I designed simple board around STM32C011J6 MCU (SO8 package). I'm using fresh-from-packaging parts, ordered from Element14 (Farnell). When I try to connect to MCU (via SWD, using ST-LINK/V2 ISOL), I get "Can not read memory! Disable Read Out Protection and retry" error:
13:05:51 : Connected via SWD.
13:05:51 : SWD Frequency = 0,9 MHz. [I've tried frequencies between 400kHz to 4MHz, same result]
13:05:51 : Connection mode : Connect Under Reset.
13:05:51 : Device ID:0x443
13:05:51 : Device family :Unknown device
13:05:51 : Can not read memory! Disable Read Out Protection and retry.
Chip Erase doesn't work either, which suggests RDP2 (if indeed enabled).
Is there some issue I concerning board layout/setup have managed to miss (SWDCLK for instance is used to control a FET in main application, but that should not interfere here; SWDIO and NRST are not shared), or has someone delivered me bogus parts (as I suspect)?
I am not seeing any activity on any of the MCU pins when disconnected from STLink, all pins (except gnd) measure as high.
