Professional Forensic Analysis of a sketchy Pro-Mini (ATMEGA328P) - is it Counterfeit?

  Рет қаралды 17,671

Kevin Darrah

Kevin Darrah

Күн бұрын

Part 1 on the pro-mini analysis: • Sleep Mode breaks on c...
Part 3 Test Sketch to see if yours is real: • Is Your Cheap Pro-Mini...
So based on that, there were a lot of suggestions that maybe the ATMEGA328 was still genuine, but somehow failed QA and ended up on some kind of great grey market... well I decided to reach out to Sensible Micro Corporation to conduct a full forensic analysis on the part! Check them out here: www.sensiblemi...
My Tindie store - I have a board there with genuine ATMEGA328 :) www.tindie.com...
Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
/ kdarrah
Twitter: / kdcircuits
For inquiries or design services:
www.kdcircuits...

Пікірлер: 102
@chiparooo
@chiparooo 4 жыл бұрын
Very interesting! Thank you Kevin and Chris for sharing.
@Maxtr0sity
@Maxtr0sity 4 жыл бұрын
This is really educational, even for someone who doesn't understand the full inner workings of the Atmega. Learned a lot!
@SimjetAU
@SimjetAU 4 жыл бұрын
That was a really interesting video Kevin..thank you...our production has been stifled twice now with us having to change 2500 chips by hand...because of this issue
@Kevindarrah
@Kevindarrah 4 жыл бұрын
whoa! can you share what chip it was?
@SimjetAU
@SimjetAU 4 жыл бұрын
@@Kevindarrah The first bad bunch was a LM741 that was around 4 years ago. The second one was just late last month we just got a new production batch of pcbs in and in making them up we found big issues...The onboard temperature sensor was reading negative values and all were the same so out of 3000 board there were 2500 with that batch number. There are around 4 batch numbers we have found as we use the temp sensor in another pcb as well but it was the one batch number that were duds...QT18B20...we ahve used probably 30,000 so far at least and no issues until last month. So the assemblers sent us another 2500 so we have to change them all. Our assembler in China is a high end company who makes LCD as well as does our assembly of all of our production pcb..they are beside themselves especially as this has happened twice now. Its a big drama when it happens in a production enviroment
@SimjetAU
@SimjetAU 4 жыл бұрын
As a side note the duds for the 741 had a poor copy of the TI logo and the QT18B20 we found they had the same symbol on them but no pin 1 indent on the dus but were all ok on the ones that worked other than that the printing style and depth were the same and looked the same except for the batch numbers
@Kevindarrah
@Kevindarrah 4 жыл бұрын
wow, you would not believe how funny this is! As we speak right now, I'm working on a project using the LMT01, which is what I switched to after a bad batch of 18B20's... I feel like that part is just a pile of crap now and the whole market is saturated with fakes...
@SimjetAU
@SimjetAU 4 жыл бұрын
@@Kevindarrah We learnt after the 741 incident that we now get about 10 random pcbs from their production lots of each pcb they do for us sent over and we test them before we give the go ahead to ship them to us. This batch obviously they didnt spread the samples across the 3000 lots of each pcb they produced as we did not find any issues with the samples
@stevetobias4890
@stevetobias4890 4 жыл бұрын
That was a super cool video. It is really good to know there is a company out there that can inspect chips to such a degree. I am really blown away. Thank you so much for posting this video. Stay safe mate, cheers from Down Under.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
Thank you!
@johnmccormick2883
@johnmccormick2883 4 жыл бұрын
Crazy stuff for sure... would’ve liked your closing comments but I guess the conclusion is clear. Great video ... thanks for sharing.
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 4 жыл бұрын
I think this points to how easy it is to set up a wafer lab plant. We had a custom wafer made and after about 10 years the plant was shut down and we got a onetime buy to keep us going. But we then found a small start up that could almost get to what we needed. These were sensors on a die that was directly exposed to liquids, and had to have some extremely consistent properties and a very tight process in wafer build to work. They only had to work for a few days, but within a extremely tight specification with minimal calibration and then thrown away. But they did it. I think that uC internals are now just like cut and paste, a memory here, an ALU there and with almost off the shelf designs. The computer will then do the die design with little input from us. It’s been going on so long with high value chips! that it’s now getting to the point where they can knock out parts so quick N cheap that nothing is now off limits.
@McTroyd
@McTroyd 4 жыл бұрын
Very interesting. They spent some time on the chip packaging, but even at the X-ray level the suspect fails comparison. The infuriating thing is, the copycat could have saved themselves a world of trust issues, branding it differently and advertising as "compatible with ATMega328P", especially since it mostly works as advertised. Goes to show why it's worth spending the extra couple of bucks and sourcing from a reputable company (my Arduino came from Sparkfun). Better yet, it would be awesome if everyone would go to arduino.cc periodically and buy a board to support those guys.
@NivagSwerdna
@NivagSwerdna 4 жыл бұрын
Wow! Just wow! I have been suffering from counterfeits recently... first serial to TTL converters and more recently fake CPLDs and memory... for years the cheap modules/parts from China were fine (or fine enough) but over the last 12 months or so it has become very unreliable. Very interesting video, thanks both!
@TradieTrev
@TradieTrev 4 жыл бұрын
There's the quote from Oscar Wilde "Imitation is the sincerest form of flattery that mediocrity can pay to greatness" that rings very true when you've got some coming in and mixing their stew so to speak.
@AdilKhan-jp7hn
@AdilKhan-jp7hn 3 жыл бұрын
Kevin, This is truly an eye opener for me. Excellent video and information. Thank you so much to bring this darker side of silicone out in the open, it really opened my eyes.
@timjohansson4304
@timjohansson4304 4 жыл бұрын
Very intresting and good content nice of you to put it up!
@howarthcd
@howarthcd 4 жыл бұрын
The cloning is not something to commend, but you have to admire the effort that has gone in to cloning such a device. There are some clever people out there who are wasted on this kind of activity.
@user-qf6yt3id3w
@user-qf6yt3id3w 4 жыл бұрын
Back in the days of the USSR the Russians were so infamous for copying Dec chips that the Dec engineers put a message in Russian on the CVAX die en.wikipedia.org/wiki/VAX#History " Sundry graphics were etched onto the CVAX microprocessor die. The phrase CVAX... when you care enough to steal the very best was etched in broken Russian as a play on a Hallmark Cards slogan, intended as a message to Soviet engineers who were known to be both purloining DEC computers for military applications and reverse engineering their chip design.[18][19] " There's a photo here: micro.magnet.fsu.edu/creatures/pages/russians.html
@MrGeekGamer
@MrGeekGamer 4 жыл бұрын
Xiao Bao... sounds legit.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
lol, yea think. that translates to small package or something
@peterwooldridge7285
@peterwooldridge7285 4 жыл бұрын
Interesting....thanks
@Ed19601
@Ed19601 2 жыл бұрын
I know little of chip making but i wonder: when you are forging a chip, wouldnt it be just as easy to make a correct chip as it would be to make a faulty chip? Or is this a case of: "we made proper 328's but there is demand for 328p's so we just put that on the label
@oberoiddroidus2114
@oberoiddroidus2114 3 жыл бұрын
Where is pin 1 on the board? Did anyone mapped the functional regions of this chip? I would like to know more about its architecture.
@Korpaksson
@Korpaksson 4 жыл бұрын
Well that explains why all my ProMinis bought in China crashes when voltage drop below 3V. While in theory they shall run fine with lower voltages with 8MHz and slower crystals.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
hmm, maybe I should try that out here as well.
@englishrupe01
@englishrupe01 3 жыл бұрын
@@Kevindarrah Please do, Kevin and let us know! But i gotta say, wow! This is a really cool exploration, thanks! I have just ordered my first five boards from China, and now worried they wont do the deep sleep i got them for! Thanks for this!
@avejst
@avejst 4 жыл бұрын
Impressive find A good detection Thanks for sharing👍😀
@sanityd1
@sanityd1 3 жыл бұрын
Given the price of aliexpress arduinos, I always assumed this was the case.
@fredericbenzaquine3510
@fredericbenzaquine3510 4 жыл бұрын
you surely have some resources Kevin, thx a lot for the insight, I never imagined this could be possible ! And even if this is no big risk regarding our little insignificant DIY projects, I'm mostly concerned with giving my money to REAL engineers who worked hard designing those chips, I'll give it a more careful look next time I order.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
thanks - yea the results were surprising to me as well!
@ClaytonDarwin
@ClaytonDarwin 4 жыл бұрын
Good info. Thanks, Kevin.
@38911bytefree
@38911bytefree 4 жыл бұрын
10 years ago I couldnt meet the nanowatt figure on a pic16F684, but they were off like 100 times. I made all the changes possible, talked to microchipp assitance, read all the guidelines ... NOTHING. They even fake mixed signal chips and perform pretty good actually, they are only weak when input comes really too low. At work we have been fooled a couple of times with thos chips, in big quantities. Also, we worked with MSP430, board assembled in China. They performed good, no probs. One time a TI representative visited us, we showed the actual board and got lost inmediately, because the coding on the chip. He had an internal web to put this code to get the plant, customer et ... and eh couldnt get any valid data out of this code (bizarre). The contract manufacturer was a big one in China, that work in "big" quantities and they are not supposed to put fakes or trade in parallel markets for pieces from another customers. TI was clear about that, this could be a batch that other customer did not use but the contract manufacturer MOST TELL YOU about the situation. TI wont accept any liability in this cases. Only part that were bought to a TI dealer and put in the board.
@MCPicoli
@MCPicoli 4 жыл бұрын
How much this kind of report usually cost?
@christorrioni6238
@christorrioni6238 4 жыл бұрын
Hi Marcelo, our standard reporting is free if our customer is also purchasing the components from us. Our standard reporting includes external visual inspection, dimensional verification to the OCM datasheet, part marking inspection and surface integrity analysis to confirm the top of the chip has not been remarked or tampered, X-Ray analysis, low power electrical testing and pin / BGA inspection to confirm not previously used or damaged. Decapsulation is the only item we charge for which is $50 and most customers normally just have us roll that cost into the price of the components they are purchasing. Here is a link to our lab page: www.sensiblemicro.com/electronic-components-inspection-test-lab
@chosen1one930
@chosen1one930 2 жыл бұрын
Are they using sulfuric acid to chemically show the die?
@hansibull
@hansibull 4 жыл бұрын
Thank you for sharing this! Very interesting! It would be even more awesome if we could get to know more about this counterfeit 328P die. Why is it smaller than the original die? Is there any other difference between them except the power consumption? And who is Aries? Have any of you guys been able to find their website?
@Kevindarrah
@Kevindarrah 4 жыл бұрын
yea that would be cool - I can't find any info about them.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
@@billiejean3748 nah I don't think that's them - there's a company in Shenzhen that's more likely: szaries.en.alibaba.com/company_profile.html
@billiejean3748
@billiejean3748 4 жыл бұрын
@@Kevindarrah yea the logo dosen't match like I previously thought, my mistake. It would be interesting to know how the fake was created and why it couldn't sleep as well.
@campbellmorrison8540
@campbellmorrison8540 4 жыл бұрын
Im amazed its worth the cost of silicon facilities etc to copy these devices. I mean honestly how much does an original cost in huge quantities. Im obviously missing something regarding production cost optimization. Mind you it amazes me the effort put in to copying quality watches, just add a little more effort and they would be amazingly good watches but no, its all about saving 1c
@mrlazda
@mrlazda 4 жыл бұрын
So much trouble for something that can be tested simple by measuring number of cycles it take to complete mul instruction. Chinese version of AVR core need (called MAVR) just need 1 cycle and original AVR take 2 cycles
@PainterVierax
@PainterVierax 4 жыл бұрын
interesting ! I just found an Olimex's blog post about this.
@mrlazda
@mrlazda 4 жыл бұрын
@@PainterVierax Chinese version of AVR are less known then their version of STM microcontrollers ( I call them versions because they are not 100% identical and according to law they are "legal"). For me was biggest surprise when Keil putted Chinese version (GigaDevice) of STM as supported device separate then STM.
@prathambumb5593
@prathambumb5593 4 жыл бұрын
Excellent 👍🏻
@ToBeDefined85
@ToBeDefined85 3 жыл бұрын
The video title should be changed or the video description should also name Arduino Nano and Arduino Uno since the same µC is also used on those very popular arduino boards and it wouldnt be presumptuous to claim they used the same counterfeit chips on those boards. Great video !
@luizcassettari
@luizcassettari 4 жыл бұрын
Wooo that's really crazy, I want some to make some random tests!
@dave-in-nj9393
@dave-in-nj9393 4 жыл бұрын
it just goes to show that if you have the chip making machines, you can make whatever chip you want. Sensible Micro can take a chip apart, so can any chip maker. We all know that EVERY manufacture takes apart other manufactures chips to learn their secrets and often improve on them.
@datapoint6859
@datapoint6859 4 жыл бұрын
The images of the good chip show pins 3 and 6 are missing, pin 4 is missing on the dodgy ones. The x-rays at 6:00 do not show these missing pins, but then we hit the decap section and they're back. What gives?
@Kevindarrah
@Kevindarrah 4 жыл бұрын
I'll check with Chris and see what happened there - may just be a side effect of the decap process
@christorrioni6238
@christorrioni6238 4 жыл бұрын
Yes, during the destruct process wire bonds can get removed. Xray images are always taken first.
@datapoint6859
@datapoint6859 2 жыл бұрын
@@christorrioni6238 Neat, thanks for clearing that up gents (no idea why I didn't see a notification on this)
@nerfnerd8404
@nerfnerd8404 4 жыл бұрын
Excellent findings
@sdriza
@sdriza 4 жыл бұрын
Awesome video!
@Asyss_Complex
@Asyss_Complex 4 жыл бұрын
That was very interesting to watch! Although I don't buy my electronic components from Ebay or similar 'cheap product' sites, it makes me wonder what is the ratio of fake chips vs real ones in the market. And a better question yet, how easy is it to make a clone chip? Thanks for the video! - Cristian
@Kevindarrah
@Kevindarrah 4 жыл бұрын
yea, don't even want to think about how many lost hours, days people have spent trying to get this stuff to work
@superdau
@superdau 4 жыл бұрын
So we can pretty much expect that all those ebay/aliexpress Arduino unos/minis/nanos will use that chip and not a genuine one.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
maybe and makes you wonder what else...
@Asyss_Complex
@Asyss_Complex 4 жыл бұрын
I'm wondering that too. It must be a good business for the sellers.
@erynn9770
@erynn9770 4 жыл бұрын
Not only that. The very first Raspberry Pies were manufactured in China, too (producing in the UK was far too costly due to insane tolls). When XRaying them it was discovered that the manufacturer "accidentally" had used cheaper parts than specified (and paid for). I wonder how many small-production-run devices of "Western" companies have similar accidents that are not noticed
@Mr30friends
@Mr30friends 4 жыл бұрын
@@erynn9770 its so funny that its just impossible to take china out of the supply chain in anything that has electronic components. Its even funnier that most of those stuff are pretty much manufactured automatically and the western companies placed their manufacturing lines there decades ago and gave away their know-how to save pennies. Too late know I guess. Can't make anything out of china that won't cost 4 times more than what it would cost to make it in china.
@PainterVierax
@PainterVierax 4 жыл бұрын
@@Mr30friends Well, 4 times more is the real price we should actually pay. It will make the whole electronic market more sane for both manufacturers and consumers.
@SOSSTSE
@SOSSTSE 4 жыл бұрын
Thank You
@andymouse
@andymouse 4 жыл бұрын
Aries the RAM (not memory ! )... ..the picture is a goat's head, would it not be possible to ask Atmel if this design is used in their lithography and if the answer is no then the chip is manufactured elsewhere and if there is no license then its a fake ?...great vid...cheers.
@andymouse
@andymouse 4 жыл бұрын
@@billiejean3748 the logos different, maybe this lot are getting ripped off too.
@billiejean3748
@billiejean3748 4 жыл бұрын
Yea I realised that, my mistake
@andymouse
@andymouse 4 жыл бұрын
@@billiejean3748 well thought out though.cheers.
@M0UAW_IO83
@M0UAW_IO83 4 жыл бұрын
Aries and Atmel rings a bell for some reason, can't puitmy finger on why though
@Kevindarrah
@Kevindarrah 4 жыл бұрын
would be really interesting if you have anything to share - I can't find any trace of this company anywhere
@Fpvdrone1325
@Fpvdrone1325 4 жыл бұрын
This explains my failing pcbs. I got a batch of pcbs made at jlcpcb and using lcsc atmega328 chips and my failure rate is through the roof. Anyone else have this experience with lcsc chips?
@Kevindarrah
@Kevindarrah 4 жыл бұрын
ouch, I didn't think LCSC would not have genuine parts... I'm thinking about creating a self-testing sketch to identify these chips
@VLS-Why
@VLS-Why 4 жыл бұрын
Very cool!
@AshenTiger
@AshenTiger 4 жыл бұрын
The saga continues!
@Kevindarrah
@Kevindarrah 4 жыл бұрын
yea, and might even make a part 3 with a special self-test sketch to ID the clone
@cokegen
@cokegen 4 жыл бұрын
Interesting ... it blows my mind that people (china) are actually re implementing chips like these.
@Flapjackbatter
@Flapjackbatter 4 жыл бұрын
Most interesting.
@ArnaudMEURET
@ArnaudMEURET 3 жыл бұрын
Im not sure why you call these counterfeits, they’re not using the brand, not posing as Atmel. They made a mostly compatible chip. Not pretending it’s an Atmel product. ??
@Rocket_Try
@Rocket_Try 4 жыл бұрын
That's the kind of fun video no one understands I find fun.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
me too :)
@irukard
@irukard 4 жыл бұрын
Nice :)
@fleetinglife2984
@fleetinglife2984 4 жыл бұрын
i am sorry for all this,but can do nothing,my country is sick。。。。
@ThePopolong
@ThePopolong 4 жыл бұрын
I don't understand why for people still use ATMega, they are expansive, not powerful and not efficient at all. you can found far more competitive ARM or, better, RISC-V microcontrollers for less than 1$ now. They generally works well with Arduino microPython, or other standard development tools.
@jolangse
@jolangse 4 жыл бұрын
There's a lot more to part- and architecture selection of a controller than price-per-unit and "getting the most horsepower". The PIC16, STM8 and even the 8051 are still widely used, not because they are cheap or powerful (none of those are) but because they are appropriate for the total design and cost stack-up.
@FixDaily
@FixDaily 4 жыл бұрын
Well, it's the same as cracking software, it gives no profit to the companies but improves access to most people, so it supports human and technology evolution. Chinese people doesn't earn like Atmel's people, that's why they can afford lower costs. And most likely their chips are made in china anyways. I'm not against china, i'm against certain actions china does to their people and to the world, but they are making the technology evolution affordable (even if they clone stuff), that's for sure. So why to pay more if you can have a copy for less that works almost the same way, right? Silicone, the etching process itself, epoxy and bound wires doesn't cost that much, the overall cost relays on "administrative and scientific matters" - so let's keep the money machine active for those Atmel guys. Also china gives no warranty, so less loss.
@SianaGearz
@SianaGearz 4 жыл бұрын
Well i'd for sure like to always know what i'm getting. If the product was tested and engineered with one chip, and you silently get another, and it causes issues in operation, well that's no good. This is why counterfeit chips and deceptive top markings are a problem. As to having a more or less compatible third party chip, well that's certainly just fair.
@Kevindarrah
@Kevindarrah 4 жыл бұрын
yea, would at least me nice if they marked it something else, so you know it's a clone... like for some basic things this might be ok.
@ElectraFlarefire
@ElectraFlarefire 4 жыл бұрын
I'll agree with Kevin. If you are going to make a compatible chip, mark it as such, sell it cheap and let people know what they are getting. There'll still be a huge market for them. A lot of the Chinese blue/black pill boards come with GigaDevice gd32f series chips(My understanding is it's a licanced ARM core too, but I could be wrong), pretty much compatible with the STM version, but you at least know what you are getting. Copying a chip's compatibility is a grey area with arguments on both sides.. Selling that chip as the original is just plain dishonest.
@bardenegri21
@bardenegri21 4 жыл бұрын
Super cool!
Шок. Никокадо Авокадо похудел на 110 кг
00:44
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 825 М.
AI can't cross this line and we don't know why.
24:07
Welch Labs
Рет қаралды 293 М.
Fake Chips and What’s Inside Them
44:10
8-Bit Resurgence
Рет қаралды 100 М.
Lowest Power (~3uA) MOTION Sensor - WiFi Connected with trigBoard
10:29
Low Power Arduino! Deep Sleep Tutorial
24:14
Kevin Darrah
Рет қаралды 138 М.
How to use Excel to Animate LEDs!  Arduino + WS2812 LEDs
17:01
Kevin Darrah
Рет қаралды 111 М.
Is Your Cheap Pro-Mini REAL? Easy Way to Test! (ATMEGA328P)
6:26
Kevin Darrah
Рет қаралды 17 М.
How Microwave Lenses REALLY Work!
26:44
Machining and Microwaves
Рет қаралды 140 М.
Шок. Никокадо Авокадо похудел на 110 кг
00:44