background image

Operating Description

Firmware Package User Guide

3-19

4209A–MP3–12/02

Table 9.  Download States

Icon

Description

Busy
Host is writing a file to memory.

Host is reading a file from memory.

Summary of Contents for AT89C51SND1C

Page 1: ...Firmware Package User Guide ...

Page 2: ......

Page 3: ...1 Architecture 2 3 2 2 Firmware Configuration 2 8 2 3 SBC Libraries Interface 2 9 2 4 Mass Storage Drivers 2 10 Section 3 Operating Description 3 11 3 1 Keypad Assignment 3 11 3 2 Firmware Upgrade 3 11 3 3 Start Up 3 11 3 4 Mode Selection 3 12 3 5 Song Operating Mode 3 12 3 6 Voice Operating Mode 3 15 3 7 Tool Operating Mode 3 17 3 8 Download Operating Mode 3 18 ...

Page 4: ...rd V2 1 or V2 2 1 1 Doc Control 1 2 References n AT8xC51SND1C Datasheet n AT89C51SND1C Errata Sheet n AT8xC51SND1 Development Board User s Manual 1 3 Abbreviations n MP3 MPEG layer 3 n MMC MultiMediaCard n DF Atmel on board DataFlash memories n USB Universal Serial Bus n FAT File Allocation Table n SBC SCSI Block Command Rev Pages Purpose of Modifications Author Date A All Document creation based ...

Page 5: ...il the content of the sub directories Figure 2 1 Atmel at89c51snd1c Directory Organization 2 1 2 usb_ms_drv Directory As shown in Figure 2 2 the win_drv directory contains the windows 98 driver for the USB mass storage application The readme files gives some advice on how to instal drivers on windows 98 platform and how to mount the removable disk on Linux platform Figure 2 2 usb_ms_drv Directory ...

Page 6: ...type definitions general purpose constants and macro functions able to get rid of compiler type n regsnd1 h this header file contains special function registers and bit definition of the AT8xC51SND1C products n extsnd1 h this header file contains mask definitions for special function registers of the AT8xC51SND1C products Figure 2 3 lib Directory Organization adc pll adc_drv c adc_drv h aud aud_dr...

Page 7: ..._storage directory contains the libraries for SBC mass storage support In order to standardize the interfaces and to keep confidentiality on these modules embedded SCSI modules are delivered in library form source code not delivered SBC module is composed of the following libraries n sbc lib This lib contains the common not memory dependant SBC functions n sbc_df lib This lib contains the specific...

Page 8: ...exe cutable file in Intel hex format Depending on the demo up to three hex files can be found under this directory n player hex compilation result of the current configuration n snd1c demo df b21 2_0_x hex V2 0 X firmware for the V2 1 board n snd1c demo df b22 2_0_x hex V2 0 X firmware for the V2 2 board 2 1 7 3 demo_fat obj Directory The demo demo_fat obj directory contains the object files of al...

Page 9: ..._task c kbd_task h mass usb_task c mem hard h mem_task c mode mode_task c mode_task h song song_drv c song_drv h system config h main c voice voice_drv c voice_drv h fat h disp_task c disp_task h file c file h mem_task h song_task c song_task h scheduler c scheduler h startup a51 variable c voice_task c voice_task h tool tool_task c tool_task h usb_task h sbc h sbc lib sbc_df lib sbc_mmc lib ...

Page 10: ...d is assigned and maintained by the USB IF only E mail admin usb org for more infor mation on 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 2 2 2 USB Mass Storage Strings Six strings are available ...

Page 11: ...r_id 8 char table in code space see Section 2 2 2 for configuration n gl_sbc_product_id 16 char table in code space see Section 2 2 2 for configuration n gl_sbc_revision_id 4 char table in code space see Section 2 2 2 for configuration 2 3 2 Internal Library Functions In the following items xxx may represent df nf smc cf depending on the memory library n void sbc_xxx_init void Memory dedicated SBC...

