logo elektroda
logo elektroda
X
logo elektroda

Counterfeit ATtiny/ATmega microcontrollers in DIP housings

RomanWorkshop 4911 23

TL;DR

  • Counterfeit ATmega88PA-PU microcontrollers in DIP28 housings from AliExpress were examined after delivery, with one chip damaged and the other showing suspicious markings.
  • The fake parts had sanded tops and reapplied lettering; acetone removed the top print, while the original laser-engraved markings on genuine parts would not dissolve.
  • One working chip returned signature 0x1E930A, and both samples carried the same top date code “1910,” suggesting a single production batch.
  • Testing pointed to an ATmega88A-D variant: it flashed an LED at 4 MHz/1.8V, and a refund dispute succeeded without returning the chips.
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Counterfeit ATmega88PA-PU microcontroller with sanded and reapplied labels.
    While shopping on AliExpress, I noticed that a certain shop also has ATmega88PA-PU microcontrollers in DIP28 cases, so I ordered 2 pieces (price under 6 zł. per piece). After 8 days of dispatch, the package arrived. The writing on the microcontrollers looked quite good, but the signature read in the programmer no longer. One piece had two pins internally damaged and the signature could not be read at all - to be thrown away. The other one was used - it had the signature 0x1E930A correct for ATmega88(A/V), some program was uploaded and the fuse bits changed. Evidently a fake with the top of the case sanded down and new lettering applied, which had worn off when exposed to acetone. The original lettering is laser-engraved, so it is impossible to remove with acetone or any other solvent. Both pieces had identical dates ("1910" = week 10 of 2019) suggesting they came from a single production batch. .
    .
    ATmega88PA-PU microcontroller with visible markings on the casing.

    Counterfeit top lettering with false
    model and date of manufacture of the system.

    Photo of ATmega88PA-PU microcontroller in DIP28 package with fake markings.

    Upper inscriptions rubbed off under the influence of
    acetone (grinding marks visible).

    ATmega microcontroller with visible markings.

    Non-counterfeit lower-case lettering with a true-
    version/revision lettering and date of manufacture of the
    layout.
    .
    This also turned out to be a hoax after looking at the lettering on the bottom of the case, which was not forged (perhaps it needs too much work). The ATtiny/ATmega microcontrollers in the DIP cases, have a second production date (green box) and a letter on there to indicate the version/revision of the chip (red box). In the pieces ordered, these dates were different: "0936" (36th week of 2009) and "0808" (8th week of 2008).

    At this point I knew that I had 1 working piece of the ATmega88/88A/88V. Now I wanted to find out which specific model I had. The ATmega88V model can be identified by the fact that it should not operate at clock frequencies above 10 MHz (e.g. with a 20 MHz quartz at supply voltage Vcc = 4.5-5.5V). If the microcontroller is operating at this frequency, two possibilities remain: ATmega88 or ATmega88A. The ATmega88A model can be recognised by the fact that it should operate at a clock frequency of 4 MHz and a supply voltage of Vcc = 1.8V (a normal ATmega88 should only operate from 2.7V). The second feature of the ATmega88A model is its lower current consumption, which, at 8 MHz and Vcc = 5.0V, is: about 5mA for the ATmega88 and about 4mA for the ATmega88A (the measurement conditions are described in the datasheet note, but in practice they are difficult to obtain and measure the current with such accuracy).

    In summary, after testing, all indications are that I have the "D" version of the ATmega88A (it works at 4 MHz/1.8V - it flashes the LED, while, for example, the ATmega48-20PU does not work under such conditions). I have set up a dispute for a refund (I have attached pictures of the microcontroller, screenshots of the programmer and a description of the inconsistencies in the markings), which were received several hours later. I did not have to return the received chips. Despite the scam, I am still ahead by one "paint job", although it is not entirely clear whether it is fully operational.

    Useful links:
    http://romanworkshop.blutu.pl/avr/tips.htm - page with information about AVR microcontrollers (designations, parameters, signatures).
    http://romanworkshop.blutu.pl/proj/avrdb.htm - program with basic information (parameters, signatures, default fuse bit values).

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    RomanWorkshop
    Level 14  
    Offline 
    RomanWorkshop wrote 218 posts with rating 416, helped 2 times. Been with us since 2013 year.
  • ADVERTISEMENT
  • #2 21161543
    Sam Sung
    Level 33  
    Posts: 2001
    Help: 227
    Rate: 570
    Well, interesting. And can anything be said about my ATtiny13A for less than a dollar?
    ATtiny13A microcontroller with marking 2309SKY Image of an ATtiny13A microcontroller with markings on the top surface.
    Inscription from above: ATTINY13A 2309SKY
    Inscription from below: C 87
    The signature agrees with the catalogue note (1E,90,07).
    Another issue:
    2 bits of address are defined for the Read Signature Byte command, and 1 bit of address is defined for the Read Calibration Byte command. However, reading a further area returns some data. They are repeated every 16 bytes. Is it perhaps known what these further bytes mean? What is mapped there?
    Signature: 1E 90 07 FF FF FF FF 55 30 48 30 08 8E 16 1E (from 8-11 in ASCII: "U0H0")
    Calibration: 5E 65 FF FF FF FF FF FF 34 39 2E 30 85 A2 06 15 (from 8-11 in ASCII: "49.0")
    And on an old ATtiny2313-20PU with decent, clear captions and I think the date 0623 looks like this:
    Signature: 1E 91 0A FF ED FF FF 46 30 31 FF 17 17 12 13 FF
    Calibration: 5B 57 FF FF FF FF FF 36 37 31 02 3D FF FF FF FF FF
    Can this somehow be used to detect fakes?
  • #3 21161583
    RomanWorkshop
    Level 14  
    Posts: 218
    Help: 2
    Rate: 416
    The signature for the ATtiny13/13V/13A microcontrollers is identical, so no specific model can be determined from it. A test with acetone would clarify whether the inscriptions are original, as they look suspicious: production date "2309" = week 9 of 2023 with Atmel's logo when it was acquired by Microchip in 2016 and on such new chips, rather the latter's logo should be placed. You would need to do a performance test at 20 MHz/5V to rule out the ATtiny13V version. Then a performance test at 4 MHz/1.8V to confirm the ATtiny13A version (ATtiny13 only works from 2.7V).

    As for reading data outside the described area, I haven't researched the subject, but there is unlikely to be anything useful there (random bytes).
    Helpful post? Buy me a coffee.
  • #4 21161592
    gregor124
    Level 28  
    Posts: 1458
    Help: 91
    Rate: 798
    RomanWorkshop wrote:
    2309" = week 9 of 2023 with the Atmel logo when it was acquired by Microchip in 2016 and on such new chips, it should rather have the latter's logo
    .
    Not quite, I have new chips purchased directly from Microchip with a production date of 2021 with the Atmel logo.
    Helpful post? Buy me a coffee.
  • #5 21161600
    RomanWorkshop
    Level 14  
    Posts: 218
    Help: 2
    Rate: 416
    >>21161592 .

    Of course this may be the case, Atmel's trademarks belong to them, so they use them on their 'new' chips. This way it's even easier to distinguish AVR microcontrollers from PICs, and users also have more confidence in a well-known logo.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #6 21161619
    TechEkspert
    Editor
    Posts: 7047
    Help: 16
    Rate: 5458
    Interesting investigation, and it's quite a mine you can get into if you buy a larger series from such a source....
  • #7 21162079
    zgierzman
    Level 31  
    Posts: 1776
    Help: 108
    Rate: 1537
    Respect to the Author for the meticulous investigation.

    Chinese repainting is a known problem, especially with hard to find and expensive parts. Repaint a transistor for 10 cents and sell it for $90 to some audiophile equipment repairman.... There's a profit to be made, then a month later the shop name is changed and it drags on indefinitely. Bonanza.
    But here I don't understand the point of this business. We're dealing with an original ATmega, the model seems to match too, just the date repainted.... WTF?
    If they sold for the price they are selling for (half the price from Mouser), with the original markings, adding the annotation "programmed" in the description, customers would probably not be lost.
    It is well known - they will prepare a million watch or RLC component tester kits, and 800,000 will be sold. A heap of components remains, which also need to be liquidated. If they did it honestly, maybe they would have a better turnover than on these scams. Because now they only prey on the thrifty, who would rather buy for 6 PLN from a Chinese than for 12 PLN at Mouser.... And it's a one-off until the guy gets burnt, like Roman. If they approached the matter honestly, various less-affluent hobbyists and small-batch tinkerers might even arrive as regular customers...?

    Screenshot of Microchip ATMEGA88PA-PU listing on Mouser Electronics website. .
  • ADVERTISEMENT
  • #8 21163408
    szeryf3
    Level 30  
    Posts: 2046
    Help: 12
    Rate: 671
    @RomanWorkshop I thought the Chinese had stopped this practice already.
    But they still dispose of electro-waste.
    How much does it cost them to do an hour's work if they are still repainting the circuits as ordered by the customer?
  • #9 21163641
    elektryku5
    Level 39  
    Posts: 6292
    Help: 459
    Rate: 1049
    As if to give anyone pause for thought, how is an Arduino from China cheaper than the Atmega itself used in it.

    Likewise, by the way, with 32F103s sitting in various modules....
  • ADVERTISEMENT
  • #10 21163739
    Sam Sung
    Level 33  
    Posts: 2001
    Help: 227
    Rate: 570
    I have read on avrfreaks that the signature and calibration area is actually an extra page of flash.
    How to look at the ISP commands:
    0010 H000 0aaa aaaa bbbb bbbb - Read Program Memory
    0011 0000 000x xxxx xxxx xxbb - Read Signature Byte
    0011 1000 000x xxxx 0000 000b - Read Calibration Byte
    
    it can be seen that accessing the signature and calibration is similar to reading Program Memory (only 0011 instead of 0010), with the signature being in the less significant word bytes of that extra flash page (H=0) and the calibration in the more (H=1).
    If I rearrange the bytes read from the ATtiny2313 as signature and calibration (given in the previous post), it comes out
    5B 1E 57 91 FF 0A FF FF ED FF FF FF 36 46 37 30 31 31 02 FF 3D 17 FF 17 FF 12 FF 13 FF FF FF
    The bytes underneath offsets 14-19 give in ASCII the string 6F7011 , which is written on the underside of the microcontroller on the first line:
    Black DIP microprocessor with alphanumeric markings on the top surface. .

    And on the eevblog it is stated that with the undocumented command AC C0 (differing only by one bit from Chip Erase = AC 80) this extra flash page can be erased and then we have FFs instead of signature and calibration data.

    Presumably there is also an undocumented command to save this flash page, so it may turn out that this data was also swapped during the "refurbishment", i.e. relying on the signature to detect fakes may be illusory....
  • #11 21163988
    RomanWorkshop
    Level 14  
    Posts: 218
    Help: 2
    Rate: 416
    >>21163739 .

    An interesting topic, requiring further investigation on various microcontroller models. I was particularly intrigued by the serial number from the case, stored in a "hidden" area of FLASH memory, which in my opinion should be read-only (as is the signature). Even if the counterfeiters know a way to change the signature, they don't use it, because in the case of my chips the signatures don't match the model on the case. They don't even change the bottom lettering on the case (which, after all, could be done by machine), let alone take the time to (rather manually) reprogram each chip (if this is even possible). This would not be cost-effective at such low prices per unit.
    Helpful post? Buy me a coffee.
  • #12 21164069
    gregor124
    Level 28  
    Posts: 1458
    Help: 91
    Rate: 798
    These extra bytes after the 3 signature bytes and the calibration byte are Serial Number bytes otherwise (unique device ID).
    They can be read when reading the signature or, for example, from the program level by reading the I/O addresses 0xF0 - 0xF8 (SNOBRx).
    Helpful post? Buy me a coffee.
  • #13 21164091
    RomanWorkshop
    Level 14  
    Posts: 218
    Help: 2
    Rate: 416
    >>21164069 .

    It's just that these concepts were only introduced in the documentation of the ATmega48/88/168/328PB microcontrollers, which are completely new chips (they have additional features), although compatible with previous models. Before that, nobody knew that a whole separate page of FLASH memory, contains some additional information (including the serial number from the case).
    Helpful post? Buy me a coffee.
  • #14 21164146
    gregor124
    Level 28  
    Posts: 1458
    Help: 91
    Rate: 798
    @RomanWorkshop
    It's not as if a given layout is created once and for all. Errors happen not only in the editing of instructions, but also in the designed layouts. And this is why, for example, Silicon Errata and Data Sheet are created.
    Sometimes the errata include suggestions on how to get around the error. E.g. STM32F103 CRC counting circuit error - errata suggests not to use CRC counting circuit ;) . But maybe someday they will correct this, although at today's rate of introducing new chips I doubt it ;) .
    This, among other reasons, is why serious applications still use 8-bit chips ;) .

    Sometimes certain solutions appear in the circuits earlier than in the datasheet. And there are also times when, for example, information appears in the datasheet that relates to circuit revisions that for some reason never make it into production.
    You just have to keep track of the different revisions, and sometimes you can look for these solutions in earlier chips and you may find that something was implemented in some versions of the chip, but e.g. in earlier ones it was not there, and e.g. in the manual it appeared later.
    However, this does not mean that if, for example, we have 2 chips with a commercial name, e.g. Atmega88, and in one after reading the ID we have some additional data, and in the other there is none, that the second one is a fake. It could be e.g. a different silicon version.

    I have checked new chips bought directly from Microchip and signed Atmel, there is no printing on the bottom on any of the last years I have.
    Helpful post? Buy me a coffee.
  • #15 21164180
    RomanWorkshop
    Level 14  
    Posts: 218
    Help: 2
    Rate: 416
    >>21164146 .

    The information about the additional data in the "hidden" FLASH memory, has been completely concealed by the manufacturer. I suppose that the serial number from the case is also stored in the memory of every newer model (e.g. ATtiny13, ATmega8). This can be checked, but to a rather limited extent (it is hard to get the first copies of a given microcontroller).

    gregor124 wrote:
    I have checked new chips purchased directly from Microchip and signed Atmel, there is no printing on the bottom on any of the last years I own.


    I have one copy from 2020 and it too has no markings on the bottom of the case (it just has a 5-digit number with the version letter at the top). Apparently they have stopped putting these markings on for some year now (maybe due to cost saving).
    Helpful post? Buy me a coffee.
  • #16 21164667
    RomanWorkshop
    Level 14  
    Posts: 218
    Help: 2
    Rate: 416
    However, the signature, calibration data and other 'hidden' information, are stored in ordinary FLASH memory, which can be erased even accidentally during serial programming. In this topic someone found a mention of such a possibility in the catalogue note (errata) of the ATmega8(L) microcontroller.

    Quote:
    3. Signature may be Erased in Serial Programming Mode .
    If the signature bytes are read before a chiperase command is completed, the signature may be erased causing the device ID and calibration bytes to disappear. This is critical, especially, if the part is running on internal RC oscillator.

    Problem Fix / Workaround: .
    Ensure that the chiperase command has exceeded before applying the next command.
    .

    This mention no longer appears in any other catalogue note. The instruction to erase the "hidden" FLASH memory is known, only the instruction to program this area is still missing and the signatures, calibration data and serial numbers of the AVR microcontrollers can be changed at will.
    Helpful post? Buy me a coffee.
  • #17 21164988
    gregor124
    Level 28  
    Posts: 1458
    Help: 91
    Rate: 798
    RomanWorkshop wrote:
    This change no longer appears in any other catalogue note. The instructions for erasing the "hidden" FLASH memory are known, only the instructions for programming this area are still missing and the signatures, calibration data and serial numbers of the AVR microcontrollers can be changed at will.
    .

    How does it not appear?
    After all, it is in this document:
    https://ww1.microchip.com/downloads/aemDocume...mega8A-SilConErrataClarif_DS80000853A.pdf.pdf
    to which the link is in the ERRATA section, which can be found here (latest data sheet released):
    https://ww1.microchip.com/downloads/aemDocume...ataSheets/ATmega8A-Data-Sheet-DS40001974B.pdf

    As further errors are detected, the document with the description of the corrections will be updated and a link to it will be included in the updated data sheet.
    Helpful post? Buy me a coffee.
  • #18 21169245
    RomanWorkshop
    Level 14  
    Posts: 218
    Help: 2
    Rate: 416
    I have looked through the AVR microcontroller catalogue notes I have and find that the manufacturer has not always completely suppressed information about the 'hidden' side in FLASH memory, which contains, among other things, the signature and calibration bytes. In most notices the only mention of this area of memory is:

    "The three bytes reside in a separate address space." - this refers to the 3 signature bytes residing in a separate address space.

    "This byte resides in the high byte of address 0x000 in the signature address space." or "These bytes resides in the signature row high byte...". - refers to the calibration byte(s), located in the signature address space.

    Much more information can be found in the ATtiny24/44/84, 25/45/85, 441/841, 828, 1634, 2313A/4313 microcontroller notes under "Device Signature Imprint Table". There, a table is shown which contains the addresses and descriptions of the various parts of the "hidden" memory area. Apart from the signature and calibration bytes, the remaining data in this area is described as "Reserved for internal use" - reserved for internal use.

    Table from the ATtiny24/44/84 microcontroller note:

    Device Signature Imprint Table showing addresses and data for microcontroller memory. .

    Only in the ATtiny441/841 microcontroller note, the table contains additional descriptions: The 6-digit production lot number ("Lot number xxx character"), the silicon wafer number ("Wafer number") and the XY-coordinate on the wafer ("X/Y-coordinate") from which the microcontroller core is derived:

    Device Signature Imprint Table showing memory addresses and descriptions for a microcontroller, including calibration data and serial numbers. .

    The 6-digit serial/production lot number, probably found at the same address in all microcontrollers that have it stored in "hidden" memory (e.g. ATtiny85, ATtiny441/841, ATtiny2313, ATmega328).
    Helpful post? Buy me a coffee.
  • #19 21170551
    RomanWorkshop
    Level 14  
    Posts: 218
    Help: 2
    Rate: 416
    I read the 'hidden' memory of the counterfeit microcontroller from the first post and found that the serial number from the bottom of the case ('8J6671') matched the one stored in its memory:

    921EFF93FF0AFFFF0CEEF7FFFFFF384A
    3636373107FF0724061719121913FFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFF2590
    .
    This allows us to assume that the signature has not been forged either.

    I have read the "hidden" areas from almost all the microcontrollers I own and found one whose serial number from the bottom of the case ("A9B98A") does not match the one stored in memory ("7U5533"). This is an ATmega328P-PU definitely bought in a Polish shop, but I don't remember in which one and when. The production date on the top of the case, agrees with the date on the bottom of the case. Could it be a mistake during production?

    891EFF95D60F26000BFF17FFFFFF3755
    3535333319FF2608021708120813FFFF
    FFFFFFFFFFFFFFFF69FFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFF0F34
    .
    Close-up of ATmega328P-PU microcontroller with manufacturer's markings. Microcontroller with markings A9B98A, 35473D, 1-P1727 e3 on the casing.
    Helpful post? Buy me a coffee.
  • #20 21170620
    zgierzman
    Level 31  
    Posts: 1776
    Help: 108
    Rate: 1537
    RomanWorkshop wrote:
    I read the "hidden" memory of the fake microcontroller from the first post and found that the serial number from the bottom of the case ("8J6671") matches the one stored in its memory


    Could it be, however, that this is no "fake" atmega, but a full-fledged prcesor from which the factory markings have been removed for some reason?
    For example, it was prepared to be sold in some device or kit, and, as you know, manufacturers of such toys like to grind down/flame the names of ICs. But the product didn't sell, and to sell the processors in bulk, you have to print the inscriptions again.
    And I still stand by the opinion from my previous post, that they would win more by writing honestly what and how, but this is just my opinion.
  • #21 21171602
    RomanWorkshop
    Level 14  
    Posts: 218
    Help: 2
    Rate: 416
    zgierzman wrote:
    Is this, however, not a "fake" atmega, but a fully-fledged prcesor from which for some reason the factory markings have been removed?


    Counterfeit due to the fact that the markings on the microcontroller's casing do not match, either with its signature or with the production date on the bottom of the casing (I bought a 2019 ATmega88PA model from appearance, while inside it is probably a 2009 ATmega88A). The reason for removing its markings, on the other hand, is another matter - it was certainly done on purpose.
    Helpful post? Buy me a coffee.
  • #22 21174495
    gregor124
    Level 28  
    Posts: 1458
    Help: 91
    Rate: 798
    @RomanWorkshop
    The idea is probably to sell unmarketable chips. Nowadays it would be hard to sell an ATmega88A, so someone e.g. bought a big batch from a distributor for nothing, polished it up and is trying to upsell it. And because it has an 'attractive' price, the dealers got tempted and now there is a lot of it. But it could also be that they have actually counterfeited the ATmega88A and, in addition, not enough that it is counterfeit.
    This one has the TAIWAN stamp and the others?
    Some chips have altered structures and it is possible, for example, to write a procedure to check exactly which version of silicon you are dealing with. But I see that only two versions of the 88A were sold and both with the same errors. Apparently they could not be easily eliminated or were not cost-effective. The situation is different with the 328P, for example.
    Perhaps the bugs were only noticed when the 328P was on the top and corrected in the last version.
    Helpful post? Buy me a coffee.
  • #23 21187371
    RomanWorkshop
    Level 14  
    Posts: 218
    Help: 2
    Rate: 416
    >>21169245 .

    There are even official articles on serial numbers, stored in microcontrollers: Link , Link .

    Quote:
    Question
    What are the MCUs with non-erasable unique ID in AVR 8 bit family?

    Answer
    Most classic AVR mega and Tiny devices do not have unique serial number except ATmega328PB/48PB/88PB/168PB. And all Xmega, megaAVR0 and ATtiny0/1 families have unique serial number which can be used to identify a specific device in the field.
    .

    Quote:
    Question
    How to read serial number in AVR - Mega/Tiny devices and what are the details of the serial number?

    Answer
    For the Mega and Tiny devices that provides Serial number, they have similar signature addresses for Lot Number, Wafer Number and X, Y coordinates. So, the following format may be used to read the Serial number for the Mega and Tiny devices. The details of the serial number are:

    Byte Address --------- Description

    0x0E --------- Lot Number 2nd Char
    0x0F --------- Lot Number 1st Char
    0x10 --------- Lot Number 4th Char
    0x11 --------- Lot Number 3rd Char
    0x12 --------- Lot Number 6th Char
    0x13 --------- Lot Number 5th Char
    0x14 --------- Reserved
    0x15 --------- Wafer Number
    0x16 --------- Y-coordinate
    0x17 --------- X-coordinate
    Helpful post? Buy me a coffee.
  • #24 21188001
    oscil1
    Level 23  
    Posts: 608
    Help: 48
    Rate: 164
    RomanWorkshop wrote:
    Counterfeit due to the fact that the markings on the microcontroller case do not match, nor its signature
    .
    Buy from official distributors and they will be good. You'll even know from which roll + all its information (this is by request, as it's more likely to be for production only, and there if any quality standards are applied then you don't often buy cut)
