All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: how can we testing electronics on Flash pen drives?
PostPosted: May 23rd, 2014, 7:17 
Offline
User avatar

Joined: August 13th, 2008, 13:10
Posts: 815
Location: World
for example how we can test if any electronics component is in bad condition.

i attach pics from a case to test.
Thanks in advanced.


Attachments:
DSC04085.JPG
DSC04085.JPG [ 2.59 MiB | Viewed 11297 times ]
Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 23rd, 2014, 10:10 
Offline
User avatar

Joined: December 16th, 2007, 10:26
Posts: 1151
For this case uaually not the hardware problem.
I use multimeter for test.

_________________
data recovery service[/b]


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 23rd, 2014, 10:57 
Offline
User avatar

Joined: August 13th, 2008, 13:10
Posts: 815
Location: World
Hi NetworkPC3000!
thanks for your help

but i would like advices about how to use multimeter, in this cases.
What points to test, correct values in those points, and so on..

can you help me with?


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 23rd, 2014, 15:13 
Offline

Joined: February 8th, 2014, 8:08
Posts: 461
Location: Eastern Europe /recovering worldwide/
hhddrec wrote:
What points to test

For this one it's worth checking green resistor with "02" on it from the bottom view.

P.S.
What's the vendor / model of this flash drive? Toshiba controller with Toshiba memory chips is quite an infrequent combination.

_________________
• Remote RAID, NAS, SAN, VMware, DVR (CCTV), flash and tape recovery. Data recovery support.


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 23rd, 2014, 17:15 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 14945
Location: Australia
The "green resistor" appears to be a polyswitch. That's a resettable fuse. It appears to be rated for 200mA.

http://pdf.datasheetarchive.com/indexer ... 070002.pdf

I would also measure the voltage across the 3.3V filter capacitor for the NAND flash. That would be generated by the controller.


Attachments:
polyswitch_filter_cap.jpg
polyswitch_filter_cap.jpg [ 186 KiB | Viewed 11242 times ]

_________________
A backup a day keeps DR away.
Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 24th, 2014, 3:42 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3779
Location: Adelaide, Australia
Hi, I concur with previous posters that not frequently a component issue. But I have seen quite a few drives with components bad.

In order of components that I have seen failed are:

-Resistors, but these days rare, mainly in older ones.
-Fuses, though these are fairly uncommon, instead would be a resistor that doesn't resist much..
-XTAL or Crystal Oscillator, I keep a variety of flash drives and swap them out for one from a working drive instead of actually testing them. Most common to "go" are the (older) round canister type.

More common is bent, broken, mutilated, crushed, washed and generaly abused drives.

Better to have a fairly quick look, and if no obvious signs of damage/failure then get straight into chip off recovery.

Otherwise you spend too much time


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 24th, 2014, 5:26 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 14945
Location: Australia
HaQue wrote:
In order of components that I have seen failed are:

-Resistors, but these days rare, mainly in older ones.

I can't imagine it ever happening, but what would be the symptom of an open USB reference resistor (I'm not sure if I have identified it correctly)?


Attachments:
USB_reference_resistor.jpg
USB_reference_resistor.jpg [ 117.33 KiB | Viewed 11217 times ]

_________________
A backup a day keeps DR away.
Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 24th, 2014, 5:54 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3779
Location: Adelaide, Australia
Symptom of faulty resistor has been windows saying USB device not recognised, LED blowing controller getting hot to Flash Drive not working at all. There were some tutorials(as in "how to REALLY kill your USB") where they say to bridge a resistor with tweezers. I assume this is when a resistor or fuse blows and would work in a small percentage of cases.

Personally I don't think it is useful timewise to look for circuit problems, unless you already are good with electronic troubleshooting, such as someone like Franc that has an understanding of different circuits, their function and what role each part plays.. With most part sizes being at least 0805 and 0603 and many newer ones being even 0402, de-soldering them to check isn't really viable. I don't think checking in circuit is viable either on these as you would have to know what values you roughly should be seeing


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 24th, 2014, 6:07 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 14945
Location: Australia
I think you are referring to the low-ohm resistor that is in series with the +5V supply. The component I'm referring to is the 1% reference resistor. Depending on the design, it's value can vary between a few hundred ohms and a few kilohms. It does not carry the supply current.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 24th, 2014, 6:52 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3779
Location: Adelaide, Australia
I was speaking generally about any resistor, not answering your specific question I think.

would this resistor be used to adjust the clock signal correctly?


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 24th, 2014, 7:08 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 14945
Location: Australia
I hope I'm not hijacking this thread (the question appears to be a general one), but here is a reference resistor on a SM3257EN based flash drive that appears not to have been correctly soldered.
Attachment:
flash.JPG
flash.JPG [ 3.13 MiB | Viewed 11200 times ]


Here are both resistors:
Attachment:
resistors.jpg
resistors.jpg [ 232.96 KiB | Viewed 11200 times ]


