This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Flash detection


On Mon, 2003-11-10 at 07:29, M.Eugenia G.Valdecasas wrote:
> Hi, I recompiled redboot to use in our board. It has a PXA255 processor
> with 2x16 Intel 28F128J3 Flash. I use the strata flash drivers from 
> intel. 
> I upload redboot to the board with the JTAG tools but on starting comes 
> an error message:
> 
> 
> +Can't identify FLASH, sorry, man e, dev 1e, id [<Not a string: 
> 0xA000CAFC>] stat 0
> A000CAEC: 0E 1E B0 AB 0E 1E C0 AB  0E 1E D0 AB 0E 1E E0 AB 
> |................|
> A000CAFC: 0E 1E F0 AB 00 00 00 00  00 00 00 00 00 00 00 00 
> |................|
> A000CB0C: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
> |................|
> A000CB1C: 00 00 00 00                                      
> |....            |
> FLASH: driver init failed: Unknown error
> 
> I tried the possible solutions named on the mailing list, like in 
> strata.c change the line  "if ( (qp->manuf_code == FLASH_Intel_code)"
> for "if(1 ", to define CYGHWR_IO_FLASH_DEVICE_NOT_IN_RAM and to change 
> the CNT into a higher value. But I still get the same error and it does 
> not go on.
> 
> Have anybody any ideas what is it happening?. I would really appreciate 
> any help. Thank you in advance,

The driver could not get your device to go into "identify" mode.
This can happen for many reasons:
  * FLASH is write protected (the "write" signal is not allowed)
  * You've configured the driver incorrectly.  You say that you have 
    2x16 FLASH - what does that mean [to you]?  Show us your 
    configuration lines from the driver include files.  

Note: the iPAQ flash is 2 devices organized in parallel to form a
32 bit path.  It might be a good place to look for assistance.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]