Back

Fake chips, I got stung

285 points7 monthslinuxjedi.co.uk
jjoonathan7 months ago

One time an ADC chip in my Rigol scope died. From the pinout, it was clearly a Chinese clone of a TI part. I wanted a replacement clone part, but it wasn't available under the clone name, so I bought the cheapest most suspicious listing of the TI part that I could find, hoping I would get the clone. Unfortunately I got the genuine article. So it goes. https://goo.gl/photos/dxU3ChWUcvCMDW4N9

Fortunately I was able to make do with the genuine part, though not trivially: there was a weird clock termination difference. It's never easy, is it?

dkjaudyeqooe7 months ago

I can only imagine your review: "Selected totally dodgy looking seller to source fake part disappointed to receive genuine item, one star for being unnecessarily honest"

a13692099937 months ago

Reminds me of the bit in Jekyll and Hyde where it turns out the doctor's alchemical formula only worked in the first place not because of the salt he using, but because of a unknown trace contaminant in the salt.

Also, of course: "instead of bobcat, package contained chair".

logifail7 months ago

> it turns out the doctor's alchemical formula only worked in the first place not because of the salt he using, but because of a unknown trace contaminant in the salt

Reminds me of reading about "Fogbank"...

https://en.wikipedia.org/wiki/Fogbank:

"In March 2007, engineers devised a manufacturing process for Fogbank. Unfortunately, the material turned out to have problems when tested, and in September 2007 the Fogbank project was upgraded to "Code Blue" status by the NNSA, making it a major priority [...]

The experience of reverse engineering Fogbank produced some improvements in scientific knowledge of the process. The new production scientists noticed that certain problems in production resembled those noted by the original team. These problems were traced to a particular impurity in the final product that was required to meet quality standards. A root cause investigation showed that input materials were subject to cleaning processes that had not existed during the original production run. This cleaning removed a substance that generated the required impurity. With the implicit role of this substance finally understood, the production scientists can control output quality better than during the original run."

jacquesm7 months ago

More than one major scientific discovery was made in that way.

Penicillin is probably the best and most well known example.

taneq7 months ago

“The most exciting words in science aren’t “eureka!” but “that’s funny…”” - Asimov

gunapologist997 months ago

Faraday and magnetism..

sparrowInHand7 months ago

Reply by Seller: "We only source original parts from original computers on original garbage heaps. We make these undesirable traits up with a very doddgy remaining lifetime of component. The Lord giveth, the lord taketh.."

stavros7 months ago

I love the "I didn't want to buy another expensive $930 scope, so I fixed it using plain old elbow grease and $7000 worth of expert hardware designer time".

I have also spent thousands of dollars of my time so I wouldn't have to replace a $3 part.

AussieWog937 months ago

Hey, what else would he have been doing with that time? Watching Netflix? Fixing the scope sounds way more fun!

stavros7 months ago

That is very true, I can't count that time as cost, it was pure enjoyment.

+2
tialaramex7 months ago
ReactiveJelly7 months ago

Did you waste $7,000 of expert time, or did you just save yourself $7,000 on a hardware class?

jjoonathan7 months ago

Peace was never an option!

ghosty1417 months ago

Thats the spirit! You also got a very cool story from it!

gorkish7 months ago

It really puts into perspective the billions of dollars in hardware and software research that I routinely mobilize to ask ChatGPT banal questions: Are farts funny?

Joker_vD7 months ago

Yeah, you never want to find yourself in a "would you like the Chinese genuine part or the French knock-off?" kind of situation.

preinheimer7 months ago

This has serious William Gibson cyberpunk vibes to me.

varjag7 months ago

Psst kids if you need a factory traceable brick of js28f256 in i-temp, hmu. Ain't getting nerve attenuation syndrome with that.

(not even kidding!)

sitzkrieg7 months ago