📢 Listen (AI):

Topic summary

✨ The discussion centers around the issue of counterfeit ATtiny and ATmega microcontrollers, particularly those in DIP housings purchased from AliExpress. A user reported receiving ATmega88PA-PU chips that appeared to be fakes, with one chip damaged and the other showing signs of tampering, such as altered markings that wore off when exposed to acetone. Other participants shared experiences with similar counterfeit products, including ATtiny13A microcontrollers, and discussed the implications of such counterfeits in the market. They noted that counterfeiters often sand down original markings and reapply new ones, leading to discrepancies in signatures and production dates. The conversation also touched on the potential for hidden serial numbers in the microcontrollers' memory, which could help identify genuine parts. Participants emphasized the importance of purchasing from official distributors to avoid counterfeit components.
Generated by the language model.

FAQ

TL;DR: One buyer ordered 2 cheap DIP chips and found one dead part and one remarked part; as the tester put it, "a fake with the top of the case sanded down." This FAQ helps AVR hobbyists and repairers verify suspicious ATtiny/ATmega DIP microcontrollers using markings, signatures, voltage/clock tests, and hidden serial data. [#21161408]

Why it matters: Very cheap DIP AVRs can be electrically usable yet still be remarked, misidentified, pre-programmed, or partially damaged, which can break prototypes, kits, and small-batch repairs.

Check Suspicious remarked chip More credible genuine chip
Top marking Rubs off with acetone Stays intact; laser marking resists solvent
Top vs bottom date Dates conflict, e.g. 1910 vs 0936/0808 Dates and revision data align
Programmer state Wrong model, changed fuses, old code present Expected signature and clean state
Low-voltage behavior May reveal older silicon family Matches datasheet behavior

Key insight: A readable AVR signature alone does not prove authenticity. The strongest practical check is to compare package markings, solvent resistance, electrical limits, and any hidden lot/serial data as one set.

Quick Facts

  • The reported purchase price was under 6 zł per chip, and the package arrived 8 days after dispatch; one part was internally damaged and one was usable but remarked. [#21161408]
  • In the suspicious ATmega88 case, the top showed date code 1910, while the lower markings showed 0936 and 0808, indicating inconsistent origin data on the same DIP package. [#21161408]
  • The working chip matched signature 0x1E930A, which fits the ATmega88/88A/88V family, so signature alone could not identify the exact variant sold in the listing. [#21161408]
  • A practical discriminator from the thread: ATmega88V should fail above 10 MHz, while ATmega88A should still work at 4 MHz and 1.8 V; plain ATmega88 should require at least 2.7 V. [#21161408]
  • For ATtiny13-family parts, one test example reported signature bytes 1E 90 07 and suspicious top text 2309SKY, yet the thread notes that top branding alone is not decisive because genuine Microchip-sold parts may still carry the Atmel logo. [#21161543]

How can I tell whether an ATmega88PA-PU bought on AliExpress is a remarked or counterfeit chip?

You can tell by checking whether the package markings, signature, and electrical behavior agree. In the reported case, the bought part was sold as an ATmega88PA-PU with top date 1910, but its readable signature was 0x1E930A and the lower-case markings showed much older dates, 0936 and 0808. One chip was also dead, and the other had code already loaded and fuse bits changed. That combination points to a used or re-marked AVR rather than a clean new ATmega88PA-PU. [#21161408]

Why do the top and bottom case markings on an ATtiny or ATmega DIP microcontroller sometimes show different production dates?

They can differ because the top was repainted while the lower markings were left original. The thread’s suspect ATmega88 showed a top code of 1910 but lower markings of 0936 and 0808, which cannot describe one fresh 2019 package consistently. A second explanation exists for newer genuine parts: some later Microchip-sold AVRs no longer carry the same bottom information style, so absence of bottom printing alone does not prove fraud. [#21161408]

What is the AVR signature row, and what kind of data is stored there besides the 3 signature bytes?

The AVR signature row is a separate memory area that stores identification and factory data beyond normal user flash. "Signature row" is a memory region that identifies the MCU, stores calibration or manufacturing data, and can expose bytes outside the usual 3-byte signature field. In the thread, participants described extra bytes that map to lot-number characters, wafer number, and X/Y die coordinates on some AVR families. Datasheet tables for some parts explicitly describe these addresses. [#21169245]

How do I use acetone and visual inspection to check whether ATmega or ATtiny package markings are original or repainted?

Use acetone as a quick surface-marking test, then inspect for sanding marks. 1. Wipe a small area of the top text with acetone. 2. Check whether the printed legend smears or disappears. 3. Look for grinding traces under the removed paint and compare top and bottom markings. In the reported case, the false top legend wore off under acetone, while the original lower marking remained and grinding marks became visible. The thread states original laser text should not dissolve in solvent. [#21161408]

What tests can distinguish an ATmega88, ATmega88A, and ATmega88V when the programmer reports the same signature family?

Use clock-and-voltage limits, because the shared signature family does not separate those variants. The thread says ATmega88V should not run above 10 MHz, so a stable 20 MHz test at 4.5–5.5 V rules out the V version. Then test 4 MHz at 1.8 V: ATmega88A should still work, while plain ATmega88 should only work from 2.7 V upward. Current draw can also help at 8 MHz and 5.0 V: about 5 mA for ATmega88 versus about 4 mA for ATmega88A under datasheet-like conditions. [#21161408]

Which voltage and clock tests help identify whether a DIP AVR is really an ATtiny13, ATtiny13A, or ATtiny13V?

Use the operating-limit tests, because the signature 1E 90 07 is shared across ATtiny13, ATtiny13V, and ATtiny13A. The thread recommends a 20 MHz / 5 V test first to rule out the V version. Then run a 4 MHz / 1.8 V test: ATtiny13A should work there, while plain ATtiny13 should require at least 2.7 V. That makes low-voltage behavior a stronger identifier than signature bytes when the package text looks suspicious. [#21161583]

Why can extra bytes appear when reading beyond the documented AVR signature and calibration addresses, and what do those bytes mean?

They appear because some AVRs expose a larger hidden flash or signature area than the short programmer commands suggest. One participant reconstructed bytes from an ATtiny2313 and found ASCII data matching the package string "6F7011" stored at offsets 14–19. Another participant said those extra bytes are serial-number bytes and can also be read through I/O addresses 0xF0–0xF8 on some devices. So the extra data is not random in every case; it can hold manufacturing identity fields. [#21164069]

What is a silicon errata document, and how can it help when checking AVR microcontroller revisions or hidden memory behavior?

A silicon errata document lists known chip-revision faults, hidden behaviors, and workarounds that the main datasheet may not explain clearly. "Silicon errata" is a revision-specific manufacturer document that records design bugs, undocumented behavior, and approved workarounds for a chip family. In the thread, errata was used to confirm that hidden signature-related bytes could disappear during serial programming on older AVR parts, and to show that revision differences do not automatically mean a chip is fake. [#21164667]

How can the serial number or lot number stored in hidden AVR flash memory be compared with the case markings to spot suspicious chips?

Read the hidden signature-area bytes, decode the lot string, and compare it to the lower package marking. In one counterfeit-looking ATmega from the thread, the lower case showed 8J6671, and the hidden memory contained the matching sequence "8J6671", which suggested the lower marking was original. In another ATmega328P-PU from a local shop, the package showed A9B98A but hidden memory showed 7U5533. A mismatch like that is suspicious, but the thread does not prove it always means fraud. [#21170551]

ATmega88A vs ATmega88PA vs ATmega328P — which differences matter most when buying old DIP AVRs from unknown sellers?

The important differences are operating limits, hidden identification consistency, and marketability of the part being resold. The thread’s suspect device was sold as ATmega88PA-PU, but electrical testing suggested an older ATmega88A die, not the advertised part. For ATmega88-family chips, 1.8 V, 2.7 V, and 10 MHz limits help separate variants. For ATmega328P, hidden lot data can add another check, although one local-shop chip still showed a serial mismatch without clear proof of counterfeiting. [#21161408]

Why do some genuine Microchip-sold AVR chips still carry the Atmel logo years after the acquisition?

They still carry it because Microchip kept using Atmel branding on some AVR parts after the acquisition. One participant explicitly reported genuine chips bought directly from Microchip with a production date from 2021 that still had the Atmel logo. Another reply noted that the trademark still belonged to the company and helped users distinguish AVR parts from PIC devices. So an Atmel logo on a later chip is not, by itself, evidence of a fake. [#21161592]

What does the 'Device Signature Imprint Table' in AVR datasheets describe, and how do lot number, wafer number, and X/Y coordinates map there?

It describes how bytes in the hidden signature area map to manufacturing-identification fields. The thread says some datasheets, including ATtiny24/44/84 and ATtiny441/841, include a Device Signature Imprint Table listing addresses for signature bytes, calibration bytes, and internal-use fields. A later thread update cites official descriptions where 0x0E–0x13 hold the 6-character lot number, 0x15 holds wafer number, and 0x16–0x17 hold Y and X coordinates. That mapping explains why package markings can sometimes be cross-checked against memory. [#21187371]

How could signature, calibration, or hidden serial-number bytes in older AVR chips be erased during ISP programming?

They could be erased by a timing mistake around chip erase in serial programming mode. The thread quotes an errata note stating that if signature bytes are read before a Chip Erase command fully completes, the signature may be erased, causing device ID and calibration bytes to disappear. Another post also mentions an undocumented AC C0 command, one bit away from Chip Erase = AC 80, that can erase the extra flash page. That makes hidden-ID checks useful, but not infallible. [#21164667]

What are the risks of buying very cheap DIP AVR microcontrollers from AliExpress instead of Mouser or official Microchip distributors?

The main risks are receiving dead parts, remarked old stock, pre-programmed chips, and devices with altered fuses. In the thread, a purchase priced at under 6 zł per piece yielded 1 chip with internal pin damage and 1 used chip with unexpected code already loaded. Another comment notes that the cheap listing was about half the price of Mouser, which creates a strong incentive to relabel slow-moving or unwanted stock. Official distribution costs more, but it sharply reduces that uncertainty. [#21161408]

Why might a genuine-looking ATmega328P-PU from a local shop have a hidden serial number that does not match the number printed on the package?

It might be a production mismatch, a revision difference, or a suspicious part that still passed retail channels. The thread reports an ATmega328P-PU bought from a Polish shop whose top and bottom dates agreed, yet the lower case showed A9B98A while hidden memory showed 7U5533. A later reply warns that revision and documentation differences can exist without proving a fake. So the mismatch is a red flag, but not a standalone verdict without other checks. [#21170551]
Generated by the language model.
ADVERTISEMENT