yampp7_USB_v243

所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:164KB
下载次数:17
上传日期:2007-04-07 12:41:26
上 传 者zhongguo396
说明:  这是著名的yampp版本的mp3制作的原理图和源程序,有兴趣的可以试试,程序为c语言
(This is the famous yampp mp3 version of the map produced by the principle and source files, are interested can try. procedures for the C Language)

文件列表:
yampp7_usb (0, 2005-03-21)
yampp7_usb\BattMon.jpg (30061, 2005-05-26)
yampp7_usb\BattMon.txt (3853, 2005-05-27)
yampp7_usb\compile.bat (325, 2005-03-21)
yampp7_usb\Constants.h (8831, 2005-05-28)
yampp7_usb\Lang (0, 2005-03-21)
yampp7_usb\Lang\AS31-16.EXE (30713, 2002-05-01)
yampp7_usb\Lang\Compile.bat (76, 2002-10-31)
yampp7_usb\Lang\HEX2BIN.EXE (11642, 1995-04-29)
yampp7_usb\Lang\Polish.ASM (2327, 2002-11-15)
yampp7_usb\Lang\POLISH.BIN (132, 2002-10-31)
yampp7_usb\makefile (2896, 2005-03-18)
yampp7_usb\Mega162.txt (4442, 2005-03-21)
yampp7_usb\printf.c (3397, 2005-03-21)
yampp7_usb\printf.h (2101, 2002-10-14)
yampp7_usb\types.h (2547, 2002-09-22)
yampp7_usb\usb.c (4839, 2005-03-31)
yampp7_usb\usb.h (2979, 2002-09-18)
yampp7_usb\y7_bootloader_v6 (0, 2005-03-21)
yampp7_usb\y7_bootloader_v6\compile.bat (320, 2005-03-21)
yampp7_usb\y7_bootloader_v6\makefile (1375, 2004-02-13)
yampp7_usb\y7_bootloader_v6\yampp7_boot.asm (7743, 2005-03-21)
yampp7_usb\y7_bootloader_v6\yampp7_boot.hex (750, 2005-03-21)
yampp7_usb\yadl.h (15767, 2002-09-01)
yampp7_usb\yampp7lib (0, 2005-03-21)
yampp7_usb\yampp7lib\ascii.def (5999, 2005-05-27)
yampp7_usb\yampp7lib\ata.asm (9217, 2004-02-15)
yampp7_usb\yampp7lib\ata.h (6259, 2004-04-06)
yampp7_usb\yampp7lib\compile.bat (309, 2005-03-21)
yampp7_usb\yampp7lib\Copying.txt (18325, 2000-10-04)
yampp7_usb\yampp7lib\delay.asm (2191, 2004-02-08)
yampp7_usb\yampp7lib\delay.h (1584, 2004-02-08)
yampp7_usb\yampp7lib\lcd.asm (9927, 2005-05-27)
yampp7_usb\yampp7lib\lcd.h (2499, 2005-05-27)
yampp7_usb\yampp7lib\makefile (2168, 2004-01-29)
yampp7_usb\yampp7lib\mmc.asm (12248, 2005-03-16)
yampp7_usb\yampp7lib\mmc.h (2877, 2005-03-16)
... ...

Hi ALL ! This is firmware for use with yampp-7/USB, and suports USB transfer. More info is avaliable on www.yampp.com and/or www.yamppsoft.prv.pl This firmware version (above 2.00) is designed to use yampp-7 with graphics LCD display. For use yampp-7 without LCD please use any version below 2.00. History: -------------------------------------------------------------------------------- v2.43 - 2005-05-28 -added support for true battery voltage measuring. More about this is inside "BatMon.txt" file. -------------------------------------------------------------------------------- v2.42 - 2005-03-31 -fixed eeprom download procedure. In v2.41 downloading national chars not work. -------------------------------------------------------------------------------- v2.41 - 2005-03-21 -fixed MMC support -updated Mega162.TXT file -new, improoved bootloader (V6) -------------------------------------------------------------------------------- v2.40 - 2005-03-18 -sources changed for comptibility with WinAVR 20050214 !!! Sources designed for compilation with AVR-GCC 3.4.x (version: WinAVR-20050214-install.exe) -------------------------------------------------------------------------------- v2.30 - 2004-10-08 -fixed repeat one song function, thank's to Roger Nilson -fixed MMC size and name detection -fixed standby high current consumption with some MMC cards -------------------------------------------------------------------------------- v2.29 - 2004-05-20 -added 6 backlight modes with dimmer in M162 mode -fixed VS1001 hardware reset if VS not respond -Fixed "Browse list" function. -Fixed MMC card support -------------------------------------------------------------------------------- v2.28 - 2004-01-18 -added support for native mode of AtMega162 with crystal about 6-15MHz. In this case you can get USB filetransfer speed about 400kB/s (at 14.3MHz crystal and with CF card). With MMC card, speed is about 140kB/s (12MHz). For detail description, see "Mega162.txt" file. Precompiled binary file is for old, M161 mode. -removed not used Uart and Base libraries and not used part in usb.c file. -added confirmation before card formatting. -fixed startup without card -fixed low battery checking -next speedup MMC card functions -------------------------------------------------------------------------------- v2.25 - 2003-09-05 -removed beta status of this firmware. -speed-up the MMC write functions about 60% ! Now transfer with MMC card is about 85KB/s (before about 55KB/s). +changed keylock status icons. !!! Sources designed for compilation with AVR-GCC 3.3 (version: WinAVR-20030312-bin-install.exe) -------------------------------------------------------------------------------- v2.25b2 - 2003-08-10 *fixed playlists handling by changing the "get_offset_entry" function. Thanks to nilrog for correcting this bug ! +I found the problem with CF card resetting after card removing and re-inserting. Solving this need small hardware modification. Cut track bettwen pin 1 and pin 2 of IC4 (74HC00D), and connect pin 2 of IC4 to pin 41 of IC1 (CPU). After this modification uncomment the "#define FIXED_RESET" in Constants.h file, recompile firmware and download it to yampp. -------------------------------------------------------------------------------- v2.25b1 - 2003-07-14 !!! Sources changed for compilation with AVR-GCC 3.3 !!! +added new optional "PREVOUS" key functionality (work like in normal CD players). *fixed problems with some large CF cards. *fixed problems with yamppLink conect/disconnect on MMC cards. *fixed Pause Mode. -------------------------------------------------------------------------------- v2.23 - 2003-05-18 +added balance control +enabled playlist change during STOP state +added info about backlight mode *code size optimization *some bugfix in visualisation, charging control ect. -------------------------------------------------------------------------------- v2.22 - 2003-03-20 (Non public) *bugfix in processing garbaged song *small fixes in Jesper modifications *next changes in MMC lib +added definition in Constants.h file for setup PCB version. -------------------------------------------------------------------------------- v2.21 - 2003-03-17 (Non public) +bug fixes in MMC lib +modifications for new Rev. D board. +charge input changed to PE1 instead of PE2 +expanded contrast range -------------------------------------------------------------------------------- v2.20 - 2003-02-23 +added MMC card support (not usable on Rev C boards) +added support for new version of VS1001 equalizer library with 12 presets *changes in ATA library *many code optimisations *fixed contrast setting -------------------------------------------------------------------------------- v2.18 - 2003-01-13 +added compatibility with new versions of GCC +some menu functionality extensions -removed uart calls -removed not used beep calls *some code optimisations -------------------------------------------------------------------------------- v2.17 - 2002-12-18 +added remain song time displaying -------------------------------------------------------------------------------- v2.16 - 2002-11-23 *fixed card removing checking *fixed "MENU" text length *fixed battery level monitoring *fixed randomizer +alternate scroll is back -------------------------------------------------------------------------------- v2.15 - 2002-11-05 +changed scroll routines -------------------------------------------------------------------------------- v2.14 - 2002-11-02 +added support for vs1001 equalizer -decreased size of random table to avoid problems with stack. Now is maximum 512 songs in single playlist for random play. -------------------------------------------------------------------------------- v2.13 - 2002-10-30 +added support for national characters displaying. For more info see README.TXT file inside "Lang" folder. -------------------------------------------------------------------------------- v2.12 - 2002-10-29 +eeprom is written only before power-off or USB connect, for extend eeprom life. +added suport for card-specific graphical logo. *bugfix in battery charge indication during stop. *bugfix in artist name displaying if name is short. *bugfix in fast forward volume decrease. -------------------------------------------------------------------------------- v2.11 - 2002-10-23 *some small bugfixes in displaying function *bugfix in next playlist change. Stack overflow generate this problem. +little change in keylock icons -------------------------------------------------------------------------------- v2.10 - 2002-10-21 +added total song time displaying. *minior bugfix. -------------------------------------------------------------------------------- v2.00 - 2002-10-20 +Big revolutions !!! Added support for graphisc LCD displays from Nokia 3310,5110,5150,6110 or similar GSM phones. This firmware is BETA test version, and may have some bugs. Modifications for LCD use (only boards older than Rev.C !): 1. Cut track from pin 1 of VS1001 to pin 5 of ATmega (DREQ sygnal). 2. Add in series (on cutting place) 10k (or 4k7) resistor. 3. Add 100nF capacitor from pin 4 of ATmega (RESET signal) to ground. 4. Add a 1uF or 2.2uF thantalum capacitor, - to GND, and + to pin 7 of LCD MODULE. 5. Connect the display with following scheme: LCD module <-> yampp7 (pin 1) VDD - VCC* (pin 2) SCLK - SCK (pin 3 of ATmega) (pin 3) SDIN - MOSI (pin 1 of ATmega) (pin 4) D/C - DREQ (direct to pin 5 of ATmega) (pin 5) SCE - SS (pin 44 of ATmega) (pin 6) GND - GND (pin 7) VOUT - 1 or 2.2uF capacitor to GND (pin 8) RES - RESET (pin 4 of ATmega) Looking at the Nokia 3310 display back side, connector up, counting from left to right - the pins is numbered from 1 to 8. Check images on http://www.republika.pl/romek_by/y7photo.html for mounting example. If you need any backlight for LCD, you may use pin 40 of ATmega instead of LED output, and change "#define BACKLIGHT_TIME" in Constants.h file to non-zero value On this case you have additional position in menu: Backlight Mode. Three modes possible: Permanent OFF, Permanent ON, Auto mode. +Keyboard layout is changed. Now is: 1. While playing song BUTTON_1 BUTTON_2 BUTTON_3 BUTTON_4 ShortPress: PLAY/PAUSE STOP NEXT PREV LongPress: F.FWD MENU VOL UP VOL DOWN 2. On Stop BUTTON_1 BUTTON_2 BUTTON_3 BUTTON_4 ShortPress: PLAY STOP(NONE) MBASS RANDOM LongPress: PWR.OFF MENU Autolock ON/OFF LCD Contrast -------------------------------------------------------------------------------- v1.13 - 2002-10-09 some falstarts in version 1.12 :((( *fixed accidentally bootloader entering during keyboard lock/unlock *fixed accidentally song change after keyboard unlocking +added beeps for manual lock/unlock confirmation - high beep = ON, low = OFF. Beeps may be turn off by commenting LOCK_BEEP definition in "Constants.h" file. +added option for autolock ON/OFF during normal operation. If you enable autolock function in "Constants.h", you may turn ON or OFF autolock functionality by pressing VOL_UP key for long time during STOP condition. Status is confirmed by beep - like MegaBass or Random status change. See updated keys layout. -------------------------------------------------------------------------------- v1.12 - 2002-10-07 +added keyboard locking functions with autolock. For keyboard lock/unlock press and hold two top buttons (BUTTON 3 and BUTTON 4) for 1 second during play state. Lock and unlock be confirmed by led flashing until you release these keys. If you enable automatic lock function by setting AUTOLOCK_TIME to non-zero value (in Constants.h file), your keyboard be automatically locked after defined time of playing, counted from last key touch. Autolock moment is confirmed too by LED flashing. Default is enabled after one minute. -------------------------------------------------------------------------------- v1.11 - 2002-10-04 +added card removing checking during pause and stop mode +code speed-up and cleaning +added configurable CF standby time (in Constants.h file) TIP: If player cant startup after card changing (genetates series of beeps and automatic power-off) - remove card, startup yampp, and insert card back during the beep series. -------------------------------------------------------------------------------- v1.10 - 2002-09-27 + added true random function (max 1024 songs in playlist) -------------------------------------------------------------------------------- v1.00 - 2002-09-23 First public release. Features : - Card present checking, if no card present or card removed - yampp go to sleep mode - Automatic card formatting if card don't have YADL format. Insert new card and power up yampp for card format. - Additionally LED output on PB0 (need* mount LED and 2.2K resistor in series, from pin 40 of ATmega103 to ground) - Wakeup from sleep need press and hold "Play" key for two seconds - Beep during playlist change, playlist have different tone from other. - Delay in keypress checking for avoid accidental key pressing. - FastForward, Random, Loudness and Repeat functions. - All functions is handled by 4 keys, layout is depending on playing state. - Trap for vs1001 lockup if MP3 has garbage - Manual power off -> longpress STOP key in Stop mode. - Auto power of from pause state after 30 minutes - Battery level monitoring (default disabled). This function need* small yampp board modification by adding two resistors. One 33k from PB3 (pin 43 of ATmega) to ground, and second 51k from the same PB3 to VCC. After this change you may enable "#define BATTERY_TEST" definition in Constants.h file. Battery low level is signalised by LED blink during playing, and short beep in 2 minute interval. After 15 minutes of playing with low battery level, yampp automatically go to sleep mode. - Battery charging indicator (only LI-ION cells). This function need* one more small board modification. You may connect pin 8 of MAX1811 (CHG output) to pin 26 of ATmega (OC1B line). If you do this, and connect USB cable in STOP condition, the LED switch blink parameters to long on / short off until battery is near end of charge. NOTE: At this point battery is charged about 80% of full capacity. To full charge you need about 15 minutes additional charging time. Automatic power off be disabled too, for avoid shutdown FTDI chip and disconect power from some models of USB hubs. (*) "C" revision of yampp-7 board (future) not need these modifications. If you have "B" version of yampp-7 board you may find some modifications details pictures in "yampp7_modif.zip" file(battery charge indication connection is not shown). ---------------------- Keyboard Layout: 1. While playing song BUTTON_1 BUTTON_2 BUTTON_3 BUTTON_4 ShortPress: PLAY/PAUSE STOP NEXT PREV LongPress: F.FWD NEXT_PL VOL UP VOL DOWN 2. On Stop BUTTON_1 BUTTON_2 BUTTON_3 BUTTON_4 ShortPress: PLAY STOP(NONE) MBASS RANDOM LongPress: REPEAT PWR.OFF Autolock ON/OFF No function ---------------------- MegaBass, Loudness and Autolock functions ON/OFF is confirmed by beeps: Low beep = OFF, High Beep = ON Random mode is confirmed by count of beeps (from 1 to 4). 1 beep - Play single playlist and stop at end, 2 beeps - Play all playlists, 3 beeps - Repeat playlist, 4 beeps - Repeat one song.

近期下载者

相关文件


收藏者