Page 12: ...e 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 Install information is provided in readme txt file under usb_ms_drv directory 2 4 2 Linux Drivers Install information for linux is ...

Page 13: ...ng the reset button The upgrade screen is then displayed to inform user of boot loader execution Figure 3 2 Firmware Upgrade Screen Firmware can then be upgraded using the generic Atmel FLIP tool 3 3 Start Up The AT89C51SND1C firmware starts with a splash screen giving the version 1 of the firmware see Figure 3 3 This screen is displayed during few seconds but can be skipped by pressing any key No...

Page 14: ...together all the standard features of a por table player It displays the FAT file names in DOS 8 3 or VFAT long format Figure 3 4 Display in Song Playing Mode 3 5 1 Keypad Functions Table 1 details the functionality of each key depending on the current state Table 1 Song Mode Key Function AT8x51SND1 DEMO FIRMWARE V2 0 X 15 0 00 Song Name mp3 Lock Status Song Name Playing Repeat Sound Player Player...

Page 15: ...tate Enter the selected directory Stop play state Stop playing of song Mode stop state Exit the song operating mode and go to the voice operating mode Increase Control Increase global volume Increase bass volume Increase medium volume Increase treble volume Decrease Control Decrease global volume Decrease bass volume Decrease medium volume Decrease treble volume Parent Directory stop state Go to t...

Page 16: ... of each selected sound is displayed on the screen Sound adjustment is performed by pressing the Increase or Decrease key 3 5 7 Repeat Modes Two repeat modes are available n Repeat A B n Auto Repeat These modes are only selectable during song playing mode Pressing the Repeat key for more than half a second enables or disables the auto repeat feature Pressing the Repeat key once sets the A marker w...

Page 17: ...ils the functionality of each key depending on the current state Table 5 Voice Mode Key Function Repeat A B B marker is set repeat playing from A to B Icon Description 2 0 00 VOICEOO1 WAV Lock Status Message Name Playing Volume Voice Player Recorder State Icon Memory Icon Level Time Key Description Next Message Select next voice message in memory Previous Message Select previous voice message in m...

Page 18: ...5 different states as detailed in Table 6 Table 6 Voice Player States 3 6 7 Message Name When entering voice operating mode or after selecting other memory the wave file name is displayed If the root directory of the on board memory does not contain any VOICEnnn WAV file is displayed instead of the file name If memory is not formatted the error state is displayed 3 6 8 Playing Time During memo pla...

Page 19: ...ble 2 3 7 3 Tool State The tool operating mode can take 2 different states as detailed in Table 8 Table 8 Tool States 3 7 4 Format Item The format function allows memory formatting in FAT12 or FAT16 depending on the memory size For example on board DataFlash will be formatted in FAT12 for V2 1 board 16 Mbytes or FAT16 for board V2 2 32 Mbytes This format function is compliant with MMC and SMC reco...

Page 20: ...perating mode On platforms that do not support multi drive the selected memory refer to icon is n the MMC if at least one MMC card is present in the stack n the on board memory if no MMC card is present in the stack The selected memory stays selected until USB is unplugged On platforms that support multi drive the selected memory is n the on board memory on the first mounted drive n the MMC on the...

Page 21: ...Operating Description Firmware Package User Guide 3 19 4209A MP3 12 02 Table 9 Download States Icon Description Busy Host is writing a file to memory Host is reading a file from memory ...

Page 22: ...o ku Tokyo 104 0033 Japan TEL 81 3 3523 3551 FAX 81 3 3523 7581 Memory 2325 Orchard Parkway San Jose CA 95131 TEL 1 408 441 0311 FAX 1 408 436 4314 Microcontrollers 2325 Orchard Parkway San Jose CA 95131 TEL 1 408 441 0311 FAX 1 408 436 4314 La Chantrerie BP 70602 44306 Nantes Cedex 3 France TEL 33 2 40 18 18 18 FAX 33 2 40 18 19 60 ASIC ASSP Smart Cards Zone Industrielle 13106 Rousset Cedex Franc...

Reviews: