SourceMedia_0523EDIO

所属分类:多媒体编程
开发工具:C/C++
文件大小:2481KB
下载次数:8
上传日期:2010-05-26 17:18:19
上 传 者ping007
说明:  SMI公司的SM350硬盘PMP播放器全部源代码。
(SMI SM350 company PMP players hard all the source code.)

文件列表:
SourceMedia_0523EDIO (0, 2005-05-23)
SourceMedia_0523EDIO\8051.bin (32794, 2005-05-23)
SourceMedia_0523EDIO\8051_1.bin (16410, 2005-05-23)
SourceMedia_0523EDIO\8051_2.bin (16410, 2005-05-23)
SourceMedia_0523EDIO\8051_B.bin (16410, 2005-01-05)
SourceMedia_0523EDIO\do.bat (1249, 2005-05-19)
SourceMedia_0523EDIO\Documents (0, 2005-05-23)
SourceMedia_0523EDIO\Documents\Cello 8051 SDK Specs.doc (321024, 2005-05-23)
SourceMedia_0523EDIO\Documents\release notes.txt (156, 2005-05-22)
SourceMedia_0523EDIO\dsp.bin (43272, 2004-07-20)
SourceMedia_0523EDIO\dspDemo.bin (43669, 2004-10-01)
SourceMedia_0523EDIO\dspJpeg.bin (10031, 2005-05-18)
SourceMedia_0523EDIO\dspJpg.bin (42853, 2004-11-23)
SourceMedia_0523EDIO\dspMp3.bin (41498, 2005-04-22)
SourceMedia_0523EDIO\dspRadio.bin (522, 2004-11-23)
SourceMedia_0523EDIO\dspRec.bin (23161, 2004-11-23)
SourceMedia_0523EDIO\dspwma.bin (9875, 2004-11-23)
SourceMedia_0523EDIO\eof.bin (8, 2004-10-01)
SourceMedia_0523EDIO\image.bin (117191, 2005-05-23)
SourceMedia_0523EDIO\LST (0, 2005-05-23)
SourceMedia_0523EDIO\LST\82801IDE.lst (27429, 2005-05-23)
SourceMedia_0523EDIO\LST\Audio.lst (331873, 2005-05-23)
SourceMedia_0523EDIO\LST\BandSwap.lst (163144, 2005-05-23)
SourceMedia_0523EDIO\LST\Cello.m51 (337066, 2005-05-23)
SourceMedia_0523EDIO\LST\CelloDebug.lst (75687, 2005-05-23)
SourceMedia_0523EDIO\LST\CF.lst (112784, 2005-05-23)
SourceMedia_0523EDIO\LST\Command.lst (113517, 2005-05-23)
SourceMedia_0523EDIO\LST\CONIO.lst (32448, 2005-05-23)
SourceMedia_0523EDIO\LST\database.lst (347699, 2005-05-23)
SourceMedia_0523EDIO\LST\Debug.lst (10721, 2005-05-23)
SourceMedia_0523EDIO\LST\Draw.lst (274347, 2005-05-23)
SourceMedia_0523EDIO\LST\Fat.lst (502383, 2005-05-23)
SourceMedia_0523EDIO\LST\FatAid.lst (220503, 2005-05-23)
SourceMedia_0523EDIO\LST\Flash.lst (179616, 2005-05-23)
SourceMedia_0523EDIO\LST\FlashCmd.lst (14207, 2005-05-23)
SourceMedia_0523EDIO\LST\GW4506D.lst (377163, 2005-05-23)
SourceMedia_0523EDIO\LST\IdeProc.lst (230645, 2005-05-23)
SourceMedia_0523EDIO\LST\IdeProcess.lst (212056, 2005-05-23)
SourceMedia_0523EDIO\LST\ISO9660.lst (42708, 2005-05-23)
SourceMedia_0523EDIO\LST\KeyDetect.lst (49809, 2005-05-23)
... ...