how about a bin of OTP 4bitters that were apparently all already been had or cooked :-(

jacquesm7 months ago

> French knock-off

Don't joke, they exist.

baybal27 months ago

[dead]

pavel_lishin7 months ago

How do you make Google Photos act as a sort-of-blog post?

jffry7 months ago

When editing an album in Google Photos, there's controls at the top right (on desktop browser at least) that let you insert text or maps inbetween photos

dkjaudyeqooe7 months ago

That's actually really effective, and refreshingly lightweight. It even lets people comment.

genericone7 months ago

Huh, you learn interesting things everyday in unusual places. Look forward to seeing more google-photos blog-posts from this new discovery. /s I hope.

CamperBob27 months ago

That's some drop-dead awesome troubleshooting work there. Kudos. You are now ready to tackle the boss level: reverse-engineer the Maxim trigger chips on the TDS 694C. :)

ace23587 months ago

That was a great ‘blog post’! It’s awesome to see such a complicated repair coming down to a single 10ohm resistor. Amazing diagnosis!

I have a digital mixer for music recording that is also an audio interface for my computer. I had a somewhat known problem where 12 out of the 16 channels stop working.

Turns out what’s going on is the mixer is ‘gating’ the audio signal because the digital gate effect (that is built in) is claiming that it is receiving an input such that it will attenuate the audio signal.

I don’t even know how to diagnose a problem like this. It’s awesome watching someone who does!

6LLvveMx2koXfwn7 months ago

Left: a technical diagram of the setup. :clap

mips_r4300i7 months ago

Excellent analysis and fix of the problem! I've found Chinese clones are always subtly different than the parts they supposedly replace.

creer7 months ago

> clearly

That was some repair! Bravo! And fantastic write-up - technical diagram included.

baz007 months ago

This sort of stuff scares me with modern Chinese test gear. I'd rather have some rancid old HP or Tek stuff from the 90s and keep a couple of parts mules in the cupboard.

buildbot7 months ago

The lab I worked in during undergrad had a massive pile of old scopes and such. One of them was this monstrosity of a scope from the 80s (?) that had a built in thermal printer to capture the output, and was I think in the 1-2ghz range! I’m sure it’s still there, working, waiting for the next undergrad to need its assistance.

mips_r4300i7 months ago

Probably an old Lecroy! With the floppy drive next to the thermal printer.

buildbot7 months ago

YES! You jogged my memory - it absolutely was a lecroy with a floppy disk as well! What a cool piece of equipment.

Though I won’t say I was too sad when we got to use a 5GHz touch screen Tektronix instead! It ran Windows XP and was generally super awesome to use.

calamari40657 months ago

I honestly don't know if I'd have the stones to replace a scope ADC.

But then again if it's already dead you can't kill it more.

JohnFen7 months ago

> But then again if it's already dead you can't kill it more.

I live by this, and try my hand at fixing everything that I would otherwise junk. Some of the time, I even succeed!

Luc7 months ago

A sure telltale is laser writing. You can tell on their second example - the writing is sharp and perfect. Often the logo is not quite solid color, and you can see it has lines from the laser in it. The color of laser-'printed' text is also typical.

The originals often have pretty bad markings on them, actually. Off-center, not aligned, not evenly printed. Too perfect is suspicious.

Also look at the pins. Sometimes they dip the feet into solder to make them look unscratched and shiny. I have avoided buying 'New Old Stock' ICs because I could tell the pins had solder on them.

A couple of times I found the IC was of the type advertised (after I removed the paint). I guess they just added a fresh coat of paint to make them look new!

karmakaze7 months ago

When it mentioned that there was something off about the printing/logo, I zoomed in and recognized it immediately. As I recall the Rockwell International logo has curves joining the angled borders, like you'd expect to see for laminar flow. The pictured one has straight lines that meet at a corner. You can see the difference in logo between the 11450 and '11473' chips.

LinuxJedi7 months ago

I never thought about inspecting the pins before, a very good point.

userbinator7 months ago

Laser etching doesn't come off with acetone (and is usually much harder to read, being more like embossing than printing). That's silkscreened ink.

Luc7 months ago

I'm talking about the 'Another Chip' IC, which has laser writing. It's the bottom one in the header image. They use a coat of paint to obscure previous markings, then use the laser on that, resulting in brownish text (not embossed).

cglace7 months ago

I once interviewed a candidate who had previously worked for the DoD as an engineer that validated components. I was blown away by how far they went to ensure the components they received were genuine and 100% matched the specs in their contract.

baz007 months ago

Yeah I did 6 months on a goods in line. We measured every single part and did full sampled testing. This was on defence grade parts as well from big vendors. They were rebagged, kept in stores ready for use so there were no surprises.

H8crilA7 months ago

Why is the defence industry so much more intense when it comes to checking parts? Is it mostly because it may be years or decades between purchase and usage?

awjlogan7 months ago

Money, time, and perceived/realised risk of failure (to both the end user, and the supplier). Any time you have enough of those, the scrutiny will increase.

If you're making a chicken feeder IoT device, the amount of marginal QA cost you can tolerate is low (in fact, you're probably tempted to use the counterfeits...) and the only adverse outcome is a slightly hungry chicken. Medical devices have a much higher risk, but not as much money or time as military (a bottomless pit of both), so the QA level is higher there, but probably not as much as defence.

Turing_Machine7 months ago

Some good answers here, but at the end of the day it's this:

