Студопедия

КАТЕГОРИИ:

АстрономияБиологияГеографияДругие языкиДругоеИнформатикаИсторияКультураЛитератураЛогикаМатематикаМедицинаМеханикаОбразованиеОхрана трудаПедагогикаПолитикаПравоПсихологияРиторикаСоциологияСпортСтроительствоТехнологияФизикаФилософияФинансыХимияЧерчениеЭкологияЭкономикаЭлектроника


Using NAND Devices




Using NAND Device explains the steps to create applications for NAND Flash devices.

Include into the project and configure the following source files:

  1. The library that matches the device core:
    FS_CM3.lib for Cortex-M devices.
    FS_ARM_L.lib for ARM7 or ARM9 devices.
  2. The driver file NAND_device family.c containing the functions for NAND Flash devices.
  3. The configuration files:
    File_Config.c for configuring the device.
    Retarget.c for configuring the output.
  4. The main file for initializing and connecting the Flash device.

5. #include <RTL.h>

6.

7. int main (void) {

8. ...

9. init_nand (); // provide the code to initialize the NAND device

10. ...

11. }

Applications can be created using existing µVision projects as templates.

  1. Copy all files from any folder \ARM\Boards\vendor\board\RL\FlashFS\NAND_File to a new folder and open the project *.uvproj with µVision. RTX projects are using the RTX-RTOS. However, the configuration does not differ.
  2. Open the file File_Config.c and configure the Flash device using the Configuration Wizard.
  3. Enable NAND Flash Drive and set the device characteristics.

  1. Provide the code for the NAND driver functions.
  2. Define the NAND Page Data Layout.
  3. File Time Support Routines might need adaptation to set time stamp for the file.
  4. Modify the code to the application needs.

Note

  • NAND Flash Drive described the configuration options for NAND devices.
  • NAND Flash Translation Layer describes the NFTL features.

Поделиться:

Дата добавления: 2015-09-15; просмотров: 58; Мы поможем в написании вашей работы!; Нарушение авторских прав





lektsii.com - Лекции.Ком - 2014-2024 год. (0.006 сек.) Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав
Главная страница Случайная страница Контакты