Skip to contentSkip to conversation

K9F5608U0B-YIB0000: 528 byte in page, or 512?

DISCUSSION A.L. Klyutchenya 3 participants 6 messages Mar 31, 2003 – Apr 23, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I try to use the microcircuits K9F5608U0B-YIB0000 from Samsung. Herewith, size of the page size of this chip is 512 + 16 bytes (528). When I write the image of the disk on chip, me it is necessary to write all bytes consecutively? Or only 512 on each page, but remained 16 not to use?

Signature · 8 lines
????????!      
      ____   __
     /   |  / / ?. ?. ????????
    / /| | / /  (asoneofus)
   / /_| |/ /   mail:   asoneofus at kde.ru
  / ____  _ \   www:    http://www.qt.kde.ru
 / /   | | \ \  icq:    113679387
/_/    |_|  \_\ 
#2 lore raw
In reply to Charles Manning

Dear sir,
Thank you for quick answer.

1 Апрель 2003 07:36, Charles Manning написал:

Quoted 2 lines

This is NAND flash. Do not try to treat it as NOR flash. Use it with mtd/nand and use YAFFS or JFFS2 file system.

I want to write the first image, for booting system. I create this image (with kernel, MTD & Co). I have a possibility his write. Herewith: I have an physical access to page: size 256+256+16, and block on 32 pages. While NO MTD and NO kernel!

Quoted 1 line

You must write NAND in whole pages, not on a per-byte basis.

I understand that page it is necessary to write, but what bring the first image: chain on 512+512.... or 512+16 free + 512+16 free...

As even so write? :-) (to hrdware-level)

Quoted 6 lines · A.L. Klyutchenya
Quoted 5 lines

I try to use the microcircuits K9F5608U0B-YIB0000 from Samsung. Herewith, size of the page size of this chip is 512
+ 16 bytes (528). When I write the image of the disk on chip, me it is necessary to write all bytes consecutively? Or only 512 on each page, but remained 16 not to use?

Signature · 8 lines
ВсехБлаг!      
      ____   __
     /   |  / / А. Л. Клютченя
    / /| | / /  (asoneofus)
   / /_| |/ /   mail:   [email protected]
  / ____  _ \   www:    http://www.qt.kde.ru
 / /   | | \ \  icq:    113679387
/_/    |_|  \_\ 
#1 lore raw
In reply to A.L. Klyutchenya

This is NAND flash. Do not try to treat it as NOR flash. Use it with mtd/nand and use YAFFS or JFFS2 file system.

You must write NAND in whole pages, not on a per-byte basis.

Quoted 5 lines · A.L. Klyutchenya

I try to use the microcircuits K9F5608U0B-YIB0000 from Samsung. Herewith, size of the page size of this chip is 512 + 16 bytes (528). When I write the image of the disk on chip, me it is necessary to write all bytes consecutively? Or only 512 on each page, but remained 16 not to use?

#3 lore raw
In reply to A.L. Klyutchenya
Quoted 12 lines · A.L. Klyutchenya

Dear sir,
Thank you for quick answer.

1 Апрель 2003 07:36, Charles Manning написал:

Quoted 2 lines

This is NAND flash. Do not try to treat it as NOR flash. Use it with mtd/nand and use YAFFS or JFFS2 file system.

I want to write the first image, for booting system. I create this image (with kernel, MTD & Co). I have a possibility his write. Herewith: I have an physical access to page: size 256+256+16, and block on 32 pages. While NO MTD and NO kernel!

Quoted 7 lines
Quoted 1 line

You must write NAND in whole pages, not on a per-byte basis.

I understand that page it is necessary to write, but what bring the first image: chain on 512+512.... or 512+16 free + 512+16 free...

As even so write? :-) (to hrdware-level)

Please read http://linux-mtd.infraded.org/tech/nand.html

Signature · 5 lines
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: [email protected]
#4 lore raw

2 Апрель 2003 14:28, Thomas Gleixner написал:

Quoted 17 lines · A.L. Klyutchenya
Quoted 16 lines

Dear sir,
Thank you for quick answer.

1 Апрель 2003 07:36, Charles Manning написал:

Quoted 2 lines

This is NAND flash. Do not try to treat it as NOR flash. Use it with mtd/nand and use YAFFS or JFFS2 file system.

I want to write the first image, for booting system. I create this image (with kernel, MTD & Co). I have a possibility his write. Herewith: I have an physical access to page: size 256+256+16, and block on 32 pages. While NO MTD and NO kernel!

Quoted 2 lines

You must write NAND in whole pages, not on a per-byte basis.

Quoted 7 lines
Quoted 5 lines

I understand that page it is necessary to write, but what bring the first image: chain on 512+512.... or 512+16 free + 512+16 free...

As even so write? :-) (to hrdware-level)

Please read http://linux-mtd.infraded.org/tech/nand.html

I read, and don't find answer.

1) make jffs2 image: correct erase block-size for NAND (512+16 page x 32) is 0x4200 or (512 page x 32) 0x4000?

2) for writing jffs2 image to NAND use only 512byte space on each page, or 512+16?

Signature · 8 lines
ВсехБлаг!      
      ____   __
     /   |  / / А. Л. Клютченя
    / /| | / /  (asoneofus)
   / /_| |/ /   mail:   [email protected]
  / ____  _ \   www:    http://www.qt.kde.ru
 / /   | | \ \  icq:    113679387
/_/    |_|  \_\ 
#5 lore raw

[snip]

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

I understand that page it is necessary to write, but what bring the first image: chain on 512+512.... or 512+16 free + 512+16 free...

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

As even so write? :-) (to hrdware-level)

Please read http://linux-mtd.infraded.org/tech/nand.html

I read, and don't find answer.

1) make jffs2 image: correct erase block-size for NAND (512+16 page x 32) is 0x4200 or (512 page x 32) 0x4000?

The eraseure size is 0x4000.

Quoted 3 lines

2) for writing jffs2 image to NAND use only 512byte space on each page, or 512+16?

The 512-byte part is written by the write function and the 16 bit "spare" or "out of band" area is written with the write_oob function.

-- Charles