background image

AT89C51SND1 Reference Design User Guide

4-10

Rev. 4207B–MP3–04/07

Section 4

In-System Programming (ISP)

4.1

Using Hardware 
Conditions

Two solder points or short-cuts have to be physically set up on the board in order to
enter this mode. This mode must be used when the initial software has been corrupted
and when the ISP cannot be activated by the keyboard.

Figure 4-1.  

ISP Hardware Condition

4.2

Using Software 
Condition

When connected to a PC using a USB cable, the player can be accessed by Flexible In-
System Programming (FLIP) software. To enter by software in the ISP bootloader of the
player, press the Function button while the USB cable is plugged into the PC (the ISP
software condition is checked only during power ON Reset).

A driver has to be installed the first time (See FLIP installation note). This driver is deliv-
ered with Atmel FLIP software available on the Atmel Web site. 

When connected, a new device will appear in the hardware window of the PC under the
"User interface peripheral" section, named USB_DFU_SND1. See FLIP User's guide for
information about FLIP execution.

Solder two SMD 0

 resistors here (horizontally).

To activate the USB transfer and
To put hardware ISP conditions on the microcontroller.

Summary of Contents for AT89C51SND1

Page 1: ...MP3 Player Reference Design Based on AT89C51SND1 Microcontroller User Guide ...

Page 2: ...rview 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 ...

Page 3: ...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 download 1 Connect to https www atmel nantes fr mp3 at8xc51snd1c 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 ...

Page 4: ...1SND1 Reference Design User Guide 1 2 4207B MP3 04 07 1 2 Abbreviations AT89C51SND1 the MP3 microcontroller ISP In System Programming MP3 MPEG layer 3 a standard music format PC Personal Computer USB Universal Serial Bus ...

Page 5: ...AT89C51SND1 Reference Design User Guide 2 3 Rev 4207B MP3 04 07 Section 2 Overview Figure 2 1 Reference Design Top view There are two connectors Earphone stereo jack Mini B USB connector ...

Page 6: ...igure 2 2 Reference Design bottom view 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 ...

Page 7: ...face Overview Each LED may be OFF Flashing ON during less than 1 second and only one time Slow blinking continuously Fast blinking continuously ON microphone headphone connector Play Pause ON Pwr LED n 1 LED n 2 LED n 3 LED n 4 AT89C51SND1 Function Func USB connector Next Plus Previous Minus ...

Page 8: ...wered 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 means Play Pause or Select or Record Function to change the current mode or alternate function Plus Minus to change a mus...

Page 9: ...nus to decrease or Next Plus to increase the control level A bar graph lights up for the corresponding control when one of these buttons are pressed and during the adjustment the control ranges from all LED OFF minimum level to all LED ON maximum level If no buttons are pressed for 3 seconds the alternate functions setup ends and the LED corresponding to the current mode blinks slowly Play informa...

Page 10: ...e wav file is reached When the maximum size is reached the player will go back to its initial state 3 3 USB Mode This mode will allow users to connect the player to a PC running under Linux Win dows 2000 XP Me and MacOS 9 without driver or Windows 98 with a driver The Data Storage Flash will then be seen as a removable disk drive and copying from any PC storage media to the player memory will be p...

Page 11: ...the Play Pause button must be pressed Do not disconnect the cable before leaving USB Mode 3 4 Erase Mode When this mode is validated by pressing Play Pause button all LEDs are OFF during the erasing and reformatting of the full on board mass storage system LED n 4 will be ON when this operation is performed ...

Page 12: ...stem Programming FLIP software To enter by software in the ISP bootloader of the player press the Function button while the USB cable is plugged into the PC the ISP software condition is checked only during power ON Reset A driver has to be installed the first time See FLIP installation note This driver is deliv ered with Atmel FLIP software available on the Atmel Web site When connected a new dev...

Page 13: ...rkway San Jose CA 95131 USA Tel 1 408 441 0311 Fax 1 408 487 2600 Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH 1705 Fribourg Switzerland Tel 41 26 426 5555 Fax 41 26 426 5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel 852 2721 9778 Fax 852 2722 1369 Japan 9F Tonetsu Shinkawa Bldg 1 24 8 Shinkawa Chuo ku Tokyo 104 00...

Reviews: