Since you have the capability to test the low-power performance on these, why not try to establish a correlation between the register dump and the performance? If there isn’t any, then the register values aren’t good indicators for this being a genuine or fake chip. Also, have you contacted Atmel? What do they have to say? Maybe they’d recommend a way to tell these apart.
yea, almost positive that the all 0xFF register dumps will have high sleep currents, but I will check that tomorrow and report back here, just. so. we all know for sure - that one that was sent to me was +100uA high, but will test the others. Also, have not reached out to Microchip(Atmel) about this yet. Maybe forum post?
ok, so not worth making another video, bit all of those boards shown in the video just had their low power capabilities tested. Of course, first I had to remove the regulator and LED from the boards, then source externally with 3.3V. the pro-minis that failed the "dump" test with 0xFF's, read over 100uA in the lowest power test - the pro-minis that pass the dump test are in the nano amps, which lines up with the known good samples from Digikey
I've been doing both tests (signature and lowpower) on a bunch of MEGA328P and PB chips: all of them are consuming in the range of nanoAmps, but surprisingly one of them has a weird signature, similar to the second dumb on the video. It's also marked as coming from Korea. I don't know what to think about it...
I just bought 3 ATmega328P-PU (production year 2022) at Aliexpress and thought I test them. The register dump looks suspicious with a lot of FF's. However, deep-sleep current consumption is normal (around 150 nA), high-voltage programming works, and even debugWIRE is working. So, I guess it is the real thing. Here are the register dumps: boot sig dump 1E AA 95 FF F FF FF 26 FF FF FF FF FF FF 58 FF DF FF DF FF FF FF FF FF FF FF FF FF FF FF FF FF boot sig dump 1E B1 95 FF F FF FF 26 FF FF FF FF FF FF 58 FF DF FF DF FF FF FF FF FF FF FF FF FF FF FF FF FF boot sig dump 1E D4 95 FF F FF FF 26 FF FF FF FF FF FF 58 FF DF FF DF FF FF FF FF FF FF FF FF FF FF FF FF FF
for some projects its fine to use cheaper ones that are not real, good video to make us aware of it most importantly and very interesting video about the sleep current as well, thank you
@@JendaLinda yeah, i agree, why not label them because for the price its kinda obvious anyways, would be better to not pretend to be original at all, they will still sell imo
@@Kevindarrah exaclty, its great you pointed out the difference so its even more clear where or for what project to use it or not, excellent video as always
I'm sure the counterfieters will up their game in the arms race and patch this, but great job, I'm sure this will work on a bunch of counterfiets already in the wild!
I ran this sketch on a LGT8F328P green Nano clone and it gives a completely different return boot sig dump C 94 0 3A C 94 5D 0 C 94 5D 0 C 94 5D 0 C 94 5D 0 C 94 5D 0 C 94 35 0 C 94 5D 0
The extra information is likely to be manufacturing data, such as lot number (the way to record which wafer is which), possibly X and Y location on the wafer, and other test information. Many devices have this information programmed during testing, but the way it is stored is usually confidential and needs a special sequence to access. That might explain why the numbers from the genuine parts only differ slightly. This information is invaluable in the case that the manufacturer receives customer returns (parts which have failed in the field), as it allows analysis to see if the "failed" parts all came from the same wafer or were manufactured in the same month (for example).
It's not just the low power that's different - I just ran some extensive calculations on both genuine and non-genuine chips. The fake ones took 1.6 times longer to execute the same code..
Great like we don't have enough work to do lol, now we have to go through all our pro minis:) Appreciate the work you have done here. Btw what is the RTC part number on the trigboard 8, hardware info on the wiki seems to be missing.
All chips (13) I got between 2017~now turned up to be genuine parts. Thanks for your quick test-check. Worth thinking of changing your eBay & Amazon cheap'er part supplier perhaps? Recommend the folks on Aliexpress for genuine "and affordable" parts since they buy in bulk these guys, as opposed to those hiding behind the credibility of American ecommerce platforms selling plain and obvious fakes.
I just received an order of 5V Pro Mini's via slow rowboat (initiated via eBay). At ~$2/ea I really expected them to be counterfeit. Pleasantly surprised to see they checked out to have values close to the results expected for valid units. Now I'd feel better ordering a few more lots, who could ever have enough on hand???
Just received my first Pro Mini by mail two weeks ago (I want to try that radar thing you did - got the same Bushnell radar btw). I'll test the Pro Mini with your above code soon.
yea, and that project required pretty good ADC readings, so would be a good test. I don't know if this test will work on the 32u4 though, unless you're trying to get it to work with the 328P
It wouldn't be too smart to do that as a manufacturer, because then the fakers can adapt to the test strategy. The manufacurers however usually do answer e-mails when you ask if they can tell if the chip is real or not. At least ST does that with counterfeit STM32F103 chips.
A lot of FF...! Looks link has a new serial in there, different manufacture kinda make sense! The byte 0x0E to 0x17 by my tests is a serial number. On the suspicious chips has a lot of 0xFF but is not the same if you compare the two chips has one byte different. (if you share more samples could be cool). The other thing is the byte 0x18 to 0x1d, always looks like a date. On the suspicious chips some 0xFF... Suspicious... Thanks for sharing.
Yo know the Internet is gonna reverse engineer those bytes and figure out what they are used for now, my guess would be a serial number, batch number, factory ID and date.
That would be amazing. We didn't have that capability on "Arduino" AVRs yet. It's a feature I find most useful on the STM32 so I can tell them apart even when they run the same code. E.g. MAC address cretion, etc without changing it before you upload it to each board.
I have had exactly the same issue with and STM32F103C8T6. Same chips as on a Blue Pill. I worked for days trying to get USB bootloader to work. Finally bought a few from mouser and they worked the first time! Ugh 🤦🏻♂️.
Hey kevin, I landed at this video when I was trying to upload code into my MCU on custom boards of mine. The exact marking on the part is as following MEGA328P U - TH 354730 2009YG0 I am having lot of trouble uploading code into this. It has fuse bits set to 00 for all (L,H,E and lock bits too) I am not understanding what to do and how to recover it. Please suggest.
I found the LGT8F328P to be a useless chip. No 1) You cannot use the EEPROM function like with normal NANO. I found that only every 2nd and 3rd byte of memory works. (Eg, Addr 0,1 bad, 2,3 good. 4,5 bad, 6,7 good etc). Also, using interrupts does not work. It only allows for external interrupts. Using I/O change interrupts that all Arduino chips support, does NOT work with the LGT8F328P. I bought 10 of these clones because of the 12bit AI (0..4096) and the slightly faster clock frequency. But apart from that, I found the clone completely useless for the projects I've successfully with the Nano
@@Kevindarrah There is also another clone found on the WAVGAT pro mini with labeling "WAVGAT AVGA328P". Probably just a re-labling of the logic green one.
Whats the fuzz if they work as expected by the avarage user ? IMHO there is no need to test if they can do extreme specs like their origins, as long as they do the work.
This is what I got on an Arduino 2560: Arduino 2560 R3 genuine: boot sig dump 1E 4F 98 FF 1 FF FF FF ED FF FF F7 FF FF 57 32 39 30 38 39 FF 7 15 F 17 8 12 7 13 7 FF FF Arduino 2560 pro mini clone: boot sig dump 1E A9 98 FF 1 FF FF FF ED FF FF F7 FF FF 6E 75 6E 6B 77 6F FF 0 4 3 17 1 12 8 13 8 FF FF I don't know if that simply means that the clone has good components - or if anything can be concluded since the boards do not use the ATMEGA328 that you wrote the code for. Edit: I believe this should work on any Arduino models with Atmel AVR microcontrollers - does not work with teensy, from PJRC, for instance - I did test myself. The library used in the sketch: avr/boot.h should work with all AVR microcontrollers. It would be interesting to know what performance deficits exist for clones of Atmega 2560 in addition to what you've shown for the Atmega 328P.
Well that looks pretty good, so should give you a little warm and fuzzy about it. I think I might have one of those cheap boards around here too, maybe I'll test out on my end.
@@Kevindarrah I tested with two Arduino Uno clones (328P) that have ch340g chips onboard - test returned with no issues in the unique id's (I don't have a proper Arduino Uno to compare against, though). So perhaps the test does not catch all counterfeit 328p (A negative cannot prove a chip is not counterfeit, but a positive can prove that the chip is counterfeit). I'll keep an eye out for your future videos - You have one more subscriber. This is super interesting.
Cheap Chinese knock-offs are not uncommon. About 5 years ago, FTDI got tired of all of the fake USB to serial converters marked as FTDI devices, so they changed their driver to purposely brick the fake devices rendering them inoperable. This obviously bricked all of the boards that the fake devices were on. So, instead of going after the manufacturers (which would have been an impossible fight), the consumers of the boards that contained these chips (who had no idea the "FTDI" device was fake) were the ones that suffered. I remember seeing an X-Ray of a fake chip that actually contained a repurposed micro that was programmed to act like the FTDI device. It's incredible that the Chinese companies go through all the trouble of making the fake devices but they totally miss simple things like memory locations or functions that don't operate like the original. It's obvious that they don't really care how it works, they just want to make the sale and not worry about what happens next (because the Chinese government will defend them).
Yes but this is different, they had to make the chip only compatible with the ftdi driver. These counterfeits run the same avr instructionset. This requires considerable more resources to pull off.
The annoying part was the reason for all the fake FTDI serial chips in the first place was the difficulty in getting their chips in the first place. When they are available, they are way more expensive than they should be, costing more than the micro they are attached to. I had to order some FTDI chips this year, the first order from one supplier still hasn't shipped (restocking date keeps shifting), had to order more from another supplier to actually get something.
Interesting. Out of a five recently purchased five nanos from the same seller, two appear genuine, two appear fake. The genuine have a date code 2005, the fakes are 1930 ? and 1903 with really crap laser engraving. The other nano is running a light show so I've no idea if it's genuine or not. No sleeping during the show though so I'm sure it'll be fine. Edit: It's possible to use avrdude to get the same data as the sketch. If you are using avrdude to program your chips then this may be simpler. You need to edit avrdude.conf though. To do so find the Atmega328 section and just above the last "part parent "m328"" insert the following: memory "serial" size = 32; read_hi = "0 0 1 1 1 0 0 0", "0 0 0 x x x a9 a8", "a7 a6 a5 a4 a3 a2 a1 a0", "o o o o o o o o"; read_lo = "0 0 1 1 0 0 0 0", "0 0 0 x x x a9 a8", "a7 a6 a5 a4 a3 a2 a1 a0", "o o o o o o o o"; ; Save it and run avrdude in terminal mode. You should see an extra option to dump serial. As an example: avrdude -C/etc/avrdude/avrdude.conf -v -patmega328p -cstk200 -t avrdude> dump ser >>> dump ser 0000 1e 92 95 ff 0f bc 00 26 ff 09 ff 17 ff ff 57 39 |.......&. ....W9| 0010 33 33 35 34 ff 14 12 09 17 05 12 09 13 09 ff ff |3354... ... . ..| Gives the same output as the sketch. Found by a lot of trial and copy/paste, I still have no idea how the config file works. My apologies for not formatting in monospace. I wrote a little more at www.millstream-computing.co.uk/pages/posts/is-your-atmel-chip-genuine-17.php
Possibly they don't even need to change their masks... this data usually is in eFuses or (more likely here) some bits of flash that are programmed and made read-only during the wafer testing process. Should only take them a few tweaks to the automated test equipment scripts to fix this.
Hi, could someone Help me?! I want to include my own Boards in the Arduino IDE. I want it Like with the esp8266 boards, but I should Not be published. I hope you can Help me.
you don't have to do that - just buy a clone that uses genuine parts - you can still get those pretty cheap. Even I sell a breakout with the boot loader for $10 and my parts are all sourced through Digikey. You might want to check out the first video linked to in the description on reasons why genuine parts matter. lol, nice user name btw!
To support the organization that made all of this possible and still developers the IDE? I buy generics, but I think that everyone should buy /something/ genuine from Arduino to support their work. No overpriced Arduino sales = no Arduino.
@@antibrevity ppl actually use the shitty arduino IDE? Damn.. I feel their pain. No overpriced arduino = no arduin = finally getting ppl to move over to proper IDEs.
@@jimstand I don't care what they use. I was trying to find a reason why would you support overpriced piece of crap that does nothing.. the compiler is not from arduino, the mcu is not from arduino, most of the libs are not from arduino... not to mention the whole aruino project is open source and most of the push forward was made by ppl that are not part of Arduino.. not to mention the "clones" (what exactly are they cloning?! ; it's not the IDE) are many times upgraded with fixes arudino never put out (beffier lin. regulators, extra holes next to pins, etc).
Since you have the capability to test the low-power performance on these, why not try to establish a correlation between the register dump and the performance? If there isn’t any, then the register values aren’t good indicators for this being a genuine or fake chip. Also, have you contacted Atmel? What do they have to say? Maybe they’d recommend a way to tell these apart.
yea, almost positive that the all 0xFF register dumps will have high sleep currents, but I will check that tomorrow and report back here, just. so. we all know for sure - that one that was sent to me was +100uA high, but will test the others. Also, have not reached out to Microchip(Atmel) about this yet. Maybe forum post?
ok, so not worth making another video, bit all of those boards shown in the video just had their low power capabilities tested. Of course, first I had to remove the regulator and LED from the boards, then source externally with 3.3V. the pro-minis that failed the "dump" test with 0xFF's, read over 100uA in the lowest power test - the pro-minis that pass the dump test are in the nano amps, which lines up with the known good samples from Digikey
@@Kevindarrah Are you related to Peter Darrah of AMD?
I've been doing both tests (signature and lowpower) on a bunch of MEGA328P and PB chips: all of them are consuming in the range of nanoAmps, but surprisingly one of them has a weird signature, similar to the second dumb on the video. It's also marked as coming from Korea. I don't know what to think about it...
I just bought 3 ATmega328P-PU (production year 2022) at Aliexpress and thought I test them. The register dump looks suspicious with a lot of FF's. However, deep-sleep current consumption is normal (around 150 nA), high-voltage programming works, and even debugWIRE is working. So, I guess it is the real thing. Here are the register dumps:
boot sig dump
1E AA 95 FF F FF FF 26
FF FF FF FF FF FF 58 FF
DF FF DF FF FF FF FF FF
FF FF FF FF FF FF FF FF
boot sig dump
1E B1 95 FF F FF FF 26
FF FF FF FF FF FF 58 FF
DF FF DF FF FF FF FF FF
FF FF FF FF FF FF FF FF
boot sig dump
1E D4 95 FF F FF FF 26
FF FF FF FF FF FF 58 FF
DF FF DF FF FF FF FF FF
FF FF FF FF FF FF FF FF
Important video and topic, so thanks for following this story and doing such a thorough investigation!
Excellent video! Thank you for sharing an easy way to possibly identify a counterfeit atmega.
for some projects its fine to use cheaper ones that are not real, good video to make us aware of it most importantly and very interesting video about the sleep current as well, thank you
Clones are OK as long as they're clearly labeled.
@@JendaLinda yeah, i agree, why not label them because for the price its kinda obvious anyways, would be better to not pretend to be original at all, they will still sell imo
yep, exactly, they're not garbage, just not going to do anything fancy with them
@@Kevindarrah exaclty, its great you pointed out the difference so its even more clear where or for what project to use it or not, excellent video as always
Amazing! Appreciate for all these three related videos. Really help! Best~
I'm sure the counterfieters will up their game in the arms race and patch this, but great job, I'm sure this will work on a bunch of counterfiets already in the wild!
yea, probably!
Neat! I have a handful of 328P devices from different sources in a box somewhere. I’ll try this out when I have a chance!
that would be awesome!
I've tested my Nano clones (with CH340 USB-serial chips) and they seem to use genuine Atmel MCUs.
Decap
Aren’t they simply LGT8F328P chips with a “custom” laser etching ?
I ran this sketch on a LGT8F328P green Nano clone and it gives a completely different return
boot sig dump
C 94 0 3A C 94 5D 0
C 94 5D 0 C 94 5D 0
C 94 5D 0 C 94 5D 0
C 94 35 0 C 94 5D 0
The extra information is likely to be manufacturing data, such as lot number (the way to record which wafer is which), possibly X and Y location on the wafer, and other test information. Many devices have this information programmed during testing, but the way it is stored is usually confidential and needs a special sequence to access. That might explain why the numbers from the genuine parts only differ slightly. This information is invaluable in the case that the manufacturer receives customer returns (parts which have failed in the field), as it allows analysis to see if the "failed" parts all came from the same wafer or were manufactured in the same month (for example).
It's not just the low power that's different - I just ran some extensive calculations on both genuine and non-genuine chips. The fake ones took 1.6 times longer to execute the same code..
Great catch, only problem is this will also expose to those who create these what else to change to hide within the mass on legit chips...
yep, I know...
Yes but not so easy to change. Requires at least one metal mask change. Maybe more. Pretty expensive.
Awesome, thank you so much to spare your time to sharing many think about electronics
Great like we don't have enough work to do lol, now we have to go through all our pro minis:) Appreciate the work you have done here. Btw what is the RTC part number on the trigboard 8, hardware info on the wiki seems to be missing.
lol I know! Yea, RTC is RV-8263-C7 and on the hardware page on the docs: trigboard-docs.readthedocs.io/en/latest/Hardware.html
@@Kevindarrah oh awesome I must have mssed this page, thank you!
Great video and walkthrough 👍
Thanks for sharing 👍😀
All chips (13) I got between 2017~now turned up to be genuine parts. Thanks for your quick test-check. Worth thinking of changing your eBay & Amazon cheap'er part supplier perhaps? Recommend the folks on Aliexpress for genuine "and affordable" parts since they buy in bulk these guys, as opposed to those hiding behind the credibility of American ecommerce platforms selling plain and obvious fakes.
I just received an order of 5V Pro Mini's via slow rowboat (initiated via eBay). At ~$2/ea I really expected them to be counterfeit. Pleasantly surprised to see they checked out to have values close to the results expected for valid units. Now I'd feel better ordering a few more lots, who could ever have enough on hand???
good to hear!
Just received my first Pro Mini by mail two weeks ago (I want to try that radar thing you did - got the same Bushnell radar btw). I'll test the Pro Mini with your above code soon.
yea, and that project required pretty good ADC readings, so would be a good test. I don't know if this test will work on the 32u4 though, unless you're trying to get it to work with the 328P
I feel that Atmel should release an oficial way to identify counterfeits
yea, that would be nice
It wouldn't be too smart to do that as a manufacturer, because then the fakers can adapt to the test strategy.
The manufacurers however usually do answer e-mails when you ask if they can tell if the chip is real or not. At least ST does that with counterfeit STM32F103 chips.
@@crasbee not if the system is only on their website, where you can insert these random hex values and it tells you.
A lot of FF...!
Looks link has a new serial in there, different manufacture kinda make sense!
The byte 0x0E to 0x17 by my tests is a serial number.
On the suspicious chips has a lot of 0xFF but is not the same if you compare the two chips has one byte different. (if you share more samples could be cool).
The other thing is the byte 0x18 to 0x1d, always looks like a date. On the suspicious chips some 0xFF...
Suspicious...
Thanks for sharing.
Yes, 0x0e to 0x17 is the serial according to (page 322) ww1.microchip.com/downloads/en/DeviceDoc/40001906A.pdf
@@ascuber4650 This datasheet is from Atmega328PB (version B), the version Atmega328P datasheet doesn't have an official serial number.
Have 15 prominis (aliexpress) 2 of those are 3v3 8Mhz rest 5V 16mhz. All seem to be genuine. Bought them i think 5 yrs ago at least
Yo know the Internet is gonna reverse engineer those bytes and figure out what they are used for now, my guess would be a serial number, batch number, factory ID and date.
That would be amazing. We didn't have that capability on "Arduino" AVRs yet. It's a feature I find most useful on the STM32 so I can tell them apart even when they run the same code. E.g. MAC address cretion, etc without changing it before you upload it to each board.
Good job!
Great work Kevin👍
Excellent sleuthing! 🏆
Just tested with a $1.50 aliexpress clone and got all FF's
F
dang! well just be careful if something isn't quite working right. For most projects, you probably won't even notice
I had bought 16 of them from ebay for $2.00 each and they also give me mostly FF's
Just tested my Arduino Uno-compatible. Not a real ATMEGA328, it seems, but then it was only £7.27 incl. P&P!
It does seem that there is a pattern between the fake and real ones. I will keep this in mind in the future, thanks again!
What are your thoughts on the relationship between solder flux and sleep currents? Do unclean boards do worse?
How do you know that the ones that are close but slightly different aren't just better fakes?
You don't and it does not matter for hobbyist, just don't use these cheap chips on life support or critical application.
@@demoncloud6147 it matters if you want to support the company who made it, or just out of curiosity. Knowing is good even if you still use the chip.
√9 = 3 , got it👍
that's nothing, you should see my calculator history :)
I have had exactly the same issue with and STM32F103C8T6. Same chips as on a Blue Pill. I worked for days trying to get USB bootloader to work. Finally bought a few from mouser and they worked the first time! Ugh 🤦🏻♂️.
yea, that's brutal debugging right there
Hey kevin, I landed at this video when I was trying to upload code into my MCU on custom boards of mine. The exact marking on the part is as following
MEGA328P
U - TH
354730
2009YG0
I am having lot of trouble uploading code into this. It has fuse bits set to 00 for all (L,H,E and lock bits too) I am not understanding what to do and how to recover it. Please suggest.
Sir how can you program arduino atmega328 pro mini as auto shutdown hardware?
Great Stuff!!
Hmm could you maybe ask them to compare the counterfeit chips with LGT8F328P?
What is an clone chip of the atmega328p
yea good point!
I found the LGT8F328P to be a useless chip. No 1) You cannot use the EEPROM function like with normal NANO. I found that only every 2nd and 3rd byte of memory works. (Eg, Addr 0,1 bad, 2,3 good. 4,5 bad, 6,7 good etc). Also, using interrupts does not work. It only allows for external interrupts. Using I/O change interrupts that all Arduino chips support, does NOT work with the LGT8F328P.
I bought 10 of these clones because of the 12bit AI (0..4096) and the slightly faster clock frequency. But apart from that, I found the clone completely useless for the projects I've successfully with the Nano
@@jacquesvermaak373 Is that according to the official specifications for these chips or did you get bad chips?
@@Kevindarrah There is also another clone found on the WAVGAT pro mini with labeling "WAVGAT AVGA328P". Probably just a re-labling of the logic green one.
@@bonnome2 I have not read anything about the chips. Maybe I got a bad bunch. Tested about four of them and all had the same result.
Whats the fuzz if they work as expected by the avarage user ?
IMHO there is no need to test if they can do extreme specs like their origins, as long as they do the work.
Would this work for the nano v3
Scratch that, just seen its for any 328P
It works for Nano and Uno as well.
@@JendaLinda thank you, very much appreciated,
Thank You
i have one of these boards. they are shitty... high sleep current and the ADC is very inaccurate... 0.3 volt error
does the boot sig look the same on the same genuine chip on different boots?
how to test arduino mega 2560 to see if it fake??????
Is there a similar test for esp8266/32?
Will it work for the nano as i just got about 20
Wait...my pro Mini from Kafka and Camus Electronics isn't REAL?! How absurd!
Thanks for this..
Will this work as a general test to distinguish genuine and counterfeit boards for all the Arduino models?
This is what I got on an Arduino 2560:
Arduino 2560 R3 genuine:
boot sig dump
1E 4F 98 FF 1 FF FF FF
ED FF FF F7 FF FF 57 32
39 30 38 39 FF 7 15 F
17 8 12 7 13 7 FF FF
Arduino 2560 pro mini clone:
boot sig dump
1E A9 98 FF 1 FF FF FF
ED FF FF F7 FF FF 6E 75
6E 6B 77 6F FF 0 4 3
17 1 12 8 13 8 FF FF
I don't know if that simply means that the clone has good components - or if anything can be concluded since the boards do not use the ATMEGA328 that you wrote the code for.
Edit: I believe this should work on any Arduino models with Atmel AVR microcontrollers - does not work with teensy, from PJRC, for instance - I did test myself. The library used in the sketch: avr/boot.h should work with all AVR microcontrollers.
It would be interesting to know what performance deficits exist for clones of Atmega 2560 in addition to what you've shown for the Atmega 328P.
Well that looks pretty good, so should give you a little warm and fuzzy about it. I think I might have one of those cheap boards around here too, maybe I'll test out on my end.
@@Kevindarrah I tested with two Arduino Uno clones (328P) that have ch340g chips onboard - test returned with no issues in the unique id's (I don't have a proper Arduino Uno to compare against, though). So perhaps the test does not catch all counterfeit 328p (A negative cannot prove a chip is not counterfeit, but a positive can prove that the chip is counterfeit). I'll keep an eye out for your future videos - You have one more subscriber. This is super interesting.
Cheap Chinese knock-offs are not uncommon. About 5 years ago, FTDI got tired of all of the fake USB to serial converters marked as FTDI devices, so they changed their driver to purposely brick the fake devices rendering them inoperable. This obviously bricked all of the boards that the fake devices were on. So, instead of going after the manufacturers (which would have been an impossible fight), the consumers of the boards that contained these chips (who had no idea the "FTDI" device was fake) were the ones that suffered. I remember seeing an X-Ray of a fake chip that actually contained a repurposed micro that was programmed to act like the FTDI device. It's incredible that the Chinese companies go through all the trouble of making the fake devices but they totally miss simple things like memory locations or functions that don't operate like the original. It's obvious that they don't really care how it works, they just want to make the sale and not worry about what happens next (because the Chinese government will defend them).
That’s such a dick move from whatever executive or manager decided to “solve” that issue. I’m sure they could have come up with a better solution
Yes but this is different, they had to make the chip only compatible with the ftdi driver.
These counterfeits run the same avr instructionset.
This requires considerable more resources to pull off.
oh I remember that one - FTDI GATE!
The annoying part was the reason for all the fake FTDI serial chips in the first place was the difficulty in getting their chips in the first place.
When they are available, they are way more expensive than they should be, costing more than the micro they are attached to.
I had to order some FTDI chips this year, the first order from one supplier still hasn't shipped (restocking date keeps shifting), had to order more from another supplier to actually get something.
Interesting. Out of a five recently purchased five nanos from the same seller, two appear genuine, two appear fake. The genuine have a date code 2005, the fakes are 1930 ? and 1903 with really crap laser engraving.
The other nano is running a light show so I've no idea if it's genuine or not. No sleeping during the show though so I'm sure it'll be fine.
Edit:
It's possible to use avrdude to get the same data as the sketch. If you are using avrdude to program your chips then this may be simpler. You need to edit avrdude.conf though. To do so find the Atmega328 section and just above the last "part parent "m328"" insert the following:
memory "serial"
size = 32;
read_hi = "0 0 1 1 1 0 0 0", "0 0 0 x x x a9 a8",
"a7 a6 a5 a4 a3 a2 a1 a0", "o o o o o o o o";
read_lo = "0 0 1 1 0 0 0 0", "0 0 0 x x x a9 a8",
"a7 a6 a5 a4 a3 a2 a1 a0", "o o o o o o o o";
;
Save it and run avrdude in terminal mode. You should see an extra option to dump serial. As an example:
avrdude -C/etc/avrdude/avrdude.conf -v -patmega328p -cstk200 -t
avrdude> dump ser
>>> dump ser
0000 1e 92 95 ff 0f bc 00 26 ff 09 ff 17 ff ff 57 39 |.......&. ....W9|
0010 33 33 35 34 ff 14 12 09 17 05 12 09 13 09 ff ff |3354... ... . ..|
Gives the same output as the sketch. Found by a lot of trial and copy/paste, I still have no idea how the config file works.
My apologies for not formatting in monospace.
I wrote a little more at www.millstream-computing.co.uk/pages/posts/is-your-atmel-chip-genuine-17.php
Have you contacted Atmel / Microchip for their comments.? They may be fake, but there may be another reason.
Hello mr KEVIN,would you make a video on how to solve"fatal error"on esp32 camthanks in advance
It's open source; how can it be "counterfeit"?
Arduino is open source. The Atmega328p is not.
avrdude was my grandpa !
nice, but what's the real IMPACT having a non-genuine 328P ???
Did you find any errors in executing code, timing faults or other suspicious things?
Watch the first video in this series
Ha, Ha, Ha, They will fix that on the next wafer iteration.
lol, I know!
They are retooling right now.
Possibly they don't even need to change their masks... this data usually is in eFuses or (more likely here) some bits of flash that are programmed and made read-only during the wafer testing process. Should only take them a few tweaks to the automated test equipment scripts to fix this.
Hi, could someone Help me?!
I want to include my own Boards in the Arduino IDE. I want it Like with the esp8266 boards, but I should Not be published. I hope you can Help me.
Now Chinese chip manufacturers will start putting random bytes instead of 0xff after this vid 😂. I just don't get how much they earn for fake chip.
ha, I know that's what everyone is saying... oh well
Why on earth would you buy original overpriced arduino??
you don't have to do that - just buy a clone that uses genuine parts - you can still get those pretty cheap. Even I sell a breakout with the boot loader for $10 and my parts are all sourced through Digikey. You might want to check out the first video linked to in the description on reasons why genuine parts matter. lol, nice user name btw!
To support the organization that made all of this possible and still developers the IDE? I buy generics, but I think that everyone should buy /something/ genuine from Arduino to support their work. No overpriced Arduino sales = no Arduino.
@@antibrevity ppl actually use the shitty arduino IDE? Damn.. I feel their pain. No overpriced arduino = no arduin = finally getting ppl to move over to proper IDEs.
@@habiks Why do you care what other people use for an IDE? Do you also care whether they like Coke or Pepsi?
@@jimstand I don't care what they use. I was trying to find a reason why would you support overpriced piece of crap that does nothing.. the compiler is not from arduino, the mcu is not from arduino, most of the libs are not from arduino... not to mention the whole aruino project is open source and most of the push forward was made by ppl that are not part of Arduino.. not to mention the "clones" (what exactly are they cloning?! ; it's not the IDE) are many times upgraded with fixes arudino never put out (beffier lin. regulators, extra holes next to pins, etc).
They will cheat you for few cents savings in the product.
I think, not only manufacturing cost but license fee too add up.
@@nitinkumar29 Right.
And I hope Microchip/Atmel will fight against the clones using their name and/or part numbers.
Honestly, who cares as long as it works. If you want/have to work with genuine Arduino you certainly don't buy on Aliexpress
you know if it cost 2$ LOL
yea, maybe that's easier :)