Atmel AT89C51SND1C User Manual
Atmel AT89C51SND1C User Manual

Atmel AT89C51SND1C User Manual

Firmware package

Advertisement

Quick Links

Firmware Package
.............................................................................................
User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AT89C51SND1C and is the answer not in the manual?

Questions and answers

Summary of Contents for Atmel AT89C51SND1C

  • Page 1 Firmware Package ..................... User Guide...
  • Page 3: Table Of Contents

    Section 1 Introduction ................... 1-1 Doc Control ....................1-1 References....................1-1 Abbreviations ....................1-1 Section 2 Installation..................... 2-3 Architecture ....................2-3 Firmware Configuration................2-8 SBC Libraries Interface ................2-9 Mass Storage Drivers................2-10 Section 3 Operating Description ................. 3-11 Keypad Assignment ................3-11 Firmware Upgrade ..................3-11 Start-Up....................3-11 Mode Selection ..................3-12 Song Operating Mode ................3-12 Voice Operating Mode ................3-15 Tool Operating Mode ................3-17...
  • Page 4: Introduction

    Section 1 Introduction The AT89C51SND1C demonstration firmware is part of the AT8xC51SND1C starter kit. This document is the user’s manual of the AT89C51SND1C demonstration firmware. It is based on the development board V2.1 or V2.2. Doc Control Pages Purpose of Modifications...
  • Page 5: Installation

    The firmware package is delivered in a zip file: snd1-demof-2_0_x.zip that extracts in an Atmel\at89c51snd1c directory. Architecture 2.1.1 Overview Figure 2-1 shows the organization of the Atmel\t89c51snd1 directory. The follwoing sec- tions detail the content of the sub-directories. Figure 2-1. Atmel\at89c51snd1c Directory Organization Atmel\at89c51snd1c\ lib\...
  • Page 6 Directory As shown in Figure 2-3, the lib directory is organized in sub-directories that contain the low-level drivers of the AT89C51SND1C peripherals. The lib directory also contains the following files: n c51_drv.h: this header file contains macro functions able to configure c51 core features such as clock mode, ERAM size, global interrupt…...
  • Page 7 Installation 2.1.4 lib_demob Directory As shown in Figure 2-4, the lib_demob directory is organized in sub-directories that con- tain the low-level drivers of the AT8xC51SND1C development board peripherals. The lib_demob directory also contains the following file: n demob.h: this header file contains definitions of the board hardware such as LCD address, On-board Flash chip select ports…...
  • Page 8: Lib_Storage

    Installation Figure 2-6. lib_storage Directory Organization lib_storage\ sbc.h sbc.lib sbc_df.lib sbc_mmc.lib sbc_nf.lib sbc_smc.lib sbc_xxx.lib 2.1.7 demo Directory The demo directory contains all the demonstration firmware core directories. These directories contain some important companion files giving information on the demon- stration firmware. Please read this files carefully. Figure 2-7.
  • Page 9 Installation Figure 2-8. demo\demo_fat\src Directory Organization demo\demo_fat\src\ clock\ clock.c clock.h display\ disp.c disp.h disp_task.c disp_task.h file\ fat.c fat.h file.c file.h kbd\ kbd_task.c kbd_task.h mass\ usb_task.c usb_task.h sbc.h sbc.lib sbc_df.lib sbc_mmc.lib mem\ hard.h mem_task.c mem_task.h mode\ mode_task.c mode_task.h song\ song_drv.c song_drv.h song_task.c song_task.h system\...
  • Page 10 USB-IF membership and obtaining a VID”. Atmel allows usage of its VID (03EBh) during product development phase. In any case Atmel’s VID may be used by customer for market release. Deviation to this rule may lead to host USB crash in case of IDs confusion.
  • Page 11 Installation SBC Libraries SBC module is composed of the following libraries: Interface n sbc.lib:this lib contains the common (not memory dependant) SBC functions. n sbc_df.libthis lib contains the specific SBC functions for DataFlash support. n sbc_mmc.lib:this lib contains the specific SBC functions for MultiMediaCard support. n sbc_nf.lib:this lib contains the specific SBC functions for Nand Flash support.
  • Page 12 . Each system loads the generic mass storage driver when plugging the development board to the PC. As no generic driver is available under Windows 98SE  system, Atmel has developed its own mass storage driver to support this operating system. This driver is based on 3 files: atusbms.sys, atusbpdr.pdr and atusbms.inf.
  • Page 13 Firmware Upgrade Firmware can then be upgraded using the generic Atmel FLIP tool. Start-Up The AT89C51SND1C firmware starts with a splash screen giving the version of the firmware (see Figure 3-3). This screen is displayed during few seconds but can be skipped by pressing any key.
  • Page 14 Operating Description Figure 3-3. Splash Screen AT8x51SND1 DEMO FIRMWARE V2.0.X Mode Selection After the set-up phase, the firmware enters the song operating mode. In all operating modes, the mode can be sequentially changed using the “Mode” key with the following order: n Song mode n Voice mode...
  • Page 15 Operating Description Description Previous Song (play state) Play previous mp3 file or directory in current directory. Previous Selection (stop state) Select previous mp3 file or directory in current directory. Play (stop state) Start playing of selected song. Pause (play state) Suspend playing of song.
  • Page 16 Operating Description Icon Description MMC2 MMC card 2 is selected. 3.5.3 Song Player State The player can take 5 different states as detailed in Table 3. Table 3. Song Player States Icon Description SONG MP3 file selected (stop state). DIRECTORY Directory selected (stop state) PLAY Selected song under playing.
  • Page 17 Operating Description Icon Description Repeat A/B B marker is set, repeat playing from A to B. 3.5.8 Song Erasing In order to free-up memory for message recording, an erase function has been imple- mented. Pressing the “Erase” key, for more than 3 seconds, erases the currently selected song.
  • Page 18 Operating Description Description Record (stop state) Start recording of a new voice message. Erase (stop state) Pressing this key for more than 3 seconds removes the selected voice message from FAT. Keypad Lock Control Lock or unlock the keypad. 3.6.3 Message Recording Pressing the “Record”...
  • Page 19 Operating Description Tool Operating This operating mode is a menu composed of two items. It is used to format the memory with or without voice files. Mode Figure 3-6. Display in Tool Operating Mode Tool Memory Icon Icon Lock Status Format...
  • Page 20 Operating Description Download Firmware V2.0.X and later support USB mass storage on the following platforms: Operating Mode n Win98 through Atmel drivers n Win2000 /ME/XP n MAC OS V9 and later n Linux Note: 1. These platforms do not provide multi-drive support...
  • Page 21 Operating Description Table 9. Download States Icon Description Busy Host is writing a file to memory. Host is reading a file from memory. Firmware Package User Guide 3-19 4209A–MP3–12/02...
  • Page 22 No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical components in life support devices or systems.

Table of Contents