ZipAmp

所属分类:单片机开发
开发工具:Asm
文件大小:760KB
下载次数:49
上传日期:2008-09-16 09:45:15
上 传 者qwtao
说明:  • 控制器(CPU): Atmel AT90S8515 AVR • MP3解码器: STA013 • 音频 DAC: CS4334 • IDE 接口 • 最大支持 137GB 硬盘 • 支持日立HD44780或者与其兼容的LCD • 支持 FAT32 文件系统 • 支持WINDOWS长文件名. • 控制器成本较低
(err)

文件列表:
ZipAmp全部制作资料\zipamp源程序\i2c.c (4901, 2003-06-17)
ZipAmp全部制作资料\zipamp源程序\i2c.h (1360, 2003-05-16)
ZipAmp全部制作资料\zipamp源程序\zata.c (8444, 2003-06-17)
ZipAmp全部制作资料\zipamp源程序\zata.h (4246, 2003-02-28)
ZipAmp全部制作资料\zipamp源程序\zcontrol.c (11773, 2003-05-26)
ZipAmp全部制作资料\zipamp源程序\zcontrol.h (1392, 2003-06-17)
ZipAmp全部制作资料\zipamp源程序\zfat.c (15995, 2003-04-04)
ZipAmp全部制作资料\zipamp源程序\zfat.h (16321, 2003-02-28)
ZipAmp全部制作资料\zipamp源程序\zipamp.c (8740, 2003-06-17)
ZipAmp全部制作资料\zipamp源程序\zlcd.c (5079, 2003-05-16)
ZipAmp全部制作资料\zipamp源程序\zlcd.h (1883, 2003-05-16)
ZipAmp全部制作资料\zipamp源程序\ztype.c (69, 2003-02-06)
ZipAmp全部制作资料\zipamp源程序\ztype.h (7169, 2003-02-20)
ZipAmp全部制作资料\原创图.pdf (385604, 2002-09-06)
ZipAmp全部制作资料\基于ZIPAMP的硬盘MP3播放器.doc (77312, 2005-07-08)
ZipAmp全部制作资料\系统文件\STA013.BIN (4042, 2004-07-21)
ZipAmp全部制作资料\系统文件\zipamp-v21.eep (1220, 2003-02-22)
ZipAmp全部制作资料\系统文件\zipamp-v21.hex (21769, 2003-02-22)
ZipAmp全部制作资料\系统文件\ZIPAMP.CFG (1491, 2003-01-07)
ZipAmp全部制作资料\系统文件\ZIPAMP.SYS (1488, 2002-07-02)
ZipAmp全部制作资料\系统文件\说明.txt (7234, 2004-05-23)
ZipAmp全部制作资料\遥控(基于4051)\2051ir.pcb (132577, 2004-09-02)
ZipAmp全部制作资料\遥控(基于4051)\6122.ASM (3182, 2005-02-18)
ZipAmp全部制作资料\遥控(基于4051)\6122.BIN (235, 2004-08-30)
ZipAmp全部制作资料\遥控(基于4051)\6122.HEX (588, 2005-02-18)
ZipAmp全部制作资料\遥控(基于4051)\BOTTOM.pdf (19967, 2004-09-02)
ZipAmp全部制作资料\遥控(基于4051)\ir-MP3.sch (53595, 2004-09-02)
ZipAmp全部制作资料\遥控(基于4051)\IR.jpg (198598, 2004-09-02)
ZipAmp全部制作资料\遥控(基于4051)\sch.pdf (18534, 2004-09-02)
ZipAmp全部制作资料\遥控(基于4051)\text.pdf (15456, 2004-09-02)
ZipAmp全部制作资料\zipamp源程序 (0, 2008-09-16)
ZipAmp全部制作资料\系统文件 (0, 2008-09-16)
ZipAmp全部制作资料\遥控(基于4051) (0, 2008-09-16)
ZipAmp全部制作资料 (0, 2008-09-16)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ZZZZZZZZ AAA ZZ AA AA ZZ AA AA ZZ II PPPPP AA AA MMM MMM PPPPP ZZ II PP PP AAAAAAA MM MM MM PP PP ZZ II PPPPP AA AA MM MM PPPPP ZZZZZZZZ II PP AA AA MM MM PP =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ====== ZipAmp ====== http://go.to/zipamp http://zipamp.virtualave.net (c) Nasif Akand nasif@yifan.net NOTICE: ======= This software (firmware) is provided as is with no implied warranty. The user is responsible for implementation and use of the software. The author cannot be held liable for any damage. This software and accompanied hardware design can be used for only personal and hobby project. No commercial development or implementation is allowed. Firmware Information ==================== Version: 2.1 (Feb 2002) System: AT90S8515 AVR (MP3 Decoder: STA013) Drive: ATA (IDE) PC Hard Drive (Max: 137GB) Set to Master FileSys: FAT32. Full sub-dir access. Display: LCD 20x4 (Hitachi HD44780 or compatible controller) User Control: Push Button Only (No IR remote) Included Files: zipamp-v21.hex (Flash HEX file) zipamp-v21.eep (EEPROM EEP file) STA013.BIN (save this in ZipAmp drive) ZIPAMP.CFG (save this in ZipAmp drive) ZIPAMP.SYS (save this in ZipAmp drive) readme.txt -------------------- ========== READ FIRST ========== In this firmware version 2.1 drives must be 100% defragmented. If you copy all of your MP3 files on an empty drive all at once without deleting any files in between then it will be 100% defragmented. If you delete and add files later, it might get fragmented, in which case you must run disk defragmenting utility to make it 100% work with ZipAmp-v2.1 . If drive is fragmented songs may skip here and there. This version assumes that all files are 100% defragmented and every cluster is arragned one after another. So, this version doesn't look into FAT table to find next cluster in file chain. This is how it increases read speed in slow drives. =============== Features Added: =============== 1. 320Kbps playback on slow old drives. 2. Sub-directory access, upto 8 level deep. 3. ID3v2 tag support. 4. Faster boot-up. 5. Player returns to last playback state after power up. 6. Choice of 8 different sound mode. 7. Multiple track jump. 8. Directory path is displayed on LCD. 9. Better error reporting and handling. ================= Features Removed: ================= 1. FAT16 support is removed to fee up code space. 2. Track programming mode is removed. 3. Fast Forward is removed. It was useless anyway. ======== Bug Fix: ======== 1. LCD display timing bug fixed (this used to put garbage characters on screen). ----------------- ================= !!! IMPORTANT !!! ================= To configure a hard drive to work with ZipAmp do the following in the order given: **If your drive has more than 1 partition and your first partition is not FAT32 then do step 1 and 2, otherwise start at step 3.** 1. Remove all partitions (FAT16/FAT32/NTFS/Non-DOS) in the drive. 2. Create a FAT32 partition on the drive. If you want to create more partition you can, but ZipAmp won't access them. Remember: FIRST PARTITION IN THE DRIVE MUST BE FAT32! 3. Format the drive. Don't give any label to the drive. 4. Save these 3 files in the drive: a) STA013.BIN b) ZIPAMP.CFG c) ZIPAMP.SYS 5. Now save your MP3 songs. Create your directories as needed. You can do all file operations in DOS/Windows95/***/Me/XP. Your drive is now ready for ZipAmp. When you connect your drive to ZipAmp make sure it is set to Master mode. ------------------- ============ LCD Support: ============ This firmware version will work with 20x4 LCD modules (Hitachi HD4478 or compatible controller). Other display size will not give correct output, although ZipAmp will play without any problem. ------------ ======================================= PROGRAMMING Atmel AT90S8515 (AVR 8515): ======================================= You have to program the included .HEX and .EEP file into your AVR 8515 controller. You can use the easy to build PC parallel port programmer and program it with Funcard programmer. Programmer circuit diagram is in the schematics section of zipamp website. You can download Funcard Programmer from the ZipAmp download section. You must program both HEX and EEP file. HEX file is for 8515 flash memory and EEP file is for its EEPROM memory. When programming with Funcard Programmer, load the file accordingly, i.e. .HEX file for flash and .EEP for internal EEPROM. Once its program you are ready to go. You can also use the DOS based programming software FBPRG16. You can dowload it from ZipAmp download section. ----------------------------------------- ==================== User Button Control: ==================== There are 7 buttons to control ZipAmp operation. Read the following description: STOP: Stops playback if ZipAmp is playing. PLAY/PAUSE: Plays or pauses the ZipAmp. PREV: Desired Previous Track Jump. This will decrement track counter by 2. Remember that after you are done going to a previous track, you have to press NEXT button to actually go to the track. Read File Navigation section. FF (File Forward): Desired Track Jump. It will increment track counter by desired value (read File Navigation section). With every press you will see current track number increasing (the Track info or file name won't change). When you reach your desired track number just press the NEXT button and you are in your track. NEXT: Goes to next track. If RANDOM mode is selected then goes to a random track. XBT (Xtra BASS/TREBLE): Cycles through 8 different sound mode as shown by the Bar Graph in top line of LCD display. MODE: Cycles through the available playback modes: Continue (-->) and Random (->R<-). In continue mode tracks will be played as ZipAmp encounters them in directory table. In random mode random track will be selected. Thats all for buttons..... --------------------------- ================ File Navigation: ================ Designing good navigation system for hundreds (or even thousands) of MP3 files is complex job with limited memory and code space. After lot of trials I have implemented a simple yet useful file navigation system for ZipAmp. It may not be very intuitive but it is logical considering limited system resources of AVR 8515. Remember that you must be in "-->" (continue) mode for this navigation system to work. In Random mode you will always get a random track doesn't matter what you press. The navigation system works as follows: 1. You can go backward or forward by pressing PREV or FF. 2. With each press on PREV you will see track number decrement by 2 (reason for decrement by 2 is explained later). 3. With each press on FF you will see track number increment by 1 (this increment value can be modified later, value is stored in EEPROM) 4. With every press of PREV/FF you will see LCD display of track number change. But the song that is playing will continue to play. This is because PREV/FF button doesn't change the track, just decrement/increment file counter. After you reach your desired track by pressing PREV/FF buttons you must press NEXT to actually change to that track. Remember that NEXT button will always take you to the next track (next one after the displayed track number). Example 1: ZipAmp is playing track 5/107. You want to go to track 27. You will have to press FF button until display says 26/107. Then press NEXT button to start playing 27th track. The default increment value 1 for FF. So that means you have to press FF 21 times to go have 26/107. Then press NEXT to go to 27th track. You can also press NEXT button 22times to go to 27th track, but that would be slow because ZipAmp will have load file info for every NEXT press. Example 2: Zipamp is playing track 87/107. You want to go to track 75. To go backward press PREV button. Each press will reduce track number by 2. Thus, 7 press on PREV will have track 73. Now if you press NEXT ZipAmp will start playing track 74, but we wanted to play track 75. Thats why you have to press FF once so track number reads as 74/107. Now press NEXT and ZipAmp starts playing track 75. Which is what we wanted to play. Example 3: ZipAmp is playing 8/107. You want to go to previous track 7. Just press PREV button once, that will have 6/107. Now press NEXT, ZipAmp will start playing track 7/107. This is reason for having PREV button decrement track counter by 2. Example 4: Zipamp is playing track 9/107. You want to go to track 103. Now going forward by pressing FF will require a lot of presses on FF. To make it easy just press PREV. After track 1/107 pressing PREV will roll track nubmer to 107/107. Now with few more combination of presses on PREV/FF and NEXT will take you to track 103. If all of the above sounds very complex just try out the buttons. After few trials it will become simple. ------------------ ============== Error Reports: ============== Following are the explanation of errors reported by ZipAmp: 1. Sector Read Error: Hard drive reported error on reading a particular sector. Can be generated when non FAT32 partiton is connected to ZipAmp, or ZipAmp is having trouble communicating with the drive. It can also happen when drive has bad sectors or errors in it. Run ScanDisk in dos or windows to fix this problem. 2. Sector Write Error: Hard drive reported error when trying to write to a sector. Can be generated when non FAT32 partiton is connected to ZipAmp, or ZipAmp is having trouble communicating with the drive. It can also happen when drive has bad sectors in it. Run surface scan in ScanDisk to fix this problem. 3. FAT16 Not Supported: Connected drive is FAT16. Version 2.x of ZipAmp firmware supports only FAT32. To use FAT16 use ZipAmp Version 1 firmware. 4. Missing SYS or CFG: ZipAmp didn't find two system files ZIPAMP.SYS and ZIPAMP.CFG in the root directory during bootup. You must save these two files in the root directory. 5. Missing STA013.BIN: ZipAmp didn't find STA013.BIN file in root directory. You must save this file in the root directory. 6. STA013 Not Found: ZipAmp didn't get a response from STA013 MP3 decoder. If you have connected STA013 check if all wiring is done correctly. If everything is correct and you still this error message then your STA013 might be dead. 7. STA013 Load Failed: ZipAmp couldn't successfully load the whole STA013.BIN file to the STA013 decoder. This is very rare error. If this happens then re-check all the wiring. --------------- If you have trouble or more questions, post your queries on the discussion board.

近期下载者

相关文件


收藏者