MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 69 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Embedded WD Flash
PostPosted: August 28th, 2008, 10:29 
Offline

Joined: June 9th, 2008, 12:06
Posts: 213
I've been working with several 88i6745 Marvel boards lately. There seem to be numerous differences with these. As you may already know, rom is embedded in this chip. Anyway, on this model, bad programming here on a perfectly good board and drive, and it won't even allow kernel/psv mode access. what to do? You can access the data on drive via hotswap technique which I've done successfully, but you must have an identical match...I've found that even a slight variation and often just a few months and the headmap is different...also, the ROM is 192KB versus 128KB which poses some issues for PCI. Anyway, I am exploring possibility of JTAG programmer for ARM9 cpus...supports many Marvel including this newer 88i6745. Anyone use this? PM or email me if you like.

_________________
http://pcrecoveryllc.com


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: August 28th, 2008, 11:23 
Offline

Joined: July 18th, 2006, 3:05
Posts: 7476
Location: ITALY
That's what I like... :P


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: September 6th, 2008, 22:56 
Offline

Joined: June 9th, 2008, 12:06
Posts: 213
I'm quite familiar with the various methods employed to deal with external ROM. I'm interested in dealing with two scenarios:
1. Marvel 88i6745 (or similar) goes bad. Embedded. You cannot access ROM. Not even Kernel/safe mode will allow reading...
2. GOOD PCB, but corrupt or improper ROM/headmap New drives won't even spin up with incorrect ROM. Nor will you be able to re-write this type. Now what?

I have some knowledge about what can be done, but would like to study two things:

a. the extraction of flash rom contents embedded in Marvel. possibilites and methodologies.
b. the use of M25P20 in usual location (which you will see @ U12 as always)

also, is there some way to force to accept/allow uploading of ROM? (e.g., shorting RDY/RSV, etc) I'm experimenting on several my own drives. I've taken a brand new such drive, corrupted ROM, write back, and now drive won't even spin up or enter kernel/safe mode. Cannot write original rom back either. I know that I can write original rom to m25 then solder to usual location, but other changes are certainly needed to tell marvel to use. Email or PM if you are working on similar. NOTE: I'm looking at two different scenarios...one dealing with a bad Marvel with embedded rom, and another with good pcb and drive, but corrupted or wrong/bad ROM.

_________________
http://pcrecoveryllc.com


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: September 7th, 2008, 5:29 
Offline

Joined: July 8th, 2006, 6:18
Posts: 222
Interesting job you are doing!
Did you get any useful information on the Marvell so far? The manufacturers site is down for some time now (maintenance, they call it), so I cannot check whether they had anything online which could be of help. I hope you checked before they became unavailable.
Anyway, from my experience with other CPUs I would guess there are configuration options to enable bootstrapping from the external serial flash - pin-strapping is a bit outdated, so there should be a possibilty to do this via JTAG. The mileage of this will of course vary depending on the availability of information on the chip.
The next step would be to extract the ROM contents. What if they are protected - have you thought about a way to defeat this?


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: September 7th, 2008, 15:27 
Offline

Joined: June 9th, 2008, 12:06
Posts: 213
Unfortunately I've gotten no information from them... I have two personal projects I am working on. One is a single-platter Scorpio 2.5" and the other is a dual-platter. Both SATA. Both 88i6745. I have about a dozen different models of these... so I am experimenting on a few. On lots of earlier WD models...the drive will still spin-up if you insulate the preamp commutator...in fact, its a good way to see if a bad preamp is causing your drive not to spin up, however, on these, if you insulate these contacts, the drive will NOT spin up. Quite the opposite. Another difference, and the one i'm interested in here, is the embedded flash. I'm interested in all aspects of dealing with it. Both BAD Marvel scenario, AND the good PCB / Marvel but bad/corrupt flash. I am not sure at all how to approach a bad Marvel scenario. Currently, I have a new drive which I backed up rom and modules, etc. I corrupted the ROM, then wrote bad rom back to it. Now verified that drive is inaccessible..in fact, won't even spin up. Now i plan to take the backup of the ROM and program it onto an M25P20 and connect externally...this is easily done..especially since u12 was not abandoned and appears ready to accept. Next, i need to figure out how to make changes to switch to use external rom instead of embedded. For the bad Marvel scenario, however, I've not gotten many ideas except JTAG... many devices (NAND) support boot strapping via an input pin (i.e., called PRE) that puts the device into a sequential read mode...doubt this does, but don't have any technical info on it yet...

_________________
http://pcrecoveryllc.com


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: September 8th, 2008, 6:34 
Offline

Joined: July 8th, 2006, 6:18
Posts: 222
Ok, I see, you also suffer from lack of information. On the other side, there are companies (see google) that offer in circuit emulators for the Marvells in question - they should at least have all the information you need. But I doubt they are willing to share anything except their products for money.
Keep up your work, as I will on my latest project - let you all know if I have success.


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: September 8th, 2008, 8:51 
Offline

Joined: December 27th, 2006, 10:15
Posts: 1852
Location: Belgium
Hi Shaun and PCrecovery.

Interesting stuff you are doing.
I would also like to investigate these WD's but for the moment i lack the time.
First doing Seagate stuff.
Please keep posting the progress. As soon as i got some time I'll look into these WD's also.

Best regards,

Dobre

_________________
Murphy was an optimist

Datarecovery in Belgium, Holland, France and Germany
Datarecoverytools http://www.drtools.eu


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: September 10th, 2008, 18:36 
Offline

Joined: July 8th, 2006, 6:18
Posts: 222
Lack of time is one major problem for all of us I'd guess.
I'm working on an update for the clean bench and on a new hdd solution additionally to daily work - so I know what you're talking about.


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: September 11th, 2008, 1:37 
Offline

Joined: July 18th, 2006, 3:05
Posts: 7476
Location: ITALY
I had no problems buying dev kits or ICE. Yes, everyone wants money,money,money... Try on your own or pay and save a lot of time. :S


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: September 12th, 2008, 16:52 
Offline

Joined: June 9th, 2008, 12:06
Posts: 213
Paying and saving lots of time sounds good...since time=money....looking at Lauterbach and couple others' right now...

_________________
http://pcrecoveryllc.com


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: September 12th, 2008, 22:16 
Offline

Joined: July 18th, 2006, 3:05
Posts: 7476
Location: ITALY
Please pm me. We should talk one on one on IM or voice if you wish. I am half way with research and so some other people. Maybe together we win, alone we all lose.


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: December 18th, 2008, 14:41 
Offline

Joined: December 20th, 2004, 16:54
Posts: 2
pcrecovery wrote:
Unfortunately I've gotten no information from them... I have two personal projects I am working on. One is a single-platter Scorpio 2.5" and the other is a dual-platter. Both SATA. Both 88i6745. I have about a dozen different models of these... so I am experimenting on a few. On lots of earlier WD models...the drive will still spin-up if you insulate the preamp commutator...in fact, its a good way to see if a bad preamp is causing your drive not to spin up, however, on these, if you insulate these contacts, the drive will NOT spin up. Quite the opposite. Another difference, and the one i'm interested in here, is the embedded flash. I'm interested in all aspects of dealing with it. Both BAD Marvel scenario, AND the good PCB / Marvel but bad/corrupt flash. I am not sure at all how to approach a bad Marvel scenario. Currently, I have a new drive which I backed up rom and modules, etc. I corrupted the ROM, then wrote bad rom back to it. Now verified that drive is inaccessible..in fact, won't even spin up. Now i plan to take the backup of the ROM and program it onto an M25P20 and connect externally...this is easily done..especially since u12 was not abandoned and appears ready to accept. Next, i need to figure out how to make changes to switch to use external rom instead of embedded. For the bad Marvel scenario, however, I've not gotten many ideas except JTAG... many devices (NAND) support boot strapping via an input pin (i.e., called PRE) that puts the device into a sequential read mode...doubt this does, but don't have any technical info on it yet...

