2025-10-02 3:14 AM
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.
2025-10-02 3:19 AM
Welcome to the forum.
Please see How to write your question to maximize your chances to find a solution for best results.
In particular, as this is a custom board, you need to post your schematic.
A good, clear photo of the board may also help.
What tool (including version) do you use when trying to connect to the board?
Does it see a correct target voltage?
2025-10-02 4:35 AM
> Device family :Unknown device
Your software does not seem to know the STM32C0 series.
2025-10-02 4:39 AM
@Pavel A. wrote:Your software does not seem to know the STM32C0 series.
@torasn are you, perhaps, using the old ST-Link Utility ?
That was obsolete before the C0 series was introduced - so not surprising it doesn't recognise it!
The current tool is STM32CubeProgrammer:
https://www.st.com/en/development-tools/stm32cubeprog.html