Skip to main content
Associate
Aug 1, 2026 6:44 AM UTC
Solved

STM32F030C8T6 - RDP CPUID and Bootloader version

I flash firmware in stm32f030c8t6 MCU around 1000pcs and applied RDP level 1 protection
now i face issue that some MCU work fine but on some application don’t run…
i have read all register of both MCU good and not good
key difference found is  below figure.
 

all perpheral rister difference table left one not good write one good

i also observe when i connect MCU with stlink v2 in stm32cubeprogrammer
Good MCU 

  • bootloader version is 0x21
  • show eror on reading flash memory

NOT Good MCU

  • bootloader version is 0x23
  • read flash memory while RDP level 1 was active and show same pattern values
NOT GOOD MCU



 

GOOD MCU



now how can i solve this issue?

waclawek.jan
waclawek.janBest answer
Super User
Aug 3, 2026 2:34 PM UTC

Maybe the Cube programmer does not really read out the processor’s CPUID and just infers the core from the mcu type, i.e. value read out from DBGMCU_IDCODE - which is probably 0x440 as expected.

Given the processor core is different than what’s in genuine ‘F0, I am afraid this is a counterfeit chip - a chinese clone marked (or re-marked) as STM32.

JW

8 replies

waclawek.jan
Super User
Aug 3, 2026 11:50 AM UTC

Post photos of the chips.

CPUID indicates the “not good” is a Cortex-M0+ core.

JW

mahmadAuthor
Associate
Aug 3, 2026 1:01 PM UTC

 

waclawek.jan
waclawek.janBest answer
Super User
Aug 3, 2026 2:34 PM UTC

Maybe the Cube programmer does not really read out the processor’s CPUID and just infers the core from the mcu type, i.e. value read out from DBGMCU_IDCODE - which is probably 0x440 as expected.

Given the processor core is different than what’s in genuine ‘F0, I am afraid this is a counterfeit chip - a chinese clone marked (or re-marked) as STM32.

JW

mahmadAuthor
Associate
Aug 6, 2026 12:38 PM UTC

now these chips are waste ? or any method to use it ?

waclawek.jan
Super User
Aug 6, 2026 2:23 PM UTC

Unfortunately, probably unusable.

JW