Serial Flash

Is there a flash file system driver available for a serial flash part? We
are using an Atmel AT45DB021B part. On our board (ppc), we can access the
part via 2 registers, a control register and a data register.

There are 1024 pages of 264 bytes each (strange number). To read or write,
you basically write a specific value to the control register, identifying
the command and the page/offset, then read/write the data from/to the data
register (serially). The part has some various mechanisms to read, write
and erase pages, but the net effect is that everything is done through 2
registers.

tia

Issam Haddad <ihaddad@asurent.com> wrote in article <a7cciv$blp$1@inn.qnx.com>…

Is there a flash file system driver available for a serial flash part? We
are using an Atmel AT45DB021B part. On our board (ppc), we can access the
part via 2 registers, a control register and a data register.

There are 1024 pages of 264 bytes each (strange number).

Here is snippet of Atmel doc:
======== Serial DataFlash / Application Note =========
System designers can use all of a page’s 264 bytes for storing data. Alternatively, the 8 extra
bytes per page can be used for error detection and correction mechanisms (EDC) or associated
control information, such as pointers, flags and phone message routing directions.
========= End of snippet ===========
Sorry, I did not answer your question :wink:

Eduard.
ed1k at yahoo dot com
























































To read or write,
you basically write a specific value to the control register, identifying
the command and the page/offset, then read/write the data from/to the data
register (serially). The part has some various mechanisms to read, write
and erase pages, but the net effect is that everything is done through 2
registers.

tia

\

Issam Haddad <ihaddad@asurent.com> wrote:

Is there a flash file system driver available for a serial flash part? We
are using an Atmel AT45DB021B part. On our board (ppc), we can access the
part via 2 registers, a control register and a data register.

There are 1024 pages of 264 bytes each (strange number). To read or write,
you basically write a specific value to the control register, identifying
the command and the page/offset, then read/write the data from/to the data
register (serially). The part has some various mechanisms to read, write
and erase pages, but the net effect is that everything is done through 2
registers.

tia

There is currently no driver to support that particular flash technology.
The flash routines you were asking about earlier are for parallel NOR flash
devices, such as the Intel 28*** and the AMD 29*** families of devices. We
also have support for NAND flash devices, such as the Toshiba TC58V64 8M
NAND flash. This type of technology is closer to the Atmel device you are
using, but not quite the same. Please contact your sales rep. for further
information.


Dave Green (dgreen@qnx.com)

QNX Software Systems Ltd.
http://www.qnx.com

Thanks for the info. One of our hardware designers had suggested looking at
the NAND flash driver as a basis for the Atmel part.

“Dave Green” <dgreen@qnx.com> wrote in message
news:a7cnfr$smq$1@nntp.qnx.com

Issam Haddad <> ihaddad@asurent.com> > wrote:
Is there a flash file system driver available for a serial flash part?
We
are using an Atmel AT45DB021B part. On our board (ppc), we can access
the
part via 2 registers, a control register and a data register.

There are 1024 pages of 264 bytes each (strange number). To read or
write,
you basically write a specific value to the control register,
identifying
the command and the page/offset, then read/write the data from/to the
data
register (serially). The part has some various mechanisms to read,
write
and erase pages, but the net effect is that everything is done through 2
registers.

tia

There is currently no driver to support that particular flash technology.
The flash routines you were asking about earlier are for parallel NOR
flash
devices, such as the Intel 28*** and the AMD 29*** families of devices. We
also have support for NAND flash devices, such as the Toshiba TC58V64 8M
NAND flash. This type of technology is closer to the Atmel device you are
using, but not quite the same. Please contact your sales rep. for further
information.


Dave Green (> dgreen@qnx.com> )

QNX Software Systems Ltd.
http://www.qnx.com