If the components don't work in a military situation, people might very well die. Sometimes a lot of people.

A counterfeit microprocessor in a dollar store Furby clone probably isn't going to kill anyone if it fails. The same microprocessor in a surface-to-air missile? Well...

petsfed7 months ago

Whether or not the thing keeps soldiers alive is actually pretty far down the list of reasons to control the supply chain (see, for instance, the various reviews of the M249, or the specific small-p political decisions around the M16 design. I've heard first hand accounts of Afghan National Army/Police answering calls while the US Army operated cell phone jammers a few feet away). The main thing is consistency.

If you can depend on depend on your machine gun to jam if you fire it for more than 3 seconds, then you just don't fire it for that long. But if you have no way of knowing how many rounds you'll get out of it (if any) before it jams, you'll just stop using the thing.

Further, a lot of the procurement rules devolve down to "is this supply chain a strategic weak point?" We don't buy our HMMWV tires from Russia not out of quality concerns, but to deny them that weapon. So the testing is done to verify provenance, rather than quality.

toast07 months ago

> If the components don't work in a military situation, people might very well die. Sometimes a lot of people.

Sure, but if the components do work, people might very well die. Sometimes a lot of people. Probably different people.

Military (and aviation) want uniform, reliable parts and to be able to do post mortem investigation of failures where they lessons learned can be applied to the installed base and future production.

You can't do that very well when you don't even know who made your ICs to ask them what happened during production or to improve their processes.

+2
polishdude207 months ago
+1
hkgjjgjfjfjfjf7 months ago
gosub1007 months ago

Because you could defeat your enemy if you sabotaged their components! Say you were selling op-amps or oscillators you knew were going to be used in warfare. You could burn in an "easter egg" where they shut down if they received a particular RF pulse (or drifted wildly if they didn't receive some covert 'keep working' message). It would be a disaster.

QuadmasterXLII7 months ago

Probably because the brass knows what they’re doing to the other guys’ parts, and doesn’t want it done back

AnimalMuppet7 months ago

Partly that. Also they tend to push parts farther - temperature range, probably also radiation hardness, maybe some other things. When you need a part with a milspec temperature range, you really want to get a part with that range, not a part with a smaller range with a forged label.

+1
doikor7 months ago
dkjaudyeqooe7 months ago

Because they build things that kill people, and you want the right people to die.

fsckboy7 months ago

>Why is the defence industry so much more intense when it comes to checking parts?

mil-spec parts need to meet specific standards, and since there are equivalent parts that don't have to meet these standards, the possibility and incentive for mislabelling parts is quite high.

_factor7 months ago

Welcome to the world of supply chain poisoning. Go deep enough and you uncover local stores near defense companies and military bases which are targeted to contain modified inventory in the off chance someone buys it from said location. You might have some unused phone home chips in your coffee machine and not even know it.

+1
RajT887 months ago
barelyauser7 months ago

Because when you under deliver on a government contract they can throw your ass into jail faster than you can say "Quidditch".

Mtinie7 months ago

Sidebar question for you:

What educational background and/or practical experience route would someone have to get into the field? Is this a “requires electrical||mechanical engineering degree” role or can it be learned via apprenticeship?

cglace7 months ago

The person I interviewed had an MSc in EE.

nomel7 months ago

Maybe you can't say, but is it safe to assume it's fairly easy to "fingerprint" apart? Or, do the counterfeits "get it right" enough where deep functional testing is required?

iamflimflam17 months ago

This was annoying because the seller is based in the UK and claims you should buy from them because you take your chances buying from China.

There are tons of eBay sellers who bulk buy from China and then resell with a huge markup but with the convenience of quicker delivery - and the slightly fake sense of being more reliable as they are UK based.

LinuxJedi7 months ago

Yep, I was way too trusting this time.

Hasz7 months ago

I had some mosfet gate drivers (IR2112) that were really marked as IR2113, a higher tier part. The only real way to tell what you've got is to remove most of the epoxy, then boil the rest in nitric/sulfuric acid. After much mess and fume, you'll be left with the raw die and can inspect the markings. I've done this a couple of times, it's quite cool.

In my experience, most "fakes" are crappier parts marked up to be better, or chips that have failed QA. Rarely do you get a whole clone, although for some very high volume or simple, old parts, it's a bit more common.

If you like this, check out [zeptobars](https://zeptobars.com/en/), they post high quality dieshots, and sometimes fakes.

IR2113/IR2112 die: https://www.youtube.com/watch?v=e6DfBuPwAAA

rcxdude7 months ago

I've heard a story of the opposite, mislabeled from the manufacturer themselves! They were pressing the buyer to upgrade to a newer, faster MOSFET, but the buyer wasn't interested in dealing with going through the EMC compliance process again, so wanted the older parts. Eventually the seller appeared to relent, and shipped a box of FETs with the older label, but lo and behold the assembled boards failed EMC testing, and it turned out the manufacturer had just labelled their newer parts with the old part number and hoped no-one would notice.

A1kmm7 months ago

> although for some very high volume or simple, old parts, it's a bit more common

And often the prevalence of the high volume parts actually makes it nearly impossible to find things using the originals.

For example, I once wanted a real FT232 breakout board (or at least a clone that can do most of what the original can do) to use some of the bit-banging features of the chip. But the most popular clones of that chip are very much reduced functionality variants that work as a USB-to-UART but don't do most of the other functionality. This was probably not helped by the fact that the original chips, and early more faithful replicas had onboard flash and allowed a degree of programming, but then the manufacturer of the original chip embedded malware in their Windows driver that detected and wrote bad data to the clones flash (which would have broken many products sold to consumers with them - technically fixable by removing the driver and re-flashing, but probably in most cases just becoming e-waste). So the clone manufacturers responded by simplifying: removing the flash, and removing most of the programmable functionality, and focusing on the UART part that was the most common use case.

Now, no matter how hard you try pre-purchase to make sure something is a full FT232 implementation (including asking for assurance about the chip up front) on a marketplace like Aliexpress or eBay, you are far more likely than not to got a limited functionality clone.

datpiff7 months ago

Do you know if both those parts have different die? Many product ranges are determined by binning - so all the die look the same, but the ones that test with worse performance are designated a lower tier part number.

datpiff7 months ago

edit: I read your blog post on this - I think you are right. The rated currents are too different to share a single design

baz007 months ago

> This was annoying because the seller is based in the UK and claims you should buy from them because you take your chances buying from China.

There are a couple of vendors who do this in the UK. They sell counterfeit crap while complaining about it loudly. I bet this was littlediode. Got into a large argument with them over sending out crappy clone / reject bin transistors a few years back.

Edit: at the same time I would like to buy a hell of a lot of 2N5458's and relabel them as MPF102's and retire. The MPF102 was an unbinned garbage JFET with wide characteristic spread. The 5458 is a binned one within the range of an MPF102. Same process. Of course though all the crap schematics out there on the Internet demand the MPF102 because that's what Radio Shack sold and no one knows how to substitute parts!

Retr0id7 months ago

I've recently been annoyed by "UK sellers" that actually ship from China, but using Yodel's "last mile" logistics[1]. They'll give you the tracking code for the Yodel part of the journey, and it'll take a week longer than the originally advertised, but they'll swear they shipped from the UK.

[1] https://www.yodel.co.uk/yodel-services/yodel-uk-delivery/int...

LinuxJedi7 months ago

It was not littlediode this time, I'm not going to name them (you'll be able to tell with a search as the chip has the same date code on their auction). There are several out there that buy from China and resell. The good ones at least run a barrage of tests first.

baz007 months ago

Oooooh them. They always looked suspicious.

LinuxJedi7 months ago

They were very unhappy with the negative I left. To be fair, I have had other things from them in the past that do appear to be the real deal.

anilakar7 months ago

EBay is full of UK sellers who source stuff from China in bulk and then pass it off as genuine. This is in no way limited to electronic components.

numlock867 months ago

I regularly get fake NXP chips even from the big distributors. Not going to name them here, but it happened at least with the ones starting with A, D and M. Their excuse is always the same: Telling us they just sourced other distributors because of shortage at the manufacturer, but won't name these "distributors". Really annoying.

swamp407 months ago

If you are insinuating Arrow, Digikey, Mouser, we buy NXP from all these same sources and have never seen a problem.

They all have traceable lot codes and and entire chains of custody that go directly back to the manufacturer. And during Covid we were checking.

That traceability is the reason people buy from them instead of brokers. If you could prove what you are saying it would be a huge scandal.

How do you qualify them as being fakes?

JohnFen7 months ago

I buy almost exclusively from Mouser and Digikey for this exact reason. They are both very active about ensuring that what they sell is what they say it is.

I'm sure that even they get scammed from time to time, but I've never had a problem with my orders (or at least, none that I've noticed). Their prices are higher, but I consider their markup well-earned.

jtbayly7 months ago

Why complain that they won't name the distributors while you won't name them?

sheepshear7 months ago

They're being silly. A, D, and M are as recognizable as FAANG.

whatshisface7 months ago

AMD!

;)

piperswe7 months ago

I'm assuming the "D" and "M" are Digikey and Mouser? Rather concerning if true.

ElijahLynn7 months ago

Why wouldn't you name them here? People need to know, otherwise they will keep doing it yah?

_whiteCaps_7 months ago

People ordering parts would probably be familiar with the major sellers like Arrow, Digikey, and Mouser.

peter_retief7 months ago

Friend of mine got a box of plastic chips with no electronics, from China.

mrweasel7 months ago

Why even go to the trouble of actually shipping a product at that point?

I'm really surprised by the length people will go to, in order to scam others. Someone took the time to do a fake plastic chip, or reprint a silk screen on an chip with a matching pin-out. My favorites are fake USB drives and "fake" GPUs. The amount of time that has to go into finding old GPUs, faking a driver and relabeling seems like it would exceed the value of the scam, but apparently not.

Joker_vD7 months ago

If you fail to ship anything, that's an open and close case of fraud. If you ship anything, especially if it's at least superficially similar, you can argue it was a good-faith mistake, just a case of failed due diligence.

JohnFen7 months ago

Yes, I think that's it.

Also, there's this interesting exchange I had with an eBay seller a couple of years ago. I purchased a bunch of NiMH batteries. Because I test every component I buy even for my hobby projects, I immediately noticed that they were 1/10th the capacity that they should have been, and were marked as.

I contacted the seller to return them and get a refund. They told me "honest mistake" and then began a negotiation. "How large of a refund would you accept?"

Since the batteries were useless to me, I said "100%". In the end, I did get a complete refund and didn't need to return the batteries.

RetroTechie7 months ago

^^ This. Simple rule I apply: if you can't trust the seller, make sure you can test the parts upon receiving them. If sent fakes, make sure to get your money back as a matter of principle.

Fun thought: since eBay often rules in favor of buyers, it would be fun if someone would 'abuse' this: buy a good # of often-faked parts from all sellers that offer them, test extensively, and open disputes for any fakes received. That should (in theory) cause a good deal of $ losses for any seller that sold fakes.

Maybe repeat regularly, and it might remove some fakes from the market?

hakfoo7 months ago

This happened to me with Dell of all places a few years ago.

Back when everyone was making Windows 8 tablets with a quad-core Atom and a $350 price tag, I ordered one of theirs. It got good reviews in the Maximum PC comparo of the time, and it was available with a then-cavernous 64Gb of flash.

In week 1 the Wi-fi wouldn't keep connection. By week 2 it had fully bricked. I initiated the RMA process, and the chat monkey asked "If we refund you $50, would you keep the device?"

I ended up getting the Asus version which had a nifty little clip-on keyboard, and it at least lasted the warranty term before the touchscreen cracked.

RealStickman_7 months ago

I bought a used OnePlus 3 on ebay and because I already had another OP3 I noticed right away that the screen was different. Especially in a dark room it was obious that somebody had replaced the original OLED screen with a cheaper IPS one.

I did end up getting a partial refund for about the price of a replacement OLED screen.

LinuxJedi7 months ago

I once ordered a large batch of 64pin DIP sockets from a Chinese site and received a piece of ladies' undergarment instead. It took a long time to get my money back from that transaction.

+1
Y_Y7 months ago
mrweasel7 months ago

That is a bloody technicality if I ever heard one. Someone, somewhere still took the time to make these fakes, so someone committed fraud regardless.

If you're going to commit fraud, at least be honest about it.

Joker_vD7 months ago

First of all, weight-and-size-accurate dummies (whatever they're actually called in English) have legitimate uses.

Second, being honest about commiting fraud is counter-productive. Comercial fraud, even though illegal, is still a commercial enterprise at its core and its goal is the same as of any other comercial enterprise: to bring in profit, the more the better. Fraud is not about sending a message on ethics, or showing off someone's character, or helping the marks to keep their money, it's about getting as much money as possible at little cost as possible (with the costs of dealing with legal persecution accounted).

gnopgnip7 months ago

https://imgur.com/LB9zTFB https://imgur.com/qlPIY4y

They make fake skateboard bearings. These are like 10 cents a piece in bulk.

userbinator7 months ago

There's fake as in "not genuine but similar functionality" and then there's fake as in "not even trying to be functional".

mrweasel7 months ago

This is what I mean, this product only exits to scam people. That has to show that you intent to commit fraud. So if the seller is honest, they should report the manufacturer, but they don't because the scam is the plan. I'm so tired of this crap.

aidenn07 months ago

1. If it's going through a marketplace, having a tracking number makes it harder for the customer to get a refund (we shipped it; it was delivered!)

2. If the customer doesn't use the product right away, having it look close enough means they might not notice its counterfeit until after the N day return window has expired.

dragontamer7 months ago

Because the fraud is now harder to prove.

You say on your end it was real chips, and that the other guy is faking it by claiming they're plastic chips.

peter_retief7 months ago

What I actually thought, they do get to buy some time though.

h2odragon7 months ago

early quantum processors. "may de-cohere in shipping"

bogantech7 months ago

If I needed to replace a 65C02 I'd buy a WDC 65C02 new from mouser - they're still made today :)

bonzini7 months ago

Last paragraph: "As a side note, I have designed a prototype board that allows use of a brand new 65C02 IC made by Western Digital in retro machines. The Western Digital chips have a slightly different pinout to the others, so need a slight conversion. PCBs for this are coming soon."

akino_germany7 months ago

But the WDC chips are made by Western Design Center, not Western Digital Corporation.

LinuxJedi7 months ago

Doh! That's what I get for writing with a stack of hard drives next to me. Thanks, I'll update the post.

guerrilla7 months ago

So many people get this wrong. I've seen this mistake everywhere.

bogantech7 months ago

Thanks I have no idea how I missed that :/

satiated_grue7 months ago

WDC application note on that (note the pinout differences):

AN-002: Replacement Notes for Obsolete Versions of 6502 8-bit Microprocessors https://www.westerndesigncenter.com/wdc/AN-002_W65C02S_Repla...

the_pwner2247 months ago

Another comment on this post: "I regularly get fake NXP chips even from the big distributors. Not going to name them here, but it happened at least with the ones starting with A, D and M. ..."

https://news.ycombinator.com/item?id=38559112

no_time7 months ago

That's crazy. I wonder how many chips can they sell these years.

calamari40657 months ago

I recently had an issue with some uCs that just wouldn't respond to the bootloader. I suspected they were fake, but I got them from digikey. I asked digikey if they could confirm origin, but they ignored me :(

They responded to JTAG correctly, but none of the other documented bootloader modes, which was a dealbreaker. I don't think they were actually fake, but certainly defective or at least incorrectly documented.

Every single time I've tried to use an ST device I get bit. I'm sure it's just me being unlucky, but I avoid their parts now when I can.

johndmcmaster7 months ago

I've been collecting a bunch of counterfeit chips to hopefully do a write up on at some point. If you are ok they might sit for a while, I'd love to collect them for that project! Feel free to email me JohnDMcMaster at gmail.com

justin667 months ago

I've still got a counterfeit Athlon XP, IIRC a 2500 marked up to appear to be a 3200. I was able to get a refund for the fraudulent part from the credit card processor. Interestingly, AMD offered to send me a replacement, but NOT a 3200, which was top of the line at the time. I kept the counterfeit chip instead.

Like the author of this article, I had some performance problems with the part, but I was sure I had a fake when I looked at the printing on the package of the chip.

ginko7 months ago

I would have expected counterfeit clone would use a node much more modern than either the 6502 or R65C02, leading to even better performance.

Are there so many original 6052s around that it's cheaper to just relabel those? (I guess cheap 6502s were really everywhere in the 80s/90s)

LinuxJedi7 months ago

The modern version (W65C02S) is not 100% pin compatible. It would be very obvious very quickly if that had been done. There isn't another modern equivalent with the same pinout that I'm aware of. Yes, there are many original 6502s around, and they are probably worth half of an R65C02, or even less.

callalex7 months ago

The seller is “UK In-Stock Components” I don’t understand why the author is being so coy about defending a scammer.

https://www.ebay.com/itm/225089488340

mschuster917 months ago

UK libel laws are insanely strict.

DoingIsLearning7 months ago

On this topic, is there anything like a 'chip forensics consulting service' out there?

Say if I find a batch from a scalper but I am not sure if it is genuine.

robertfrank7 months ago

Yep, you'll typically have to sacrifice a couple components to destructive test though depending on what you're trying to accomplish. GD4 Test Services is one such company I've worked with before.

drone7 months ago

Yes, this is a very common activity in electronics manufacturing. Big names, amongst many others are White Horse, Smith & Associates, Rand Technologies, etc.

Depending on the sensitivity and risk to a particular product, it's not uncommon to have a suite of testing done on a sample from every received shipment of a particular good, or set of goods. Testing typically goes beyond counterfeit detection to being within manufacturability and usability specs (e.g. solderability, lot code validation, date code validation, etc.)

Usually priced out of the hobbyist range, think 2-3k to do basic suite verification on a sample of 5 components. That would not include de-capping and die examination.

datpiff7 months ago

There are failure analysis labs that will do this, but $$$. There are also Chinese R&D/FA/cloning businesses that advertise publicly but I've prices start at thousands of dollars.

Even though hobbyists have setups for decapping or de-packaging, it's going to cost a lot to actually do this as a business, most of the techniques are dangerous and use toxic materials.

johndmcmaster7 months ago

Yeah I do this as part of my consulting work. Typical applications are failure analysis, security research, or re-manufacturing obsolete electronics. Note however these tend to be larger projects and more than a quick die photo. Although I do (did?) smaller die photo commissions if someone is ok with the data being public.

scottapotamas7 months ago

There are some but vary in how publicly accessible they are.

I haven’t used DangerousPrototypes for probably 5+ years, but they’ve got a decapping service that you send parts and they send back a die shot.

https://dirtypcbs.com/store/decap

JohnFen7 months ago

If there isn't, there really should be. I bet that would be an excellent business to be in.

RetroTechie7 months ago

Once I considered offering such a service for a select few parts.

But: shipping, and low $ per part doesn't make it worth the effort. If you're buying a $3 cpu it just isn't worth it to re-route through a testing service for several additional $ per pc. + shipping.

Now if talking about say, $100+ / piece parts, sure. But then the testing services would have to be extensive, professional, and equipped accordingly. Above my pay grade, so to speak.

But yes it would be nice if such service(s) existed.

JohnFen7 months ago

Good points. I hadn't really thought through the economics of it. I wonder... if the testing could be automated at high speed, would that make the economics work? That would enable being able to service entities that buy larger quantities of parts, reducing the impact of shipping costs. Those don't have to even be companies -- I already buy most of the parts for my hobby projects in larger quantities, in order to get bulk discounts, free shipping, and to have sufficient stock on hand that I don't need to order things every time I start a new project.

Now my imagination is running wild...

johndmcmaster7 months ago

I agree with this. I often get asked to decap + image chips commercially and its not usually worth it unless its a value add / loss leader as part of a larger project.

ajb7 months ago

It can't be worth making, or counterfeiting, 6502's for the hobbyist market. Anyone have a clue as to what the mass market for these chips is?

JohnFen7 months ago

I'm familiar with this one, but there may be others: embedded systems. There is a huge market of industrial controllers that were designed around the 6502 and for which there is a large, solid, existing code base. New designs often use 6502-based controllers in order to maintain compatibility with that code base, and existing machines need to be able to be repaired.

Fun fact: the ARM is largely based on the 6502. You could argue that the 6502 was a RISC chip before RISC was a thing!

Turing_Machine7 months ago

I don't know if I'd go quite that far, but the 6502 definitely had some RISC-ish features.

The Page 0 addressing mode basically let you use the first page of RAM more or less as 256 extra 8-bit registers (or 128 16-bit registers, etc.), as those locations could be accessed faster and with fewer instruction bytes than locations elsewhere in RAM.

A fair number of languages were implemented on 6502-based machines by using multiple Page 0 locations to simulate wider registers.

Joker_vD7 months ago

Depends on what you call RISC, I guess: many people would argue that a load-store architecture is a required part of it, and the zero-page is actually an anti-thesis to that. In fact, it hints at the possibility of a memory-memory architecture (no general-purpose registers, minimal amounts of indexing/address registers). Implementations of such architecture could, of course, use whatever amount of hardware registers (unexposed in the instruction set itself) as a memory cache. Throw in some relaxed memory model, e.g. other cores don't see the memory stores via [STACK_REGISTER+offset] unless an explicit flush command is issued, and I imagine the end result will be quite nice to both use from the programmer's point of view (no register allocation!) and from the implementers point of view as well (register allocation is back, but now it's register- and memory-renaming, the latter being simplified by the lax memory model). One of the downsides is that the instruction encoding definitely won't be compact, with all those memory offsets instead of register numbers.

ojintoad7 months ago
JohnFen7 months ago

> I don't know if I'd go quite that far

Well, it is a touch hyperbolic, yes, but the 6502 could at least be considered a proto-RISC.

LinuxJedi7 months ago

I've been wanting to squeeze that ARM fact in one of my Archimedes blog posts, but somehow never got around to it. It is pretty cool how it was developed.

II2II7 months ago

These chips are not made. They are relabelled. In this case an older, somewhat compatible, and likely lower value chip was relabelled as something newer and likely more valuable. I have also heard of chips being relabelled as something incompatible, so in a sense the author got lucky.

But I suspect you're right if it came to actual manufacturing of counterfeits.

Retr0id7 months ago

Whoever is counterfeiting these won't just be counterfeiting 6502s, they'll be harvesting whatever parts they can find from the e-waste they have.

sixothree7 months ago

Correct. There are counterfeit ROM, RAM, and CPU of all varieties out there.

mschuster917 months ago

I wonder if it's possible to replace a ton of these really old CPUs by a combination of an FPGA, level shifters and a flash chip that contains a re-implementation of said CPU in FPGA bitstream.

+1
LinuxJedi7 months ago
LinuxJedi7 months ago

I do know the supplier I bought them from bought them in the hundreds. I also know I'm the first customer who has noticed they are counterfeit. So, there is still enough money there I guess.

bogantech7 months ago

Maybe old industrial systems or something? WDC still manufactures them so there must be someone designing new things that use these for some reason

mrWiz7 months ago

I suspect that existing designs are built using them to avoid designing something new.

jvanderbot7 months ago

Anyone take a crack at the underside characters on the counterfeit chip?

libreliu7 months ago

As a native speaker I think its "贤", just rotated right by 90 degree.

nneonneo7 months ago

Yes, I agree. Looks exactly like 贤. The irony is that this character means “virtuous, worthy, good; able”, but you’ve received a rather un-virtuous counterfeit chip.

LinuxJedi7 months ago

Many thanks, I'll update the post later tonight with the findings from the comments here.

jstanley7 months ago

I tried drawing it in https://www.qhanzi.com/ and it looks a bit like 防 which apparently means "defend".

Or maybe more like 阮 which means "Ruan" (maybe that's a person's name?).

dmurray7 months ago

Checked with a Chinese native speaker who also thinks it's 阮.

libreliu7 months ago

I think it goes to "贤". As a native speaker I think "阮"'s possible but unlikely, since most people will write the "阝" part more straight.

+1
bewaretheirs7 months ago
LinuxJedi7 months ago

Ah! Thanks. I tried several different visual search methods whilst writing those post but was coming up blank.

netruk447 months ago

I thought I'd check with GPT-4 vision preview just to see what it could make of the character. Unfortunately, it couldn't figure it out.

> The logographic character you're referring to appears to be a Chinese character, but it's not clearly written which makes it difficult to identify with certainty.

(There was more to the response, but it was more about why the character might be written there)

LinuxJedi7 months ago

Yea, I tried a couple of AIs on it whilst writing that post and didn't get anywhere. It does look like elsewhere in the comments here people have maybe figured it out though.

pringk027 months ago

I'm stumped. I've never been good with handwritten Chinese, but even rotating it I can't match it to any valid character. The closest I got was 阹 which means "to surround"

otteromkram7 months ago

Did you try viewing it in a mirror? Sometimes that helps.

bigbillheck7 months ago

I was wondering if it could be Devanagari or something similar based on that strong horizontal line.

johndmcmaster7 months ago

I have a big pile of counterfeit chips to decap / analyze. Unfortunately busy with work / higher priority projects so haven't gotten to them :(

ajmurmann7 months ago

What's a trustworthy shop to buy chips these days?

LinuxJedi7 months ago

New / old stock? I have a supplier called TV SAT in Poland who is pretty reliable. I've had pretty good success with UTSource. But it really depends on what you are looking for. Usually it is a case of looking at reviews and crossing your fingers.

sixothree7 months ago

Are they online?

LinuxJedi7 months ago

Both are online, yes (I'm UK based and they ship here).

the__alchemist7 months ago

Digikey, Mouser, Newark.

the_pwner2247 months ago

Another comment on this post: "I regularly get fake NXP chips even from the big distributors. Not going to name them here, but it happened at least with the ones starting with A, D and M. ..."

https://news.ycombinator.com/item?id=38559112

the__alchemist7 months ago

So, if these don't meet the standard someone's looking for, buying direct from manufacturer is likely the only way.

Note that in some cases like with TI, this is viable, even if making small orders.

JohnFen7 months ago

Even if they aren't perfect, they are also not trying to defraud anybody. Your odds are much better with them than with other random sources.

Dwedit7 months ago

I saw that video on Youtube where someone decapped a fake chip to find out what it really was.

kazinator7 months ago

Anyone know how I can get in on the fake 65C02 chip action? I wanna be rich too!

ElijahLynn7 months ago

Name and shame the bunk seller, warn others. Why no mention of the UK seller?

LinuxJedi7 months ago

Just in case the seller becomes litigious. I may be correct, but I don't want to spend time proving that in a legal framework.

You can easily figure it out as the date code on the chips is unique to them and they still sell them on eBay.

callalex7 months ago
inasio7 months ago

I now this is hacker news, but for a second I wondered about fake chips as in fish and chips

LinuxJedi7 months ago

Well now I'm just hungry! :)

WentFullRetard7 months ago

[dead]