Transfer from http://jinren1010.spaces.eepw.com.cn/articles/article/item/15556 (1) The basic unit of flash memory chip read and write different applications on nor chip operation with " word " as the basic unit. In order to facilitate the management of large or flash memory, nor flash memory is usually divided into 128KB or 64KB of logic blocks, and sometimes the block is also divided into sectors. Both logical block numbers and intra-block offsets need to be specified when reading and writing.
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 ~ The small size of 4 MB has high cost efficiency, but the low write and erase speeds greatly affect its performance.
2. The
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 online testing of yaffs in terms of uniform loss and power loss recovery, focuses on the embed
We entered the NAND command file CMD/NAND.C, in the Do_nand function, there is the NAND read or write code, and there is support for JFFS2, but there is no support for YAFFS2. The old version of Uboot was supported for Yaffs file system burning, so we refer to the old version of the Uboot code, in the Do_nand function of the NAND write/read part plus a piece of c
is 16, and the block unit is 512 bytes
Nand Flash uboot Command detailed
NAND info NAND Device
Display information for Flash:
DM365: >nand InfoDevice 0:nand 32MiB 3,3v 8-bit, Sector size KiBDM365: >nand DeviceDevice
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 FLASH, but the process is complicated, the price is relatively expensive, NOR transmission efficiency is very high, in 1 ~ The small size of 4 MB has high cost efficiency, but the low write a
We often say that flash memory is just a general term. To be precise, it is commonly known as non-random access memory (NVRAM). It features that data does not disappear after power failure, therefore, it can be used as external memory. The so-called memory is a volatile memory, which can be divided into two categories: DRAM and SRAM. The memory is usually referred to as dram, that is, the familiar DDR, DDR2, SDR, Edo, etc. Flash memory also has different types, which are mainly divided into two
In this section, we start to transplant nand flash: To support nand, We need to configure config_0000_nand by viewing the help documentation DOC/readme. NAND. We need to modify tiny210.h to block config_0000_onenand, and add config_0000_nand:
Compilation error. config_sys_max_nand_device is not defined. The maximum number of
the lowest bit 0 on the line@ Off the DogLdrr0, =s5pc100_watchdog_base@0xea200000STRR5, [R0]2 clock@ Initialize the clock systemBlsystem_clock_init3.DRAM4.NAND@ Initialize NAND controllerBlnand_asm_init@ Initialize Memory controllerBlmem_ctrl_asm_initThird: The peripherals that need to be used1.UART2.NET3.LCD4.USB....................The procedure for lighting the lamp, where the test procedure went.Program
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 flash memory, without having to read the code into the system Ram. The advantage is that you can directly run the program fr
[What is onenand flash]
Onenand is a highly reliable embedded storage device designed for consumer electronics and the next-generation mobile phone market.With the development of NAND technology over the past few decades, some companies, based on the original NAND architecture,An ideal single storage chip is designed, which integrates the SRAM cache and logic interface.Onenand not only achieves fast reading
6.1.3) block blocksa Nand Flash (chip, chips) consists of a number of blocks (blocks), the size of the block is generally 128KB, 256KB, 512KB, here is 128KB. Other less than 128KB, such as 64KB, is generally the following will be introduced to the small block of NAND Flash. Blocks block, is NAND Flash'sBasic/Minimum unit of erase Operation. 6.1.4) pageEach block
Command
Function
Nand info
Display available NAND Flash
Nand device [Dev]
Display or set the currently used NAND Flash
Nand read ADDR off size
NAND Flash READ command, offset from off of NAND
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 code can be used to operate a NAND flash in
We know that s5pv210 can be started in many ways. SD card and NAND flash can be started in two ways. The previous steps are based on SD card boot. In this section, we start to start from nand flash:
To start U-boot from NAND, BL1 needs to initialize the NAND controller, and then copy bl2 to DDR memory from
U-boot-2014.10 transplantation 25th days ---- nand flash Boot (3), uboot2014.10 Transplantation
Hardware Platform: tq2440
Development Environment: Ubuntu-3.11
U-boot: 2014.10
This article allows reprint, please indicate the source: http://blog.csdn.net/fulinus
Before u-boot is started from nand flash, we put the previous asm_led program in the first 4Kbit of the first block of
For a long time, many development tools are based on windows, and the same is true for NAND Flash.
I have several development boards, such as S3C2410, S3C2440, at91sam9263, and pxa310. Apart from windows, it seems that I cannot find a proper burning tool. Only jflash is available for S3C2410, And it is written through the parallel port and wigggler. Most laptops are not connected at all, and even desktop interfaces are slowly disappearing. Fortunately
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-called byte (X8)/Word (x16), which is the location width of the NAND device. These lines form a
how NAND is managed
NAND Flash Management: Samsung Flash For example, a piece of NAND flash for a device, 1 (device) = xxxx (Blocks), 1 (Block) = xxxx (Pages), 1 (P Age) =528 (Bytes) = block Size (512Bytes) + OOB block Size (16Bytes, in addition to OOB sixth Byte, usually holds at least the first 3 bytes of the OOB NAND
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.