pcrecovery, could you please share your method ( in details ) of backup those parts of WD disk ?


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: December 22nd, 2008, 9:49 
Offline
User avatar

Joined: August 9th, 2007, 8:40
Posts: 791
Location: United Kingdom
Quote:
also, is there some way to force to accept/allow uploading of ROM? (e.g., shorting RDY/RSV, etc) I'm experimenting on several my own drives.


Is there a pullup resistor near one of the leads or is there one missing?

I saw a photo on here somewhere where I noticed there was a resistor space near ROM and Processor but no resistor. If a pullup resistor was put in here it may change the state of the boot flag.

_________________
If you can keep your head when all about you are losing theirs, you probably don't fully understand the situation. ... Mr Kipling

https://www.mjm.co.uk/


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: December 22nd, 2008, 10:33 
Offline
User avatar

Joined: September 29th, 2005, 12:02
Posts: 3577
Location: Chicago
Somewhere should be pin (one of the legs of MCU) which you can short and drive supposed to go to kernel (This is my guessing). Sometimes drive goes to kernel by itself (if ROM is blank for example)
In kernel mode drive wouldn't accept any IDE command except for command 92h (that's I know for sure)
And drive will wait a piece of code with special header (no more than 80h sectors in length) which supposed to upload the flash image and write it into the ROM. This piece of code supposed to be written by somebody :)
Such piece of code might be located in SA too and this module supposed to have string "uCODE" at the beginning (this is my guessing too)

_________________
SAN, NAS, RAID, Server, and HDD Data Recovery.


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: December 22nd, 2008, 18:10 
Offline
User avatar

Joined: May 5th, 2004, 20:06
Posts: 2782
Location: England
I don't have the latest PC3k UDMA but does that not support incorrect PCB swapping with embedded flash?

_________________
All went well until I plugged the drive in.


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: December 22nd, 2008, 20:07 
Offline

Joined: October 3rd, 2005, 0:40
Posts: 4753
Location: Hungary
Hi,

yes, it has some functions I saw, but didn't have a chance to try.

pepe

_________________
Adatmentés - Data recovery


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: December 22nd, 2008, 22:17 
Offline
User avatar

Joined: September 29th, 2005, 12:02
Posts: 3577
Location: Chicago
This function has nothing to do with fixing unresponsible PCB

_________________
SAN, NAS, RAID, Server, and HDD Data Recovery.


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: February 1st, 2009, 12:35 
Offline

Joined: June 9th, 2008, 12:06
Posts: 213
guru wrote:
I don't have the latest PC3k UDMA but does that not support incorrect PCB swapping with embedded flash?


I saw this update Dec 2008, and I think that this will solve making original and writing to replacement PCB. To me, this implies that they are reading SA area, and using data on SA to make ORIGINAL ROM w/adaptives.

I already know how to repair original PCB when embedded is corrupted or damaged. Sometimes is faster to solder chips than to source or order PCB. WD Marvell ROYL series don't when corrupted or damaged. I solved this problem already, so I know how to fix PCB, but now I like to know how to make original ROM from SA area on WD ROYL. This is strictly an academic exercise at this point.

_________________
http://pcrecoveryllc.com


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: February 2nd, 2009, 5:59 
Offline
User avatar

Joined: October 2nd, 2005, 0:30
Posts: 288
Location: Jakarta - Indonesia
BlackST wrote:
Please pm me. We should talk one on one on IM or voice if you wish. I am half way with research and so some other people. Maybe together we win, alone we all lose.


Count me in, I'm more than eager to discuss this matter further.

I am still in progress doing my own research on newer WD drives, and may be we can exchange info about Marvel

_________________
My Forum


Top
 Profile  
 
 Post subject: Re: Embedded WD Flash
PostPosted: February 27th, 2009, 22:40 
Offline

Joined: August 21st, 2008, 18:18
Posts: 1
me toooo

is there any modification in the pcb can be done to deal with external rom


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 28 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