⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changes.txt

📁 fat文件系统的源码 老外写的FAT32文件系统 还是有用的
💻 TXT
字号:
Version based on version "yampp3_nw_020106.zip"
Changes in this version by Romuald Bialy (aka MIS) <romek_b@o2.pl>

*****************************************************************************************
* STARTING FROM VERSION 11.06.2002 THIS SOFTWARE SUPPORT _BOTH_ STANDARD YAMPP-3 BOARD 	*
* USING AN AT90S8515 CPU AND NEW YAMPP-3/USB BOARD USING AN ATMEGA161 CPU. PRECOMPILED 	*
* VERSIONS IS FOR STANDARD YAMPP-3 USING AT90S8515 CPU AND VS1001K CLOCKED BY 12.288 OR	*
* 24.576MHz CRYSTAL.									*
*****************************************************************************************

*****************************************************************************************
*					WARNING !!!					*
* If you have an "K" version of VS1001 and oscilator circuit have R6=1M, R7=240k, C4=10p*
* it's WRONG, and cause many problems witch leatest versions of this software.		*
* For VS1001K chip, the oscilator parts must be: R6=None, R7=1M, C3=33p, C4=33p !!! 	*
* See VS1001K datascheet or yampp3/USB or yampp7 schematic for right oscilator schematic*	*****************************************************************************************

HISTORY

09.01.2002
1. Added serial and remote event for Loudness change.
2. Added option for remove three beeps after power up 
   (section APPLICATION in file Constans.h)
3. Activate pullup on keyboard input line and increase delay to avoid problems with diode protected keyboard.
4. Stored autoplay status (flags) in eeprom
5. Solve problem with LCD display and user definable characters destroing
6. Faster repeat on Volume keys
7. Removed serial and remote pause event because play acts as pause
6. Clear display after song ends, now working properly :-)


11.01.2002
1. Changed volume setting after reprogramming chip to 1/2 scale
2. Added displaying actual folder name on LCD and UART
3. In random mode keys "Next" and "Previous" do randomize.
4. HDD spindown after "Stop" ( yes!!!!! , Silence !)


12.01.2002
1. Added NextDir PrevDir, instead of NextLetter PrevLetter
2. HDD spindown after file scanning if autoplay is not setted on power up
3. Improved progress bar


13-14.01.2002
1. NextLetter and PrevLetter buttons available again. Now directory navigation 
   and/or letter navigation are avaliable and configurable in Constans.h.
2. Fast song load inside one directory. This function is experimental, and configurable
   in Constans.h, because needed propertly arranged file on disk (no mp3 in root directory)
   Very cool function on slow and/or big harddisk with many mp3 files.
3. Fixed problems on end of song play (i think...) :-)
4. Showing remote codes on terminal now configurable in Constans.h (on/off)

15.01.2002
1. Yeeep ! Fast Forward function added! Need setup its code for remote controller. 
   Because number of keys on local keyboard is to small, removed loudness change 
   from local key, and repleaced it by fast forward. 
   Short press - change random mode, long press act as fast forward.

20.01.2002
1. Added autorepeat on remote controller keys: Volume Up/Down and Fast Forward. (Ufff, finger... :-)
2. Small modification to song time display. Now it counting up to 99 min.
3. Little code clearing.

22.01.2002
1. Hehehe... I add a Fast Rewind function. Need setup its code for remote controller (in rec80.h)
   Of cousre remote Fast Rewind own the repeat feature.
2. Local key association is changed. Now key layout is:
 KEY No.:	  1	 2	 3	 4	  5	  6	  7	  8
ShortPress	Random	Play	Next	Prev	NextDir	PrevDir	VolUp	VolDown	
LongPress	Loudnes	Stop	FFWD	FREW	Next10	Prev10	VolUp	VolDown

3. Fixed small mistake in volume change procedures.
4. Added option in Constans.h for easy setup remote codes.
5. If VS1001 needs to more data (eg. not respond) its be soft resetted. 
   This may help in some situations after FastForward and Rewind.
6. Added FAT16 support. Setup its in Constans.h
7. Solved problems with compilation warnings

26.01.2002
1. Little code clearing
2. Add option for propper song time display on older that "K" versions of VS1001 chip
   This option is configurable in "Constants.h" file, section VS1001
3. Fixed local keyboard procedures - added debouncing function.

28.01.2002 /Jesper
1. Some small size optimisations
2. Added some more remote data
3. Fixed problem in calculation of FirstDataSectorD for large disks

28.01.2002 /MIS
1. Added direct number song enter from numeric key on remote controller. 
   Press 2 for song no. 2,   63 for song no. 63 ect. 
