[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] CFI Flash on 8bit bus?



Hello,

The following email thread was sent to me by a friend.  I am having what may
be similar issues with an 8-bit flash device attached to the opb_emc of my
MicroBlaze platform.  I cannot seem to get the flash device to respond to
queries for its Manufacturer_ID or Device_ID.  I am curious about the
modifications to the opb_emc that are mentioned below?  What sort of
modifications?  Where can I get them?  Although I am not running an OS on my
platform, I think they might be relevant.  Any help is appreciated!  Many
thanks in advance.

--Tom Curran
Xilinx FPGA and Microblaze design lackey
narrucmot@verizon.net

>
> -----Original Message-----
> From: owner-microblaze-uclinux@itee.uq.edu.au
> [mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of Errol
> Terblanche
> Sent: Thursday, July 07, 2005 2:57 AM
> To: microblaze-uclinux@itee.uq.edu.au
> Subject: RE: [microblaze-uclinux] CFI Flash on 8bit bus?
>
> Hi David,
>
> Ahh, so that is why it specifically mentions "16-bit flash works with
> JFFS2
> filesystem". :-).
>
> Thanks for the info.
>
> Thanx,
> E
>
>
> -----Original Message-----
> From: owner-microblaze-uclinux@itee.uq.edu.au
> [mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of David
> Banas
> Sent: Tuesday, July 05, 2005 10:44 PM
> To: microblaze-uclinux@itee.uq.edu.au
> Subject: RE: [microblaze-uclinux] CFI Flash on 8bit bus?
>
> Hi Erol,
>
> Those of us using 16-bit wide FLASH have had to use some modifications
> to
> the actual HDL code for the EMC core. These mods were originally written
> by
> Steve Sanders. I wonder if you're in the same boat and might need to
> follow
> Steve's example, in order to make the EMC core compatible with your
> FLASH.
>
> David Banas
> Field Applications Engineer
> Nu Horizons Electronics Corp.
> 2070 Ringwood Avenue
> San Jose, CA 95131
> (408)434-0800 - office
> (415)846-5837 - cell
> http://www.nuhorizons.com
>
>> -----Original Message-----
>> From: owner-microblaze-uclinux@itee.uq.edu.au
> [mailto:owner-microblaze-
>> uclinux@itee.uq.edu.au] On Behalf Of Errol Terblanche
>> Sent: Friday, July 01, 2005 12:42 AM
>> To: microblaze-uclinux@itee.uq.edu.au
>> Subject: [microblaze-uclinux] CFI Flash on 8bit bus?
>>
>> Hi everyone,
>>
>> I have been struggling with flash for the last few days, and I'm at my
>> wit's
>> end.
>>
>> I have configured mtd to use Intel flash and to use 8bit bus width.
>>
>> During boot I get the following message:
>>
>> [snip]
>> physmap flash device: 1000000 at 24000000
>> cfi_cmdset_0001: Erase suspend on write enabled
>> 0: offset=0x0,size=0x20000,blocks=128
>> Using buffer write method
>> physmap: no partition info available, registering whole flash at once
>> [snip]
>>
>> That tells me that it did detect the chip, as its block size is
>> 0x20000(128KB) and it has 128 blocks for a total of 16MB.
>>
>> But when I try and format(or dd) it I get the following:
>>
>> [snip]
>> # ftl_format /dev/mtd0
>> Partition size = 16 mb, erase unit size = 128 kb, 1 transfer units
>> Reserved
>> 5%, formatted size = 15631872 bytes Erasing all blocks...
>> Chip reports improper command sequence: status 0x7000000000
>>
>> block erase failed: Input/output error
>> format failed.
>> [snip]
>>
>> The only thing that I can think of is that mtd is accessing it as
>> something
>> other than 8 bit mode thus sending erroneous blank commands during the
>> erase
>> command sequence. And why is 0x7000000000 a 40 bit number?
>>
>> Thanx,
>> Errol
>>
>>
>> ___________________________
>> microblaze-uclinux mailing list
>> microblaze-uclinux@itee.uq.edu.au
>> Project Home Page :
> http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-
>> uclinux/
>>

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/