I confess that I don't understand it's exact function, but it is specified as a 1% resistor and it is required by the USB section of the controller.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 24th, 2014, 8:23 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 14945
Location: Australia
fzabkar wrote:
what would be the symptom of an open USB reference resistor (I'm not sure if I have identified it correctly)?

The OP's "reference resistor" isn't an LED, is it???

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 24th, 2014, 9:37 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3779
Location: Adelaide, Australia
could be, it is in a common place for one


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 24th, 2014, 16:39 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 14945
Location: Australia
I'm attaching reference circuits for Silicon Motion's SM3255QF and SM3257EN flash controllers.

I notice that there are references to "ROM code mode" and "Debug mode". There is also a TESTN pin which is normally pulled high, but would select some kind of test mode when it is grounded. I don't know if these test/debug modes are data safe, but perhaps they could be useful for diagnostic purposes. Moreover, I would think that most, if not all, flash controllers would have similar features.

FWIW, I notice that the SM3255QF has 300 ohm 1% reference resistor, while the resistor for the SM3257EN is 680 ohm 1%.


Attachments:
SM3257EN_application_circuit.jpg
SM3257EN_application_circuit.jpg [ 309.78 KiB | Viewed 11159 times ]
SM3255QF_application_circuit.jpg
SM3255QF_application_circuit.jpg [ 269.67 KiB | Viewed 11159 times ]

_________________
A backup a day keeps DR away.
Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 26th, 2014, 4:47 
Offline
User avatar

Joined: August 13th, 2008, 13:10
Posts: 815
Location: World
Thanks Dmitri, fzabkar, and HaQue;

I am very happy with your interes in this case.


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 26th, 2014, 4:59 
Offline
User avatar

Joined: August 13th, 2008, 13:10
Posts: 815
Location: World
Dmitri wrote:
hhddrec wrote:
What points to test

For this one it's worth checking green resistor with "02" on it from the bottom view.

P.S.
What's the vendor / model of this flash drive? Toshiba controller with Toshiba memory chips is quite an infrequent combination.




Thanks Dmitri!

answering your questions:

Vendor: Toshiba
Model: No model
Capacity: 32GB

about "green resistor with "02" " i am with fzabkar. I this is a polyswitch fuse


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 26th, 2014, 5:15 
Offline
User avatar

Joined: August 13th, 2008, 13:10
Posts: 815
Location: World
fzabkar wrote:
The "green resistor" appears to be a polyswitch. That's a resettable fuse. It appears to be rated for 200mA.

http://pdf.datasheetarchive.com/indexer ... 070002.pdf

I would also measure the voltage across the 3.3V filter capacitor for the NAND flash. That would be generated by the controller.



Hi fzabkar!
thanks for your help

about filter cap, i show you in pic


Important about: Reference resistor; This is not a resistor this is a LED.


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 26th, 2014, 5:23 
Offline
User avatar

Joined: August 13th, 2008, 13:10
Posts: 815
Location: World
I atach pics wit measusres


Attachments:
Electronics2.png
Electronics2.png [ 684.09 KiB | Viewed 11122 times ]
Electronics1.png
Electronics1.png [ 455.15 KiB | Viewed 11122 times ]
Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 26th, 2014, 5:26 
Offline
User avatar

Joined: August 13th, 2008, 13:10
Posts: 815
Location: World
Hi HaQue!

Thanks for your help too

I think with my respopnses i can response you.

But your advices about common failures in flash drives, and win symptoms are very clever.

if any dound do not worry in ask me.

Thanks anoter time


Top
 Profile  
 
 Post subject: Re: how can we testing electronics on Flash pen drives?
PostPosted: May 26th, 2014, 8:03 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3779
Location: Adelaide, Australia
About the "test mode" pin on the controller. I have noticed that on controllers from many Vendors. There has been no documentation about it. Also it does not appear to be associated with uploading firmware or really anything exciting.

I have thought it may enable JTAG, Serial enable or make some pins different function.

One very interesting project I found today:

https://bitbucket.org/flowswitch/phison
Quote:
Phison PS2303 (PS2251-03) framework

This project's goal is to turn PS2303-based USB flash drive into a cheap USB 3.0 development platform (i.e. fast USB 3.0 to FPGA bridge).

A PS2303-based USB stick must be in BootROM mode to be able to load and run custom code. This can be achieved in several ways:
1.Use host/go_isp.py script to reboot PS2303 from normal mode to BootROM (simplest, temporary)
2.Disrupt NAND probing at power up shorting some DATA lines with tweezers (temporary)
3.Desolder NAND completely (permanent)
4.Erase NAND firmware (permanent)

Run

Use host/load.py script to load and run test.btpram, observe LED/communicate with the code.


The wiki has some interesting details such as a memory map and some info on commands and interrupts.

Basically I believe this project will allow you to use custom code on the controller of a Flash Drive(PS2251-03). Using CBWCB. I haven't programmed anything serious for USB but I believe this is "Command Block Wrapper Command Block" and you would put in vendor specific commands and arguments/parameters.
The way I understand it is a CBWCB is 16 bytes in size, the first byte(first opcode) specifies the command set or the restrictions on the command set. The second is the command opcode followed by any bytes the command needs as parameters. If it is less than 16 bytes, pad it with 0's

I am not exactly sure just how useful, in the context of debugging a flash drive with an issue, this would be though. But 100 on the cool fun scale.

It would be interesting to use a USB sniffer/debugger and see exactly what VSC's are used in all operations of a drive, and what other opcodes there are hidden away.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group