1 1.2 Abbreviations............................................................................................... 2 Section 2 Overview ..................................................................................................3 2.1 User Interface.............................................................................................. 4 2.2 Quickstart .................................................................................................... 6 2.2.1 Power ON/OFF ..................................................................................... 6 2.3 Main Functions ............................................................................................ 6 2.4 Mode Functions........................................................................................... 6 2.5 Alternate Functions...................................................................................... 7 2.6 Special Information...................................................................................... 7 Section 3 Overview of Modes...................................................................................8 3.1 Song Mode .................................................................................................. 8 3.2 Voice Mode.................................................................................................. 8 3.3 USB Mode ................................................................................................... 8 3.4 Erase Mode ............................................................................................... 10 Section 4 In-System Programming (ISP) ...............................................................11 4.1 Using Hardware Conditions....................................................................... 11 4.2 Using Software Condition.......................................................................... 11 AT89C51SND1 Reference Design User Guide 4207B–MP3–04/07 1 Introduction The AT89RFD-01 is an MP3 reader reference design based on the AT89C51SND1 microcontroller. The AT89RFD-01 has the following features: • Upload and Download of Files Through a USB Interface • Plays or Records Songs • Adjustable Volume, Treble, Medium and Bass • Record Voice Through a Microphone in .WAV Format 1.1 Web Site 1. Connect to: download https://User Name is: atmelmp3 Password is: snd3pass 2. Copy the at8xc51snd1c.zip file to your PC. 3. Unzip the package to your local hard drive. AT89C51SND1 Reference Design User Guide Rev. 4207B–MP3–04/07 Introduction Introduction Abbreviations . AT89C51SND1: the MP3 microcontroller . ISP: In-System Programming . MP3: MPEG layer 3, a standard music format . PC: Personal Computer . USB: Universal Serial Bus AT89C51SND1 Reference Design User Guide 4207B–MP3–04/07 2 Overview Figure 2-1. Reference Design (Top view) There are two connectors: . Earphone stereo jack . Mini-B USB connector AT89C51SND1 Reference Design User Guide Rev. 4207B–MP3–04/07 Overview Overview The battery is a standard 1.5V-battery type AAA. The mass storage system on the board is a 64 MB NAND Flash memory. 2.1 User Interface The user interface has 4 LEDs and 5 push-buttons: . Play/Pause . Function . Previous -Minus . Next -Plus . ON (Pwr) AT89C51SND1 Reference Design User Guide 4207B–MP3–04/07 Overview Figure 2-3. User Interface Overview microphone Overview Figure 2-3. User Interface Overview microphone ON (Pwr) LED n°1 LED n°2 LED n°3 headphone LED n°4 connector Each LED may be: . OFF . Flashing (ON during less than 1 second and only one time) . Slow blinking (continuously) . Fast blinking (continuously) . ON AT89C51SND1 Reference Design User Guide 4207B–MP3–04/07 Overview Overview 2 Quickstart This procedure allows you to quickly play an MP3 song stored in the mass storage system. If the mass storage is empty or not formatted, see the following section regarding MP3 upload (“USB Mode”). 4. If the player is battery powered, push the ON button. If the player is powered by USB, plug the USB cable into your computer. All LEDs flash to confirm the power is ON. After a few seconds, depending of the mass storage type and size, LED n°1 is ON: indicating Song Mode is selected. 5. Push the Play/Pause button to play the first MP3 song of the mass storage medium. LED n°1 blinks during music play. 6. If the player is battery powered, after 1 minute of inactivity (no music), the player will be automatically turned off. 2.2.1 Power ON/OFF Press the ON button to power the player. Power off is automatic after one minute of inactivity (no music, no button pressed). When the player is connected to a PC using the dedicated USB cable, the player is powered by the USB power line and the battery is useless (and will not be discharged). Disconnecting USB cable will automatically switch supply to the battery without stopping the operation. 2.3 Main Functions Main functions are the first meaning of the buttons: . Play/Pause: this button mean...