Create a yaffs2 File System on NAND Flash (1)
ByOn2006-07-22
After more than half a month of hard work, we finally completed nandflash's MTD driver and the upper-layer yaffs2 file system. In the past half a month or so, we have to fight against frustration almost every day. Every day, we have to endure this bug. I think I have been reading a lot of materials over the past half a month. I have gained some h
Preface:In the embedded development, such as uboot transplant, the kernel transplant all need to have the basic understanding to the flash. Here's a look at the relationship in Flash in the titleone, the memory storage structure of FlashFlash is divided into two types according to the internal storage structure:NOR FlashAndNAND
1. Nor features in-chip execution (xip, execute in place), so that applications can run directly in flash memory without having to read the code into system Ram. The advantage is that the program can be run directly from flash and stored as code, but the process is complicated, the price is relatively expensive, and the transfer efficiency of nor is very high ~ T
Nand Flash and Nor Flash NOR are characterized by In-chip execution (XIP, eXecute In
Place), so that the application can run directly in flash memory, without having to read the code into the system RAM. The advantage is that you can directly run the program from
NAND Flash and nor
Flash is often mentioned in some places and has never understood their differences seriously. Therefore, I have spent some time understanding them carefully today. I will put my notes here below :)
1. Nor is characterized by in-chip execution (xip, execute in
Place), so that the application can run directly in
Original: http://xianzilu.spaces.live.com/blog/The NAND Flash Driver of smdk2410 in U-boot. I shouldn't have written this first. Oh, but I have a poor memory. Maybe I forgot where I got the code during the porting process in a few days. First, I would like to celebrate that all my exams are over, hahaha. But do not try again ...... I heard that the course of our
Nor and NAND are two major non-loss flash technologies on the market. Intel first launched nor in 1988Flash technology has completely changed the previous integration of EPROM and EEPROMThe world. Next, in 1989, Toshiba published the NAND Flash structure, emphasizing the reduction of the success rate of each bit.Higher
as unavailable.Bit switching: NAND flash occurs more frequently than nor flash. We recommend that you use the EDC/ECC algorithm when using NAND Flash.Usage: nor flash can be executed in the chip (xip, execute in place). Applications can run directly in fIash
factory (masked) bad block or initial bad/invalid block, which will be marked before the factory is released,
It is marked as a bad block.
(2) Bad blocks generated during use:
The second type is generated during the use process. Because the use process takes a long time, an error occurs when the block is erased. This indicates that the block is broken.
It must be found during the running of the program and marked as bad blocks. The location of the tag. This type of block is called worn-out.
Bad
First, the characteristics of NAND flashThe s3c6410 NAND Flash controller has the following features1, since the import mode: After the reset, the boot code is fed into the 8KB steppingstone, the boot code is moved, the boot code will be executed in Steppingstone. During import, the NAND
Tags: blog HTTP Io ar use for SP file data
First, let's clarify our programming steps.
(1) power up the program within 4 K of boot. s in nand_flash. This 4 K will be automatically copied to the SRAM (in-chip RAM) for execution.
(2) We need to use this 4 K program to copy the program after 4 K in NAND Flash (of course, copy the program to the base address of SDRAM at 0x30000000) and continue the execution (m
The non-easy slipped speed memory flash has the characteristics of high speed, low cost and large density.Flash memory mainly has nor flash and NAND flash two types, in general, nor type is more suitable for storing program code,
Nor and NAND are two major non-loss flash technologies on the market. Intel first developed nor Flash technology in 1988, which completely changed the previous situation where EPROM and EEPROM were integrated. Next, in 1989, Toshiba published the NAND Flash structure, emphas
With its advantages in large capacity and low price, NAND Flash has quickly become a new favorite of embedded system storage. Therefore, its file system research has become increasingly widespread.
This article briefly introduces the commonly used nand flash file system yaffs, and provides the test results for the onli
[Switch] xip-execute in place, which is often translated into Chinese and executed in local mode. Indicates that the code can be executed in the current memory.
About nor flash xip:
Nand and nor and xip
"Nor features in-chip execution (xip, execute in place), so that applications can run directly in flash
Analysis on the NAND Flash Driver of S3C2410
In the past, I used to directly use the code written by others without worrying about how to implement it. Last night, I compared Samsung 2410 and K
The 9f1208 chip reads the code and finally understands how to implement the NAND Flash operation step by step. The following
the 0x80000 address of NAND.
Then, the data of 0x20000000 bytes starting with 0x800 in the memory is written to the 0x80000 address of the NAND.
Then read 0x80000 bytes of data from the 0x800 address of the NAND to the 0x20002000 address of the memory.
Then, use the CMP
Before understanding the basic principle of random access memory, which is mainly through the charge and discharge of the capacitor to ensure the data read and write, when the power loss, the data is lost, this section we mainly learn the basic composition and principle of Flash. Now flash in the embedded system and the status of the hard disk on the PC similar t
From: http://www.dz3w.com/mcu/c51src/0079894.html
Data read/write method and source code of NAND Flash
The data in NAND Flash is bitIn memory cell. Generally, only one bit can be stored in a cell. These cells are connected to bits in 8 or 16 units.Line to form the so-calle
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.