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

Using Memory Card Devices

Читайте также:
  1. A) Practise using the words and word combinations in bold type to make other comparisons between some two-four regions of Russia. Write your best sentences down.
  2. American Terminology is sometimes confusing
  3. B) Speak about the traffic in this country using the word combinations in bold type.
  4. B) Think of situations or microdialogues consisting of a statement (or a question) and a reply to it using the words mentioned above.
  5. B) Write sentences of your own using the phrases in bold type. Address them to the other students who should reply them expressing their approval or disapproval.
  6. Complete the following sentences a) using the Conditional Mood;
  7. Complete the following, using the infinitive
  8. Construct the sentences using the prompts below and then make them negative and interrogative.
  9. Ex. 19 . Complete the following sentences using the information from the text.
  10. Ex.5. Which of the listed below state­ments are true/false. Specify your answer using the text.

Using Memory Card Device explains the steps to create applications for devices that support the FAT file system. RL-FlashFS supports standard Flash memory cards up to 4 GBytes.

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 corresponding driver file
    MCI_device family.c containing the functions for Flash memory cards.
    SPI_device family.c containing the functions for SPI 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>


7. int main (void) {

8. ...

9. init_card (); // initialize the device


11. while (1) {

12. ... // add the code

13. init_card () // check if card removed

14. ... // add the code

15. }

16. }

  1. When accessing files located in sub-directories, a complete path must be specified. For example:

18. fopen ("logs\\work\\temp.log","r");

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

  1. Copy all files from any folder \ARM\Boards\vendor\board\RL\FlashFS\SD_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 Memory Card Drive and set the device characteristics.

  1. File Time Support Routines might need adaptation to set time stamp for the file.
  2. Modify the code to the application needs.


  • Memory Card Drive described the configuration options for MCI and SPI devices.

Дата добавления: 2015-09-15; просмотров: 7; Нарушение авторских прав

<== предыдущая лекция | следующая лекция ==>
Using RAM Devices | Using NAND Devices
lektsii.com - Лекции.Ком - 2014-2020 год. (0.008 сек.) Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав
Главная страница Случайная страница Контакты