2. Code clearing again :-)
3. Local key definitions MOVED to "Constants.h" file !


29.01.2002 /Jesper
1. Hrmpf ! One of the optimizations broke file reading. Now corrected.

29.01.2002 /MIS
1. Added easy remote codes setup. If you uncomment the #define SETUP_REMOTE_CODES 
   line in Constants.h file, you see remote codes on yampp LCD display. Not need to connect
   yampp to PC serial terminal !
2. Some Jasper optimisations causes a little problem with my LCD display, therefore i do 
   some changes again.
3. After this optimisations GCC compiler generates a warning during compile "lcd.c"
   module. Its not a trouble, and you not impressed this.

31.01.2002 /MIS
1. Edhanced easy remote codes setup. Generally yampp support two remote transmit prococols
   named "REC80" and "NEC80". Rest of remote types definitions has only diffrernt codes, 
   and use one of these protocols. If you try to setup codes, and you see on LCD only "IR:" 
   string and flashing star, that your remote use different protocol. Try both of above
   general protocols (uncomment #define REC80 OR #define NEC80). 
   If both fail - your remote is not yampp compatibile (in current software state) :-(
   Note. You may enable ONLY ONE definition at a time (includes Panasonic, UCR22B etc.)

03.02.2002 /MIS
1. Added trap for quickly repeated codes from some remote controlers. This problem cause
   a imposibles to change random, loudnes, and direct song number entering from remote.

06.02.2002
1. Added Sony RMD335 remote protocol. Thanks to Martin for the code.
   This is thrid avaliable transmit protocol supported by yampp software.

18.02.2002
1. Fixed sound scratch problems at end of songs with largest cluster sizes.
2. Optimized remote control procedures for smallest code size and lower time consumption.
3. Little code sources clearing.

22.02.2002
1. Added CREATIVE_INFRACD remote definitions in rec80.h file (NEC80 standard)
2. Added more configurable options in Constants.h file (IR, HDD ect.) 
3. Changed initialization procedures for decrease code size

04.05.2002
1. Added info about cluster size of wrong disk.
2. VS1001 procedures rewritten in assembler (thanks to Jasper)
3. Change metod of reading buffers and sending data to VS1001. Now its faster, and no
   problem with playing high bitrate (256 or 320kb/s)  (thanks to TH)
4. Fixed compiler warning during compile lcd.c

--------------------------------------------------------------------------------------------
24.05.2002
1. Fixed direct number navigation and increase timeout during reading keys.
2. Added support for 4x20 LCD display. Just change LCD_LINES definition in
   Constants.h file, and recompile the code for using 4x20 LCD !  Display layout is:
   line 1 - Dir name
   line 2 - File name , scrolling if more than 20 chars
   line 3 - Progress bar + Time string
   line 4 - Song number + Random string + Loudness string + Volume
I dont have 4x20 LCD for test it, that please report to me any bug.
   
--------------------------------------------------------------------------------------------
05.06.2002
1. Fixed differental chanel output bug finding in versions from 03.05.2002 and 24.05.2002
2. Some changes in remote definition file (rec80.h). Now any remote layout has code 
   standard definition. Do not use older version of this file without modification !
3. Fixed "easy remote codes setup" displaying on 4x20 chars LCD

--------------------------------------------------------------------------------------------
11.06.2002
1. This version of code is designed for running on old yampp-3 boards or NEW yampp-3/USB
   boards. This version not suport USB port on new boards, and working like standard yampp-3.
   Because the new board has Atmega161 CPU, compilation for new board must be preceded by
   uncomment "#define YAMPP3USB" definition in Constants.h file AND change CPU type 
   in makefile. CPU selection may be done by uncomment one of following definition:
   MCU = at90s8515 or MCU = atmega161
   Note. In makefile comment string is # , not //   !!!
   On atmega161 you may enable most (or all) of software features because its have 
   twice codespace.
2. All defined strings now working from flash, not from its copy in ram. This may solve
   some problems if you enable uart or during easy remote codes setup (on 8515 CPU).
3. Makefile generate also yampp3.bin file for use in "yboot" USB code downloader.

--------------------------------------------------------------------------------------------
22.06.2002
1. Small change in vs1001 reset function.
2. Addad checking for vs1001 autoreset (occurs if mp3 stream is garbage) - this cause
   changing speed of play if non 12.288 or 24.576 MHz crystal is used. If this situation
   occurs software try send soft-reset command to vs1001.
3. Improved random function. You never hear the same song twice until all avaliable songs
   be played out.
4. Some minior bugfixes and code size optimisation.

--------------------------------------------------------------------------------------------
25.06.2002
1. Fixed bug cause overwrite thrid line on 4x20 LCD display during displaying directory.
2. Size optimisation in LCD functions.
3. Some changes in sending MP3 to vs1001 functions.

-------------------------------------------------------------------------------------------
09.07.2002  CAUTION !!! EXPERIMENTAL VERSION !!!
1. Fixed bug strips first character from DirName on 4x20 LCD.
2. Fixed bug causes progressbar overwrite during playing very large MP3 files.
3. Added random in one directory (like in CD-ROM soft). Adding of this function needs
   very BIG code optimisation, rewriting some pieces of code in assembler, and some other 
   tricks. This cause test status of this version because i do changes in many places of
   code, and not sure to work with all possible configurations and hardware. If this 
   version not work with your HDD try enable "CHS_ACCES_FIRST" option, but you must disable
   any other option (eg.: Fast Rewind or Number navigation) to get some codespace.

-------------------------------------------------------------------------------------------
14.07.2002
1. Added some more LCD display types. Now yampp should work with 2x16, 2x20, 2x24, 4x16, 
   and 4x20 LCD's. Display type selection is in Constants.h file.
2. If scroll length is equal or less to display line length no scrolling occurs (on all LCD 
   types).
3. Removed " >> " sign if line no needed scroll.
4. Removed slash sign at end of directory name on 4 lines LCD.
5. Removed selection for "Directory navigation". This is needed by new random function and
   should be always ON.
6. Some more size optimisations.
7. Improved progress bar. You may revert to old style by comment out #define PROGRESBAR_II
   in LCD section of Constants.h .
8. Added option to use CPU PD4 output pin as external hardware reset signal to VS1001
   and IDE interface. Use of this need small modification of yampp PCB.

-------------------------------------------------------------------------------------------
21.07.2002
1. Big change in MP3 file reading and vs1001 MPEG data writing for speed up and get some 
   free codespace.
2. Added directory name scrolling on 4 lines LCD displays.
3. Added centering directory name if length is lower that LCD size (on 4 lines LCD)
4. Fixed display bug on 4x16 LCD's.
5. Improved volume indicator on LCD's biger that 16 chars per line.
6. Fixed bug causing sometime lock player while fast forwarding over song end.

-------------------------------------------------------------------------------------------
26.07.2002
1. Changes in IDE r/w procedures. Now yampp should work with more disk models,
   and some IDE problems be solved.

-------------------------------------------------------------------------------------------
07.08.2002
1. Added two more remote standards SONY15 and Philips RC-5.
2. Reorganized remote definition. Now each remote has own codes definition file inside
   "REMOTES" folder. To choice remote model you must copy it's file from "REMOTES" folder
   to source folder and change it's name to "remote.def". That's all :)
3. Added autorecognization remote standard during setup remote codes. Now codes setup work
   even wihout attached HDD. See "Constants.h" for more information.
4. Added remote definition files for: FLY VIDEO and RC26 remote controllers.
5. Added new optional "PREVOUS" key functionality (work like in normal CD players).
6. Fixed ATA IDE procedures.
7. Added option for Remain time calculation and displaying. Accurate only for 128kbps MP3
   files. If you want use this with 4 lines LCD you must turn off watchdog or any other
   option for get some free codespace.
8. Fixed yampp freze on "Loading..." message if "Fast load" option is ON and directories 
   and files on disk is not propper arranged.
9. Added "CHECK_FILESIZE" option in "Constants.h" file to avoid problems with cuting end
   of songs in some situations.

-------------------------------------------------------------------------------------------
18.08.2002
1. Stupid bug causes compilation error with 4 lines LCD's. Fixed.

*******************************************************************************************

HEX files generated for 12.288 and 24.576MHz VS1001 clock.

To get more code space i must turn off the UART (in Constans.h). 
Current default options:
Letter nav. OFF, Fast forward ON, Fast Rewind ON, PowerUp beeps OFF, Show remote codes OFF,
Fast file load ON, Uart OFF, FAT16 OFF, Old VS1001 OFF, Progressbar 2 ON, Watchdog ON,
RST Out OFF, New PREVOUS OFF, Remain Time ON, LCD Type 2x16, IR Remote: My REC80 remote :)

Code size is near the top of AT90S8515 flash capacity we have to choose between some 
configurable options in Constans.h to get code size less than 0x2000 (or 8192 decimaly). 
Code size is shown after compilation in last line (dec, hex).
Current configuration sqeezes in the 8515 CPU flash memory.
Code size problems NOT occur on ATmega161. Not yet :-)))

P.S
In fact, gcc generate little less code than compiler shown after end of compilation. 
Sometimes sized 0x2060 bytes occupied in fact about 0x1ff8 bytes. 
Check this in Yampp3.hex file.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -