4
2
I'm trying to help a friend diagnose their company's USB flash drive issues. They purchased two types of drives en masse (I'm not sure of the exact source, but it was an overseas bulk order akin to Alibaba); let's call them Black and Yellow for simplicity.
The Black drives work flawlessly for all intended features (mainly gathering debug information from lab equipment via USB port), while the Yellow ones format correctly, but don't seem to "mount" properly on most connected devices (e.g. their lab equipment, and consumer products such as TVs that update firmware via USB using a FAT32-partitioned drive).
Besides apparently shoddy manufacturing (and the mildly concerning wad of glue directly on the chip), is there any reliable way of telling a "bad" flash drive from this data alone? If so, how would they be able to tell their customers that they've got a junk drive? My main inclination is to say that an idle USB drive shouldn't be drawing the full 500mV (as Yellow does), but I'm not positive on if that's what's causing issues in the standalone devices.
I realize it comes down to buying devices from reputable manufacturers, but if there is a surefire way to debug a connected flash drive and let the customer know it's not going to cut it, we can script a program for exactly this purpose (if one doesn't already exist).
Here's some images and a USBDeview overview of both. I ran both drives through ChkFlsh; neither of them flagged any errors on a 1-hour test run, so the flash module appears to be passable.
This is the "Black" (good) module USBDeview. Not seeing any obvious issues.
This is the "Yellow" (bad) module USBDeview. Holy bees that 500mA power draw (though is that a reliable measure?). General draw for flash drives seems to be anywhere between 50-200mA, so this one doesn't have any self-regulation at all and just caps out the available USB standard.
This is the "Black" (good) with epoxied chip-on-board design.
This is the "Black" (good) flash module.
This is the "Yellow" (bad) with glue directly on controller chip. I suppose it counts as "sealed"...
This is the "Yellow" (bad) close-up of controller. Board is a PUD2-TD202 V1.00
"Yellow" (bad) flash module. Both devices pass extended Chkflsh tests on a Win10 host.
1All the "bad drives" work reliably with Windows machines, correct? the problem is only with various appliances? – ddbug – 2018-09-14T00:47:41.567
@ddbug that's correct. They both accept files properly and pass extended read and write checks in Chkflsh. I wonder if the "bad" one might be drawing too much power for appliances to properly handle; PCs might be able to properly compensate for that, but I don't know if it's the same for bog-standard USB ports on an appliance (even though it should still supply 5V). – Kibbles – 2018-09-14T00:59:48.033
As for power drawing, you can easily test it with a USB VA-meter (numerous models in cheap webstores). It looks like the limit, read from the config descriptor, not the actual draw. – ddbug – 2018-09-14T01:16:22.790