2021-10-03 09:51 AM
I recently got trouble after my STM32F103CB (128KB/20KB) started to misbehave.
I ask few guys but seems no answer.
Is there any way one can detect loosely cloned STM32 MCU?
Solved! Go to Solution.
2021-10-05 02:53 AM
Faked STM32, with a marking STM32F, do not come out of nowhere. If they have any functionality at all, they are relabeled clones. These clones all have a newer CortexM core. Read the core revision in the AP IDR register.
/* Test for non-genuine parts with Core rev 2*/
if ((ap->idr >> 28) > 1) {
t->driver = "STM32F1 (clone) medium density";
DEBUG_WARN("Non-genuine STM32F1\n");
2021-10-03 10:57 AM
Perhaps buy from reputable sources, who will warrant there authenticity, or provide proof of provenance / traceability.
Can you inspect and X-ray inbound stock?
2021-10-03 11:17 AM
Not reliably, or with 100% certainty. A bad one perhaps by poor quality silkscreen, or markings that don't match the datasheet. UID, flash size, and similar registers can also provide insight.
If you bought an F103 from a sketchy source at a significant discount, it's probably fake.
2021-10-05 02:53 AM
Faked STM32, with a marking STM32F, do not come out of nowhere. If they have any functionality at all, they are relabeled clones. These clones all have a newer CortexM core. Read the core revision in the AP IDR register.
/* Test for non-genuine parts with Core rev 2*/
if ((ap->idr >> 28) > 1) {
t->driver = "STM32F1 (clone) medium density";
DEBUG_WARN("Non-genuine STM32F1\n");
2022-02-16 10:40 PM
Hey guys,
I didn't want to create another Fake thread so I hope you don't mind me hijacking this one.
I bought these 6 x STM32F105RBT6 off of ebay..
The add said "Genuine 100%". Probably my first mistake.
Looking at the printing I'm thinking they are fake and would rather not solder them to the boards at this point.
I thought I'd get you guys with more experience to have a look and tell me if you think these are fake as well thanks.
Any help is appreciated.
Thanks :)
2023-08-24 07:28 AM
Hi Uwe,
this code can runs in the uC or it is a code used "by" SWD device?
Thanks.