02/15/2005 - Separate the code into APIs. - Added some comments and documentation ====================================================================================================== 02/04/2005 - Found dma bug. It will fails for the first time (about 124 bytes / *** words). But after that, it works fine. - Added File Copy function. It will often fails since the Media detection is not stable. I believe it should be OK once we got the stable media detection. ====================================================================================================== 01/24/2005 - Try to reduce code and xdata used size by changing some codes. - Found some intermittent bugs: 1. HD detection sometimes does not work (could be because of the Media Bank swapping) 2. Sometimes, changing between menu will crash the system. ====================================================================================================== 01/19/2005 - Move each detect media function to the designated file which is already assigned a bank. Otherwise the detect media functions will be placed in the common area and will cause the common area size to increase. ====================================================================================================== 01/18/2005 - Added Media Swapping. Since we can only have one media at a time. Therefore, we separated each media into banks and load one particular bank everytime media is accessed. ====================================================================================================== 01/04/2005 - Consumer Electronics Show Demo (Las Vegas) - Added Skin Change feature - Added Select Media feature. Only HDD, SD/MMC, and MSPro are working. CF most of the time will fail (need to find out -> maybe detection pin problem). SM is not tested, since we will not support this in the future. - Added Pause and Continue MP3 - When "CES_DEMO" is defined, no directory function is supported (to save space) - WMA is not supported because the protocol still using the old way. ====================================================================================================== 12/23/2004 - This version still under development. It is not working very well yet. - Define "NEW_PROTOCOL" to use the new protocol (Required new DSP from Shelby) New Feature when NEW_PROTOCOL is defined: * Play MP3 using multiple buffers in the SDRAM * Play JPEG * Play MP3 together with JPEG (still buggy). * All other features has not been tested yet. So, it might have some other problems. ====================================================================================================== 12/08/2004 - Fix slow problem after write. Apparently, it is not because of the write, but because we always creating Map table every time we are trying to access other zone. We fixed it by using one of the spare block of the last segment. However, the problem above will still happen if write protect is enabled, therefore, we need to move the map table to the SDRAM. I believe it will help improve the writing problem. ====================================================================================================== 11/23/2004 - Memory Stick Write problems have been fixed except that when we write to Serial Memory Stick, then read it back, it will take a long time (need more investigation) ====================================================================================================== 11/17/2004 - Link the necessary SourceMedia source code files with the SM350 (Tapeout) source code files, so that a change in one file will automatically synchronize with the other. - SD Write Timing issue is fixed. ====================================================================================================== 11/11/2004 (Japan Demo I Version) - Always find a audio file to play. (not only play the selected file) - Always find the next JPEG file to show as long as user hasn't press any key. - Upload DSPJPG.BIN from the media instead from the ROM - Use RTC to calculate the audio play time (ENABLE_RTC flag should be defined). ====================================================================================================== 11/03/2004 (Japan Demo Version) - Patch more on the audio play break problem by increasing the initial file size load up and call the menuBackground more often. Even on the fatGetEntry API. - Fix fileRead function so that the size is set to the file size when user request to load the size bigger then the file size itself. This will fix audio cannot play if the size is too small (as a result of fixing the audio play break problem). - Fix Recording playback cannot play more than 1. ====================================================================================================== 11/01/2004 - Workaround the audio play break problem by sending the data even when we drawing the screen. - Fix audio play jump around between file when we browse the files. ====================================================================================================== 10/29/2004 - Memory Stick Duo Write is working, but not on Lexar Memory Stick. Ms Pro still has problem. - Add JPEG menu support. ====================================================================================================== 10/20/2004 - Remove all the old codes. - RTC is working. There is wrong definition in 0x7097 bit 2 (it should be bit 3) ====================================================================================================== 10/17/2004 (DEMO Version) - Most of the menu User Interface is already implemented, although not all the functionalities are. * File Name display, * Start/Stop Recording, * Recording Playback, * Save to media * Prev/Next page of the audio file list * JPG menu - Support both MP3 and WMA Audio Playback (using 36 MHz clock). Only HDD is working when uses 48 MHZ clock. - Recording is working (under 36 MHz) ====================================================================================================== 10/14/2004 Start using band structure from this version. ====================================================================================================== 10/07/2004 - Go to previous menu is not implemented in the current screen - Changed the Debug serial output baud rate to 9600, instead of original 57600 This may be due to radio module, need to verify more - The demo program require bitmap files. Currently .f00 font file, .b21/.b11 icons file. .b11 is for RGB 320x240x16bpp mode .b21 is for TV YUYV 320x240x32bpp mode - Those bitmaps bin files can be generated using bmp2bin.exe file, source codes also provided - Currently audio supports only either WMA files or MP3 files. Solutions to the problem is: Either use a sub menu to choose between MP3 or WMA. Or create a more flexible functions to allow multiple extensions search. - Some other audio functions still missing: Pause, file name display, etc. - GUI for file selections need to be updated by using Icons to reduce draw time. - Key APIs still can be improved to accomodate better key queues and handling ====================================================================================================== 10/05/2004 Function description: 1) BYTE fileRead(PDISKHANDLE pDiskHandle,WORD wIndex,ULONG dwOffset,ULONG dwSize,ULONG dwSdramAddr,ULONG dwSearch) dwSearch: Highest three BYTEs are used to store the EXTENTION NAME in 8.3 format. Lowest one byte stores the searching option. ====================================================================================================== 7/15/2004 Demo Release! 05/11/2004 Since RTOS has vector variable in 0x3F00 of RAM0, I can't use INTERRUPT for TIMEOUT control. I change a little in sysSDReadSector for DEMO and CHIP verification. ====================================================================================================== 05/10/2004 I setup a option"ALLMEDIA_TEST", now the media can be randomly inserted to test. I just found the SM only can run once. This needs to be checked. ====================================================================================================== 05/06/2004 The MiniHDD with ATA interface has been worked in this version. ====================================================================================================== 05/04/2004 The function interface has to be declared. ====================================================================================================== 04/27/2004 Find the bug on XD daughter card, 1) VCARD resistor is missed. 2) R/B pullup resistor is wrong. After fixing them, XD erase issue is gone. ====================================================================================================== 04/22/2004 This code can work with Memory stick PRO. ====================================================================================================== 04/21/2004 ***** 1) MS/CF has memory mapping problem in first tapeout. Address Bit 9,10 are forced to zero, and the address bit 8..0 is start from zero, and the address bit 15-11 is from Flash buf_saddr_l/buf_saddr_h(0x06/0x07) ***** 2) SD has memory mapping problem in first tapeout. Address Bit 9,10 are forced to zero, and the address bit 8..0 is from SD REG 0x1D/0x1E, and the address bit 15-11 is from Flash buf_saddr_l/buf_saddr_h(0x06/0x07) Note: this can work with Memory stick. ====================================================================================================== 04/20/2004 1) There is bug to check the BPB parameter for total sectos. ***** 2) somehome FlashErase command causes problem to XD, I comment the ERASE procedure temporarily. 3) MSB_BUF3/MS_RAMBUF of MS is defined in wrong location. 4) Some media has no partition. We still need to scan BPB without MBR. ====================================================================================================== 04/19/2004 1) When reset/enable DSP, somehow it has to be used Reg70d0 bit 0 (Reset DSP ALL). 2) I found the SM has this issue: With FAT16 partition but has FAT12 FAT table. I change the FAT type confirmation procedure. ====================================================================================================== 04/15/2004 1) I start to implement USB function for FPGA. ====================================================================================================== 04/15/2004 CelloTapeOut2-041504-Buf0.rar This code has already worked with FLASH with BUF0. Note: But I found one issue on SM: The partition is FAT16, but the FAT is FAT12. I need to change the detection for the FAT type. ====================================================================================================== 04/14/2004 1) For RAM0 switch, we have to set parameter first before touch RamActReg(0x85). So BUF1FLASHB(void)/BUF2FLASHB(void) have to be changed. ====================================================================================================== 04/14/2004 verA This is the last backup for FLASH without buffer address input. ====================================================================================================== 04/12/2004 1) For DSP SDRAM transfer, we need to use 0x42 for Register0x7201 and use DSP code made in 04/09/2004 ====================================================================================================== 04/09/2004 1)Remove all XBYTE/XWORD/PBYTE/PWORD/CBYTE/CWORD definitions from media portion. 2)Change the bug in _MOVESRAM_XC. 3)_SRAM_2_BUFX/_BUFX_2_SRAM/RWSRAM512 has no use. 4)_MOVESRAM_XX is not a correct function entry, needs to remove "PUBLIC" or remove function. 5)wStartStopDisC ==> wStartStopDisc 6)This is not a bug. To make the declaration clear, we should switch the header of start_dma_rd/start_dma_wr 7)We found the following variables are defined in RAM2 area: XSEG AT 0D800H XW_LINK0: DS 1024*2 XW_SPARE0: DS 24*2 XW_SM_SPARE XDATA XW_LINK0+2046 8)Change CLRBUF and remove BUFADR[]; 9)X_LIST_H/X_LIST_T/LIST_H/LIST_L/TESTCMD/CidBlock/PROGBLOCK/WPROBLOCK hasn't been used 10)MSPRo4Bit has conflict definition. 11)rwfirst/OutFlash1/cblockmatch/flashok/FirstPlaneA/FirstPlaneB/rdstep/chgale/waitok/blockfull page2k/page***/LC4 seem no be used. MSPRo4Bit may need to delete????? 12)BUFXTAB_A/BUFXTAB_B can be removed. ====================================================================================================== ****************************************************************************************************** ====================================================================================================== This directory uses the first tapeout (TapeOut1.dir) code and test on FPGA. I use it to prepare for the next tapeout. ====================================================================================================== ****************************************************************************************************** ====================================================================================================== 03/31/2004 RevA Change to use SRAM for first update. And reserve some USB function for future. ====================================================================================================== 03/31/2004 Update data trying to use SDRAM channel. ====================================================================================================== 03/29/2004 03/30/2004 1) FLASHRD_FDATA has timing issue with current HW design. 2) This FW has be passed the simulation for FLASH BOOTUP ====================================================================================================== 03/27/2004 If there is no CE for flash read, we have to check RB and want READY to send the next command. But this would reduce the transfer speed for Flash/XD/SM read: 5165KB --> 4865KB. 03/26/2004 VerA I need to move out the CE selection for Cello to make flash and smartmedia to share the same procedure. ====================================================================================================== 03/26/2004 1)XB_FOption2[16] is removed. 2)XB_TEST_ARG[16] is remove. 3)Flash RB is moved to P10. P10's output is seperated to control CF_CS; P10's input is used as Flash RB. ====================================================================================================== 03/25/2004 VerC 1) I remove the buffer switching function in Trig_TPC_Pro_BUF. ====================================================================================================== 03/25/2004 VerB 1) All the BUF switchs use MACRO control. 2) Move XB_BUF1 to memory space(0xc000)(temporarily) too. 3) So far USB only use XB_BUF0 to transfer data. ====================================================================================================== 03/25/2004 VerA To be close with Cello HW, I change the code: 1) remove XB_BUF3. 2) Move XB_BUF2 to memory space(0xc000)(temporarily). ====================================================================================================== 03/25/2004 1) Get rid of UseProgRAM bit variable. The following functions are affected: TrigHostRead/MS_Init/MSProInit/InitSD/Card_read_capacity/Card_read_format_capacity/ SDTrigHostRead/SDTrigHostWrite/SDCheckID/CheckID. 2) Get rid of SoftWPRO/WPROPin bit variables. ====================================================================================================== 03/24/2004 verB 1) I change the buffer control for FLASH : only use XW_LINK0(1024*2) and XW_SPARE0(24*2). ====================================================================================================== 03/24/2004 verA 1) I change the buffer control for FLASH : only use XW_SPARE2(1024*2) and XW_LINK0(1000*2) and XW_SPARE0(24*2). ====================================================================================================== 03/24/2004 1) ECCDecoder need to be closed in SPARE DATA transfer. 2) FlashProgAllReg(void) returns wrong value for RebuildCIS(). 3) In this version I change the SPARE area MAPPING to test FW on Dyna268. ====================================================================================================== 03/23/2004 Started from 03/12/2004, after we replace ReadSD & WriteSD, SD transfer has problem. We fix it in this version and make the buffer control more clear. ====================================================================================================== 03/22/2004 1) There is bug in MS_WriteSector for storing TBlock. 2) EraseBlock doesn't care the CommandParamReg and PageAdrReg. 3) Simplify MS_WriteSector(); 4) It is not necessary to define MSREG again in MSPROCMD.C 5) For MS Pro, in ReadAttribute, it always use XB_BUF0, so we select XB_BUF0 before call it, then it is necessary to use "SEL_ABBUF=0;" in Trig_TPC_Pro_BUF. ***** this may do in future, after confirm the MS max capacity: 2)To make MS work more efficient, X_MAP_TABLE would store the physical block number. ====================================================================================================== 03/22/2004 There is some change for MS during 03/21/2004 & 03/22/2004. =============================================================================================== 03/17/2004 I would use the code in TapeOut1 for Cello. In this FW, I have removed USB and CF and SerialRom functions. I also start to re-assign the memory mapping. =============================================================================================== 03/16/2004 For tapeout size issue, we only want to keep media accessment function, and remove the USB/CF/SERIALROM service to sram (#define NoSerialROM #define NoUSBFunction #define NoCF). =============================================================================================== 01/27/2004 Unify all the pointer as specific pointer. =============================================================================================== 12/11/2003 B If the pointer is defined in specific area, it only takes two byte as address. =============================================================================================== 12/11/2003 A I have verified DMA read/write for ATA =============================================================================================== 12/06/2003 I have verified ScanPartition and ScanDirectory function. =============================================================================================== 12/05/2003 This code can work for FAT function. I just verify ScanDrive function. =============================================================================================== 12/04/2003 Clean up the code for tapeout. =============================================================================================== 12/03/2003 This backup has been able to work with DMA and PIO mode. ============================================================= ... ...

近期下载者

相关文件


收藏者