From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas To: Andre Sebastien Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] RedBoot RAM version problem Date: Fri, 27 Jul 2001 07:54:00 -0000 Message-id: References: <3B617AB0.70D0233D@sxb.bsf.alcatel.fr> X-SW-Source: 2001-07/msg00880.html On 27-Jul-2001 Andre Sebastien wrote: > Hi, > > I start to examine this file !! i make a little changment in the code for see th > differents ID , build it and execute it !!! > > so MANUFACTURER ID that device return is 18 and the expected by redboot is 31 > FLASH device ID that device return is 0 and the expected by redboot is 164 > > So What should i do ? bypass this test or not ? It seems to me that the device is not responding to the inquiry - those are not valid numbers AFAIK. In most of the flash drivers, there is a pause after sending the "identify" command before reading the data. Some devices take a really long time to go into that mode and send back the correct information. Try increasing the pause and see if it starts working. > > Jesper Skov wrote: > >> >>>>> "Andre" == Andre Sebastien writes: >> >> Andre> Yes it s this flash device that i have (AT29C040A) !!!! What >> Andre> does it wrong ? >> >> Dunno. I remember we had a similar problem with one of the boards in >> our test farm, but I never got around to investigate. >> >> The problem is that the device ID returned by the device when queried >> is not what the driver expects. See flash_hwr_init in >> devs/flash/atmel/at29cxxxx/current/include/flash_at29cxxxx.inl. >> >> Jesper