Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

flash disk broken! How to recover files from bin?

Status
Not open for further replies.

sergioems

Junior Member level 1
Joined
Oct 17, 2004
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
171
broken flash drive

Hi to all. i got here a flash disk that was broken because any pc could recognize it so i unsolder samsung flash and read all bin using my superpro3000 programmer.
Now i ask your help to know wich is best way to recover files from bin file.
tks in advance!
 

pit

Full Member level 4
Joined
Jun 5, 2002
Messages
201
Helped
44
Reputation
88
Reaction score
35
Trophy points
1,308
Activity points
1,858
recover file from broken flashdisk

Hello!

How many Flash ROM are there? First thing would be to guess the order in which the individual flash ROMs are organized to form the flash disk. The flash ROMs could be 8, 16 or 32 bit wide. Depending on the interface width (16 or 32 bit) of the flash disk one, two or four flash ROMs form a memory bank.

This is the first item to guess.

The second item will be the memory banks. It may help following the pcb traces of the /CE, /OE and possibly the higher order memory address lines to see in which array the flash ROMs are organized.

When you have the organisation then mix and concatenate the single flash files to a complete memory dump. You can mount this file in a Linux system using the loopback device, and then extract the files.

CU
 

sergioems

Junior Member level 1
Joined
Oct 17, 2004
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
171
flash disk broken

Tks for your reply. It was only one flash rom a 128Mb flash rom.
I already have read some info before about make a mount in linux and so on but i never worked with linux. im willing to pay some money if necessary to someone. docs inside are mostly excel and word and some pictures. I got here the bin read and if someone do this service even for some money im interested.
tks
 

throwaway18

Advanced Member level 2
Joined
Jun 9, 2005
Messages
596
Helped
101
Reputation
202
Reaction score
24
Trophy points
1,298
Location
Kent, UK
Activity points
8,349
recovering flashdisk rom

How about getting another flash drive of the exact same type and attaching the flash memory to it?
 

sergioems

Junior Member level 1
Joined
Oct 17, 2004
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
171
broken flash disk

but i don t have any of same type unfortunaly. i also remember that but could not find it
 

Davood Amerion

Advanced Member level 2
Joined
Mar 1, 2005
Messages
584
Helped
116
Reputation
232
Reaction score
24
Trophy points
1,298
Location
Persia
Activity points
6,345
view .bin flash rom

As i know, files of Flash memorys, organized in FAT32 format, and completly similar to file system of windows.
and i think it is not easy to get its data. you must find directory section and its clusters (from FAT section), then concatenate that cluster to make original files.

Regards,
Davood.
 

sergioems

Junior Member level 1
Joined
Oct 17, 2004
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
171
recovering file from flashdisk

i also assume would not be easy. but no one here can do this kind of work? i just need some data inside if possible . Even it take me some money.
 

banjo

Advanced Member level 2
Joined
Dec 24, 2005
Messages
651
Helped
127
Reputation
254
Reaction score
8
Trophy points
1,298
Activity points
8,064
recoverfiles flashdisk

There is a program called WINHEX that may help. An eval version is available for download. It allows you to look at hex files and drive clusters. If you assume FAT16 format, then there should be two copies of the FAT table stored in the flash.
It will not be an easy task, but you have to attempt to find the FAT table and then use that to recreate the rest of the drive.

Personally, I would go shopping for a similar drive and swap the chips. Several vendors, like Lexar make flash drives in clear cases. This allows you to see the controller and the flash chip. You already have a bin file image, so you could also remove the flash chip from the new drive, burn in the bin file and replace it on the new flash drive. Assuming that the old flash was not corrupt and that the new controller has a similar drive emulation scheme, it could be an easy fix.

Do you have a copy of at least one file that was on the drive? If so, you can search the bin file for pieces of that file, that at least tells you whether the bin dump has anything but garbage in it.

-- Steve
 

pit

Full Member level 4
Joined
Jun 5, 2002
Messages
201
Helped
44
Reputation
88
Reaction score
35
Trophy points
1,308
Activity points
1,858
broken restore file

sergioems said:
It was only one flash rom a 128Mb flash rom.

Then it is quite easy. Use a Linux system and the local loopback device to mount the bin-file, then extract the data you need. Read man pages for mount if you are unfamiliar with the options.

CU
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top