Thread (6 messages) 6 messages, 3 authors, 2006-09-29

Re: Need help on PPC8343E bringup

From: Michael Galassi <hidden>
Date: 2006-09-29 21:39:42

quoted
Hello linux-ppc experts,

I'm trying to use using wind river jtag probe to download uboot to our
switching box which is with PPC8343E/Intel 28F128J3D memory flash(16M).
Memory mapping is starting from 0xFF000000 to 0xFFFFFFFF which is 16M. The
JTAG software I'm using is visionclick8.

The problem now is that I even couldn't erash flash, with following error
message:

TF ERASE FFF00000..FFFFFFFF INTEL  28F128Jx ( 8192 x 16 )  1 Device
Erasing Flash(s) ... Failed
!ERROR! - [msg100000] Failed while erasing the device(s)
quoted
BKM>
!HALT! - [msg90009] Target Stopped : CheckStop taken; PC = 0x00007404 [EVENT
Taken]
quoted
BKM>
Does anyone has experiece to bring up this CPU, and could shed some lights
on it? Thank you in advance.

- Reeve
Your flash part[s] are almost certainly write-protected, or part of them
is.  Get the data-sheet for them and find what combination to write to
them to un-protect them and try again.  For the parts I'm using (micron
MT28F128J3) writing 0x00600060 followed by 0x00d000d0 to the part does
the trick.

-michael
I must be lonely, responding to my own email :-).

The other option you have is re-build u-boot to run from ram (presumably
at some lower address), then use u-boot itself to clear the write
protect bits on your flash.  U-boot's makefile has config targets for
ram & flash for some target boards which you may be able to take
advantage of.  My first solution is probably still quicker if you're not
trying to debug u-boot itself.

-michael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help