Home
MCF5251 TRIO User`s Manual
Contents
1. a E Local 52 ee Jae Name Value writable Smart Insert 227 22 c Click the Resume icon in the Debug view to allow the HDD software to continue execution The Suspend icon to the immediate right of the Resume icon can be used to halt the software at any time Trio HDD User Manual Rev 1 5 Freescale Semiconductor 3 Flash Programming with WorkBench We need to build the BIN file and to do this we use the APVIDEOFLASH build option Or any other valid flash type build option Prior to doing a new build we first do a clean Right click on the clean in the Project Navigator Window and select Build Target The APVIDEOFLASH build target produces a file called hdd bin This is the file that will be used to program the Flash on the EVM using the Wind River Probe To build the APVIDEOFLASH BIN file right click on the APVIDEOFLASH in the Project Navigator Window and select Build Target Once the build is complete a new hdd bin file will appear in the Project Navigator Window Next connect the WindRiver probe to the EVM and power the board up Connect the probe as previously instructed and attach to core NOTE In some cases it maybe necessary to unplug the colour LCD display completely from the EVM to allow Flash programming to complete successfully Also to ensure correct Flash programming operation please ensure that BDM communication is set to CLK 4 To do this select
2. The OCD Command Shell Settings dialog box should now appear as shown in Figure 1 24 Trio HDD User Manual Rev 1 5 34 Freescale Semiconductor Figure 1 24 Updated OCD Command Shell Dialog Box T OCD Command Shell Settings OCD Command Shell Settings MCFS251 PlayBack File C HddSoftwareRelease6 3 2 M5251C3 reg v M Display Background Communications Input Log File xv Append Full Log File M Cl Append Click OK Click the Playback File icon on the far left end of the OCD Command Shell view It appears as a black triangle pointing to the right The M5251C3 register file will be loaded into the Wind River Probe This step only needs to be performed the first time a new Wind River Probe connection is created in the Workbench Target Manager view After the playback of the M5251C3 register file is completed the OCD Command Shell view will appear as shown in Figure 1 25 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 35 Figure 1 25 OCD Command Shell View After M5251C3 Register File Playback T Device Debug Wind River Workbench BAE File Edit Refactor Navigate Search Project Target Run Window Help 1 mis H O Q e Bes A E BS Device Debug Ba y User Build Arguments 5 yb HDD v6 3 2 o Build Me AP MO APFLASH ME APVIDEO o m ot E 3 MCF5251 WRProbe_MC El MCF5251 System Mc a System Context APVIDE
3. Trio HDD User Manual Rev 1 5 Freescale Semiconductor 17 Figure 1 7 Import Import Projects Dialog Box Import Projects Select a directory to search for existing Eclipse projects Select root directory C HddSoftwareRelease6 3 2 HddCode _ Select archive File Projects HDD_ 6 3 2 Deselect All Browse to C HddSoftwareRelease6 3 2 HddCode for the root directory The project HDD_V6 3 2 appears under Projects Please note that the top level directory name will change as Freescale releases new software revisions Click Finish Workbench imports the HDD_V6 3 2 project in the default workspace folder and updates the Application Development perspective as shown in Trio HDD User Manual Rev 1 5 18 Freescale Semiconductor Figure 1 8 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 19 Figure 1 8 Updated Application Development Perspective W Application Development Wind River Workbench BAE Fie Edit Refactor Navigate Search Project Target Run Window Help ime i O Q iaee7 is ie TS E Applicaton Gm Project Navigator X BE Outline 33 m An outline is not available User Build Arguments ae B Target Manager x Ui B A Tasks cc Problems Properties Build Console Retriever Error Log Terminal Mj oe or oR x amp Y phen i E default localhost vi_ _ Description Resource
4. i2 hddaplusflash Id 3 hddvideo Id i hddvideoflash Id E makefile E makefile_43_5210 File name My Network Files of type l Click Open The Reset amp Download Download dialog box with be updated to show the hdd elf file Download and Load Symbols boxes checked as shown in Figure 1 31 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 41 Figure 1 31 Reset amp Download Download Dialog Box Updated W Reset amp Download Core Connection MCF5251 Reset Download Instruction Pointer Run Options Status Filename Downlo Verify Load Symb Offset C HddSoftwareRelease6 3 2 HddCode Build hdd elf e None i M Click Reset and Download The Reset amp Download Status dialog box will appear as shown in Figure 1 32 The status will be displayed as the reset and download progresses The entire process will take approximately 20 seconds to complete Trio HDD User Manual Rev 1 5 42 Freescale Semiconductor Figure 1 32 Reset amp Download Status Dialog Box W Reset amp Download Core Connection MCF5251 Reset Download Instruction Pointer Run Options Status Initializing visionPROBE Image Passed Driving RESET To Be High wi Passed Driving RESET To Be Low T Passed Release HRESET Passed Testing For Target FREEZE State Sii Passed Waiting For RESET To Be Release
5. 0x1001FF00 a7 w PEET 00000012 move l 0x30000000 d0 He pi 00000018 movec d0 vbr Bor 0000001c move l 0x1000000 a0 B wnfelder 00000022 movec d0 cacr E hdd ab 00000026 move l 0x3000C020 d0 E hdd abg oo000002c movec d0 sfc 2 hdd abx z 00000030 moveq l 0 da0 3 00000032 move l 0xC020 d0 Ge MCF5251 Syster A amp Ey System Conte oxo Ep Target Manager 7 m 00000038 movec d0 dfc Sy 7 o000003c move l 0x80000000 d0 BN OY x a 00000042 movec d0 cacr 00000046 move l 0x40000001 a0 oooo0004e movec d0 reg 79 00000050 move l 0x80000001 a0 E E default localhost a WRProbe_MCF5251 connected MCF5251 connected stopp Local 28 Tasks Problems Properties Build Console Error Log Pa OCD Command Shell X Name Connected to MCF5251 gt E m u apa gt ERR gt a FAULT msg20003 Unexpected reset while target is stoppe gt BKM gt v lt amp 2 3 5 4 Running and Debugging the TRIO Software on the Freescale M5251C3 The APVIDEO build target produces a file called hdd elf This file is will be downloaded to the M5251C3 using the Wind River Probe To build the APVIDEO exe file right click on the APVIDEO in the Project Navigator Window and select Build Target Once the build is complete a hdd elf file will appear in the Project Navigator Window Click the OCD Reset and Download icon in the Target Manager
6. 0x1F0001 a0 M4 al Name Value Tasks Problems Properties Build Console Error Log Terminal pa OCD Command Shell 3 m Connected to MCF5251 gt E m a ep gt ERR gt A IFAULT msg20003 Unexpected reset while target is stopped gt BKM gt v lt gt To run the code and to allow you to play back content on the SD Card highlight the System Context line in the Debug view Click the Resume icon in the Debug view This icon is on the far left side and appears as a green triangle pointing to the right The code should now be running and the colour display on the EVM will turn mostly blue with some text display on the top row Please refer to section 3 for the messages that will be displayed and how to then control the TRIO application that is now running 2 3 5 5 How to set a breakpoint in WorkBench Open the Symbol Browser view by selecting Window gt Show View gt Symbol Browser 44 Trio HDD User Manual Rev 1 5 Freescale Semiconductor Click on the Show the symbols loaded by the debugger icon in the Symbol Browser view The icon appears as a bug on the far left of the Symbol Browser view Enter OS_User in the Name Filter box of the Symbol Browser view Notice that the list of possible matching symbols is reduced as each new letter is entered This is a feature of the Workbench code analysis features Double click on the OS_UserInitPostConfig entry with the round red function definition indicator icon
7. In Folder HDD_ 6 3 2 Expand the HDD_V6 3 2 project folder and the Build sub folder in the Project Navigator view The Project Navigator will now display the project build targets in blue as shown in Figure 1 9 Trio HDD User Manual Rev 1 5 20 Freescale Semiconductor Figure 1 9 Project Build Targets W Application Development Wind River Workbench BAE Fie Edit Refactor Navigate Search Project Target Run Window Help E 18 Application D _ DE Outline 3 4n outline is not available n LY ine o Build i ap MG APFLASH Mf APVIDEO APVIDEOFLASH MO clean amp Object B wrfolder F hddaplus id A hddaplusflash Id F hddvideo ld hddvideoflash Id IM makefile B makefile_43_5210 gt HddCodeaAD H HddCodeaeE H HddCodeATA H HddCodeBFM H HddCodeDemo User Build Arguments v A E Target Manager 83 si Ej Tasks 53 Problems Properties Build Console Retriever Error Log Terminal N opt GW og T eitems 1 iptic io default localhost 1l Description Resource In Folder Location HDD_ 6 3 2 Freescale has predefined several project build targets Currently these are AP APFLASH APVIDEO APVIDEOFLASH and clean Please note that APVIDEO is the build option that should be used here The AP and APFLASH build options should be ignored if present The APVIDEOFLAS
8. Lim Biais O Q Oe FT ivii gt or E LIB Device Debug gt Z e Programming Add Remove Files Configuration Memory Diagnostics Flash Settings Flash Programming Flash Driver 35 AMD 29F160xB 1024x 16 1Device Fast Program Batch Program Flash Bank Workspace v Enable pre fiash C Enable post fiash Erase Sectors Erase from oxoo000000 Bone o oxo a Erase Program Erase Program Verify Abort Current Timeouts in seconds Program Erase Select the Programming tab in the Flash Programmer window Click the check box for Send IN before each operation The Programming window should now look like the screen shot shown above To start the Flash erase and program sequence press the Erase Program button A dialog box showing the current status along with a progress bar will be displayed Once the Flash programming is complete shut down Workbench remove the WindRiver probe and cycle the power on the EVM The code should now be running on the EVM Trio HDD User Manual Rev 1 5 Freescale Semiconductor 51 4 Startup When the system is started the display may show different Status messages If no SD Card is inserted in the SD card slot then it will display NO MEDIA If no recognisable audio or video content is found on the SD Card it will display NO MEDIA If media is present depending on the shows t
9. a default localhost oe warning have overlapping run time addresses lt exe Output sections z WRProbe_MCF5z51 connected did exe 0x10018130 kram_data_src_static1 did exe 0x10018130 kram_data_src_static1_overlap did exe warning have overlapping run time addresses convert exe v7 11D Copyright c 1996 2004 Wind River HSI lt In the Target Manager view left click on the MCF5251 connected indeterminate line to highlight it With the MCF5251 connected indeterminate line highlighted right click and select Attach to Core from the drop down menu that appears The Device Debug perspective will now be displayed as shown in Figure 1 20 NOTE For more information on establishing communications with the Wind River Probe please refer to chapter 3 of the Wind River Workbench OCD Probe Hardware Guide This document is located in the doc s folder of the Wind River Workbench 2 4 On Chip Debugging Edition with Wind River Compiler Evaluation CD Trio HDD User Manual Rev 1 5 Freescale Semiconductor 31 Figure 1 20 Device Debug Perspective T Device Debug Wind River Workbench BAE Fie Edit Refactor Navigate Search Project Target Run Window Help TE i O Q ia av i E B Device Debus 1 Project Navigator 2 m al BE g a 7 User Build Arguments v g HDD_Y6 3 2 amp Build Ma ap 5 B MCF5251 WRProbe_MC Ma APFLASH El MCF5251 System Mc a ME APVIDEO 4 system
10. lt 2 3 5 3 Connecting the Wind River Probe to the Freescale M5251C3 Make sure the power to the Freescale M5251C3 is off Please leave the power off until instructed to apply power later in this section Detach the ColdFire 26 pin target specific adapter from the Wind River Probe coaxial cable Insert the target specific adapter into the 26 pin keyed BDM header on the Freescale M5251C3 Attach the coaxial cable connector to the target specific adapter The connector and target specific adapter are keyed to prevent an invalid connection Plug the Wind River Probe into a USB port of the host system if this has not already been done The power activity LED should light steady green NOTE For more information on setting up the Wind River Probe hardware please refer to chapter 2 of the Wind River Workbench OCD Probe Hardware Guide This document is located in the doc s folder of the Wind River Workbench 2 4 On Chip Debugging Edition with Wind River Compiler Evaluation CD Trio HDD User Manual Rev 1 5 Freescale Semiconductor 23 A Workbench connection to the Wind River Probe will now be created In the Target Manager view click on the Create a New Target Connection icon This icon is located just under the Target Manager tab to the far left side of all the other icons The New Connection Connection Type dialog box will appear as shown in Figure 1 12 Figure 1 12 New Connection Connection Type Dialog Box u
11. Configuration Flash Bank Addresses 29LVOO8BB 29F010 w 29F040 29F080 81 29F016 17 29F032 33 29LVO65Dx 29F 100 29F116xB E 29F 160xB 2048 x 8 E 1024x 16 1 Device 2 Devices 29F160xT 29DL 16xxB 29DL 16xxT 29BL162 29PL160xB 29PL320xB 29F200 29LV200BB 29DL32xxB 29DL32xxT E 29LV320MH amp L w 29F400 w 29F400T 29DL400B Override valid address checking Base 0x00000000 RAM Workspace Start 0x10000000 Size SEA i Sector 0x00000000 0x00004000 0x00006000 0x00008000 0x000 10000 0x00020000 0x00030000 0x00040000 0x00050000 0x00060000 0x00070000 0x00080000 0x00090000 0x000a0000 0x000b0000 0x000c0000 0x000d0000 0x000e0000 0x000f0000 0x00100000 CESHERERES OSV OU sONH Ol v i annk Now select the Add Remove Files tab in the Flash Programmer window Press the Add file button and navigate to the folder that now contains the new hdd bin file Once selected the window should look like the screen shot below Trio HDD User Manual Rev 1 5 Freescale Semiconductor 49 i Trio HDD User Manual Rev 1 5 50 Freescale Semiconductor T Device Debug MCF5251 WRProbe_MCF5251 System Context Wind River Workbench File Edit Refactor Navigate Search Project Run Target Window Help
12. New Connection Connection Type Please select connection type Wind River ICE Wind River ISS Wind River Target Server Connection For Linux Wind River Target Server Connection For Linux User Mode Select Wind River Probe Click Next gt The New Connection Wind River Probe Settings dialog box will appear as shown in Figure 13 Trio HDD User Manual Rev 1 5 24 Freescale Semiconductor Figure 1 13 New Connection Wind River Probe Settings W New Connection Wind River Probe Settings Q Please select a valid processor Designators Processor O Board file Browse Designator Processor Processor Plugin Communications USB Device Name PR050587 The serial number for the Wind River Probe should appear in the USB Device Name field If it does not appear please refer to chapter 4 of the Wind River Workbench OCD Probe Hardware Guide located in the docs folder of the Wind River Workbench 2 4 On Chip Debugging Edition with Wind River Compiler Evaluation CD Click Select The Processor Selection Current Connection Wind River Probe dialog box will appear as shown in Figure 1 14 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 25 Figure 1 14 Processor Selection Current Connection Wind River Probe Dialog Box W Processor Selection Current Connection Wind River Probe MCFS2X MCFS202 MCFS2
13. RECORD directory and the user should be able to select and play it through the seek option or by going to it through next previous track keys Choice of Encoder The user has the option to record either in MP3 format or in ADPCM format It is good to use ADPCM for voice recording and MP3 for audio The menu provides an option to choose the encoder we want Go to the menu option ENCODER TYPE If you press the MENU SELECT key or MENU key then you will be able to see the current encoder format Use the Menu key to go to the desired format MP3 ADPCM Trio HDD User Manual Rev 1 5 Freescale Semiconductor Press the MENU SELECT key to select your desired encoder type It is not necessary to select the encoder type every time we have to record Once the encoder type is selected all the future recordings will be of the same encoder until we change the encoder type specifically Playlist The PLAYLIST option in main menu is for playing playlist files present in the Hard Disk The Playlist option is the 7 item in the main menu The system supports the rmp playlist files Created using Real Audio Player pls and m3u playlist files Created by Winamp User can go in to the playlist menu by pressing Menu in Playlist option of the main menu PLAY LIST Browsing through the playlist The system displays all the playlist files m3u or pls or rmp in the Hard Disk Presently it supports playlist files within the curre
14. Trio HDD User Manual Rev 1 5 Freescale Semiconductor 67 Selecting Slide Show Mode 1 Select Slide Show mode item from the main menu 2 Browse through the directory structure and select a directory or an image file in a directory 3 This will set the image mode to slideshow mode The system will decode and display all the images in the directory In case there are no image files in the selected directory then the system will display error message 10 2 Playback of video file Video file playback is similar to audio playback file Instead of displaying file names as in audio file case here the video frame is displayed on the LCD screen During video playback key mapping is changed slightly as indicated in the table below Table 5 Key Mappings during Video Playback Keys Present Action Taken Key 1 REWIND PREVIOUS TRACK Short press plays the previous track Long press activates Rewind for as long as the key is pressed Key 2 VOLUME Digitally decreases the volume Key 3 CANCEL No functionality Key 4 STOP Stop play Key 5 MENU SELECT No functionality Key 6 PLAY PAUSE Short press alternates between Play and pause Key 7 FAST FORWARD NEXT TRACK Short press plays the next track Long press activates forward for as long as the key is pressed Key 8 VOLUME Digitally increase the volume As indicated in the table menu is disabled during video playback 12 Play From Device When an MTP device is connected t
15. a a WRProbe_MCF5251 connected MBAR_TMRO vuShort gauiClockFreqVars guiCurrentClockIndex 4 E 2 MCF5251 connected stopp vEnableIsrs endif Local 2X Oo Setup the output port v g lt gt Name Value Tasks Problems Properties Build Console Error Log Terminal 4 OCD Command Shell 53 Connected to MCF5251 gt a a 7 P gt BKM gt gt BKM gt gt BKM gt 3 gt BKM gt v Double click in gutter to the left of the line void OS_UserInitPostConfig void in the file main c This will plant a software breakpoint at the entry to function OS_UserInitPostConfig Highlight the System Context line in the Debug view Click the Resume icon in the Debug view This icon is on the far left side and appears as a green triangle pointing to the right Trio HDD User Manual Rev 1 5 Freescale Semiconductor 45 The TRIO software will execute until hitting the software breakpoint The Device Debug perspective will be updated as shown in Figure 1 36 Figure 1 36 Updated Device Debug Perspective After Software Breakpoint is hit 46 a Target Manager z W Device Debug main c Wind River Workbench File Edit Refactor Navigate Search Project Target Run Window Help PM H Bi t O Q ieOOV iT H F7 er of E B Device Debus i EB symbol Browser 23 _ 1 E EEF mcrs2s1 wrProbe_Mcrs251 fclnenvemes B 3 Debug 2w fa ER M CE SETE vTrioParam
16. shown above The default True Bass value is 6 a E EES AE ENE AE EEEN TRUBS 10 Vol Key gt lt ________ ___ Vo Key 3 Press VOL Key to move from 0 to 10 and VOL key to move from 10 to 0 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 63 d SRS CONTROL This is the control for WOW in SRS This can be varied from 0 to 10 SRS Width can be varied by using the following steps 1 Press Menu Select Key Key 5 to enter the main menu 2 Press menu Up Down key until WOW 8 is displayed as shown below SRS 0 SRS 10 Vol Key R e Vd K y 3 Press VOL Key to move from 0 to 10 and VOL key to move from 10 to 0 Note If you are already in the main menu then Menu Up Down keys can be used to browse through different SRS settings 9 Multiple Partitions and Multiple Devices If the hard disk contains more than one partition the Trio HDD system reads all the valid partitions that have FAT32 FAT16 file systems If the disk has 4 partitions then these partitions are named as Partition 1 Partition 2 Partition 3 and Partition 4 In case of the HDD containing more than one partition when the user enters the Seek Menu to browse through the directory the system displays the first partitions in which we want to enter PARTITION 1 PARTITION 2 If the HDD has only one partition then when the user enters the Seek option the contents of the root directory are directly displayed The T
17. the OCD Command Shell window At he BKM prompt type CF CLK 4 and hit return Your entry should look like dialog box below Tasks Problems Properties Error Log Terminal PZMeleekec uri gt ne Ze Zu PialB gt BKM gt CF CLK 4 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 47 48 Next select the Flash Programmer tab as shown below if the Flash Programmer tab is not available Open the Flash Programmer view by selecting Window gt Show View gt Flash Programmer Then expand the Flash Programmer window to fill the screen Select the Configuration tab within the Flash Programmer window and scroll down the Device Selection window to AMD find the 29F160xB entry and expand it Select and expand the 1024 x 16 entry and finally select 1 Device Set the RAM Workspace Size box to 65372 this will maximize the flash programming speed And click the Select All button at the bottom of the Sectors window and hit the return key on your keyboard This selects all the sectors of the flash device to be erased The dialog box should then look like the screen shot below Trio HDD User Manual Rev 1 5 Freescale Semiconductor To Device Debug MCF 5251 WRProbe_MCF5251 System Context Wind River Workbench Ele Edit Refactor Navigate Search Project Run Target Window Help Em BM iti O Q isOHF Ti viit oO le E BB Device Debug Ry 7 Device Selection Current 35 0
18. view The icon is the fourth from the left and appears as a clockwise red arrow The Reset amp Download Reset dialog box will appear as shown in Figure 1 28 Trio HDD User Manual Rev 1 5 38 Freescale Semiconductor Figure 1 28 Reset amp Download Reset Dialog Box W Reset amp Download Core Connection MCF5251 Reset Download Instruction Pointer Run Options Status Play register file Browse M Reset IN Reset setup regs Specified core O All cores Cores tied on reset MCF5251 Reset and Download Abort Click the Download tab The Reset amp Download Download dialog box will appear as shown in Figure 1 29 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 39 Figure 1 29 Reset amp Download Download Dialog Box W Reset amp Download Core Connection MCF5251 Reset Download Instruction Pointer Run Options Status Filename Download Verify Load Symbols Offset Click Add Files When the Open dialog box appears browse and select the hdd elf file in the Build folder of the HDD_V6 3 2 project as shown in Figure 1 30 Trio HDD User Manual Rev 1 5 40 Freescale Semiconductor Figure 1 30 Open Dialog Box O Build Object E wrfolder My Recent a hdd ab Documents E hdd abg E hdd abx E hdd bdx E hdd bin B hdd map i2 hddaplus id
19. 04 MCF5206 MCFS206E MCFS207 MCF5208 MCF5211 MCFS212 MCF5213 MCF5214 MCF5216 MCF5232 MCF5233 MCFS234 MCF5235 MCF5249 MCFS249L MCF5250 MCFS270 v Expand MCF52XX and select MCF5251 Click OK Back at the New Connection Wind River Probe Settings dialog box click Next gt The New Connection Target Operating System Settings dialog box will be appear as shown in Figure 1 15 Trio HDD User Manual Rev 1 5 26 Freescale Semiconductor Figure 1 15 New Connection Target Operating System Settings Dialog Box g New Connection Target Operating System Settings Select the target operating system which is currently booted on the configured target Available CPUfs on Target Board MCF5251 Target Operating System Settings Booted Target OS on selected CPU Description Providing Plugin Kernel Image Kernel Image is optional for None Target OS Plugin Pass through Options Target Memory Mapping Settings Memory Map Undefined memory areas accessible Click Next gt The New Connection Object Path Mappings dialog box will be appear as shown in Figure 16 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 27 Figure 1 16 New Connection Object Path Mappings Dialog Box Tu New Connection Object Path Mappings Specify how files in the target file system are visible in the host file system Available CP
20. 250 SPK 60 SPK 300 SPK 100 SPK 400 SPK 150 WOW Brightness Focus Three levels of brightness can be selected Low Middle and High This selection is valid only when WOW is enabled BRI L BRI M BRI L SRS Width Eleven levels 0 10 can be selected for SRS This selection is valid only when WOW is enabled WOW TruBass Eleven levels 0 10 can be selected for TRUBASS This selection is valid only when WOW is enabled Trio HDD User Manual Rev 1 5 Freescale Semiconductor 55 Repeat Settings This is the sixth menu item Presently it has five settings Repeat None This is the default setting and all tracks are played in order Player stops at the end of the last song Repeat All Repeat all of the files in the disc Repeat Album Repeat the current directory Repeat One Repeat the current file track Repeat AB Repeat a portion of the current file track The repeat setting can be set by Menu select key They can be browsed using the Menu keys This option is applicable to the present play setting Repeat AB mode is set by pressing Menu Select key 2 times in the Repeat AB option of Menu First key press sets position A in the current playing track second key press sets the position B The player loops around playing between the A and B position of the current file Third Menu select key press disables the mode This mode is only valid for a single track and in Pause or Play states Menu Select Key REPEAT AB Set position A in cu
21. 29 Muenchen Germany 44 1296 380 456 English 46 8 52200080 English 49 89 92103 559 German 33 1 69 35 48 48 French support freescale com Japan Freescale Semiconductor Japan Ltd Headquarters ARCO Tower 15F 1 8 1 Shimo Meguro Meguro ku Tokyo 153 0064 Japan 0120 191014 or 81 3 5437 9125 support japan freescale com Asia Pacific Freescale Semiconductor Hong Kong Ltd Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po N T Hong Kong 800 2666 8080 support asia freescale com For Literature Requests Only Freescale Semiconductor Literature Distribution Center P O Box 5405 Denver Colorado 80217 1 800 441 2447 or 303 675 2140 Fax 303 675 2150 LDCForFreescaleSeminconductor hibbertgroup com HddUserManual Rev 1 5 09 2007 Document Number MCF5251_TRIOUserManual Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document Freescale Semiconductor reserves the right to make changes without further notice to any products herein Freescale Semiconductor makes no warranty representation or guarantee regarding the suitability of its products for any particular purpose nor does Freescale Semiconductor assume any liability
22. BDM connector looks like when the PLL_INIT value is set to the new value of 0x 12434039 Trio HDD User Manual Rev 1 5 10 Freescale Semiconductor 2 3 4 Wind River Product Installation Please refer to the instructions printed on the back of the Wind River Workbench 2 4 On Chip Debugging Edition with Wind River Compiler Evaluation CD jacket to install Wind River Workbench and the Wind River Compiler Note A number of s w patches for the Wind River Workbench 2 4 suite are required and are provide on the CD These patches need to be applied separately once the main install of Wind River Workbench 2 4 is complete Guidance for the application of the patches is included on the CD Instructions for installing and connecting the Wind River Probe will be presented in the Connecting the Wind River Probe to the Freescale M5251C3 section of this document NOTE If the host operating system is Linux please refer to the document home user name WindRiver_Evaluation2 4 workbench 2 4 dfw 0128 host x86 linux2 bin visionProducts USBLinuxDriverFiles README for information on how to install the Wind River Probe USB Driver for the host kernel being used Trio HDD User Manual Rev 1 5 Freescale Semiconductor 11 2 3 5 Launching Wind River Workbench Launch Wind River Workbench using the method for your host operating system a Linux Run the command home user name WindRiver_Evaluation2 4 startWorkbench sh b Windows Sel
23. Context aPVIDEOFLASH F Debug 3 Ne lt gt MB clean 2 Breakpoints 53 eee a w Object B wrfolder E hdd ab E hdd abg x Poar B hdd abx eS S Target Manager X NSM GE xX E E default localhost WRProbe_MCF5251 connected MCF5251 connected indete Local x A Tasks xA Problems Properties Build Console Error Log Terminal 0 items 1 Description Resource In Folder Open the OCD Command Shell view by selecting Window gt Show View gt OCD Command Shell The OCD Command Shell view should show the ERR gt prompt as shown in Figure 1 21 Trio HDD User Manual Rev 1 5 32 Freescale Semiconductor Figure 1 21 OCD Command Shell View T Device Debug Wind River Workbench BAE Fie Edit Refactor Navigate Search Project Target Run Window Help TOE amp O Q 8H7 j ES B Device Debug T Project Navigator x a m Debug 3 I Ega 7 User Build Arguments v g HDD_Y6 3 2 2 6 Build g Ma ap 5 P MCF5251 WRProbe_MC MO APFLASH Mo APYIDEO APVIDEOFLASH z j y El MCF5251 System Mc a System Context MB clean H E Object 0 Breakpoints 53 O B wrfolder E hdd ab E hdd abg E o w fo E hdd abx HES o Target Manager X NNJE KAY E E default localhost WRProbe_MCF5251 connecte
24. ER TYPE There are 9 different speakers types that can be selected A Particular Speaker type can be selected by following the steps given below 1 Press Menu Select Key Key 5 to enter the main menu 2 Press menu Up Down Key until SPK HP is displayed as shown above The default speaker type is headphone 3 Press VOL Key to move from Speaker type HP to 400 HZ and Press VOL Key to move from Speaker type 400 HZ to HP The following are the different speaker types 62 HP 40HZ 60HZ 100HZ 150HZ 200HZ Trio HDD User Manual Rev 1 5 Freescale Semiconductor 250HZ 300HZ 400HZ SPK HP SPK 40 SPK 60 SPK 100 SPK 150 SPK 200 SPK 250 SPK 300 SPK 400 Vol Key SSO K Vol Key b BRIGHTNESS This has 3 options Low Medium and High A Particular brightness can be selected by following the steps given below 1 Press Menu Select Key Key 5 to enter the main menu 2 Press menu Up Down key until BRI H is displayed as shown above The default brightness is High BRI L BRI M BRI H Vol Key W____ _ _ e Vo Key 3 Press VOL key to move from H to L and VOL key to move from L to H c BASS CONTROL This is the control for True Bass in SRS This can be varied from 0 to 10 TruBass can be varied by using the following steps 1 Press Menu Select Key Key 5 to enter the main menu 2 Press menu Up Down key until TRUBS 6 is displayed as
25. Freescale Semiconductor User Guide 09 2007 Document Number MCF5251_TRIOUserManual MCF5251 TRIO User s Manual 1 Introduction 1 1 Objective This document describes the use of the TRIO compressed audio player demo software on the Freescale Semiconductor M5251C3 EVB board It describes how to set up the hardware what additional hardware maybe required how to boot the system and the software and how to identify system issues It also includes how to set up the latest WindRiver tools WorkBench and how to flash the board with the WindRiver tools 1 2 M5251C3 EVB Board Requirements The M5251C3 Rev 1 1 board is needed to run the demo software audio video mode A colour QCIF format display supplied also needs to be attached to the board An SD card formatted to FAT16 or FAT32 and containing MP3 files is also required to allow the audio playback demo to run This document contains information on a new product Specifications and information herein are subject to change without notice Motorola India Electronics Ltd 2001 2002 2003 2004 2005 All rights reserved Freescale Semiconductor Inc 2006 All rights reserved Rev 1 5 Contents 1 INtrODUCUION sissssscesisesssnctentedsdenesdsoscscstendstanstesesessonse 1 2 SYSLEM SOU P ssccesscccecicsscececsnsnssasessssccneessuceresentasasss 6 3 Flash Programming with WorkBench 47 5 Key Pad ae ctiutssssssticsbsestunscnsteatonssecsvsateutsass
26. H build produces a BIN file that can subsequently be used to program the Flash on the EVM So for the purposes of this section we are only dealing with the APVIDEO build option and the clean option 2 3 5 2 Building the HDD Software Project The project is now ready to build First clean the project by highlighting the clean build target right clicking and selecting Build Target from the drop down menu that appears The Build Console view will display the results of the build as shown in Figure 1 10 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 21 Figure 1 10 Build Console View for clean Build Target Application Development Wind River Workbench BAE Fie Edit Refactor Navigate Search Project Target Run Window Help f rye f O Qa sees 4 FY Gi Application D r oject Navigator X gE Outline ES m An outline is not available User Build Arguments E Hop_v6 3 2 o Build i ap Mf APFLASH Mf APVIDEO APVIDEOFLASH i amp Object B wrfolder gt hddaplus Id E hddaplusflash Id E hddvideo Id gt hddvideoflash Id IH makefile E makefile_43_5210 gt HddCodeaAD H HddCodeaeE gt HddCodeATA H HddCodeBFM gt HddCodeDemo ny Target Manager 2 zai Tasks Problems Properties Build Console 3 Retriever Error Log Terminal ge S Build Started in Project HDD_ 6 3 2 17 Apr 2006 17 58 10 Bnew oy xa Command dmake
27. ING DEVICE TWO Once the backup is complete the system then displays STOP Trio HDD User Manual Rev 1 5 60 Freescale Semiconductor Format media FORMAT MEDIA Press Menu Select to format the media Please make sure you press this key only when you are sure you want to erase the content on the media Device Information DEVICE INFO Press Menu Select to display the firmware version Press menu plus minus to browse through the versions of different features enabled disabled in the system F W version 6 6 Build AP APVIDEO APUPICARD Menu Keys SEE 7 Volume Settings Volume has 64 levels User can increase or decrease volume levels using Key 2 VOLUME and Key 8 VOLUME Volume increases or decreases by level VOL 50 8 WOW Effects 7 1 WOW Enable Disable WOW OFF WOW ON _________________ VOL Keys Trio HDD User Manual Rev 1 5 Freescale Semiconductor 61 Press Menu Select Key Key 5 to enter the main menu Press menu down key STOP key i e key 4 Up key PLAY PAUSE key i e key 6 until SRS is displayed Then press VOL VOL key i e key 2 key 8 to enable disable SRS i e SRS ON SRS OFF will be displayed Then press the Menu select key to enable or disable SRS 7 2 WOW Settings There are four different SRS settings and they can be selected using Menu Up Down Keys as shown below SPK HP BRI H Menu Up Down Keys TRUBS 6 SRS 8 a SPEAK
28. LASSIC EQ JAZZ EQ ULTRA BASS D _Ho OO gt Menu Plus Menu Minus Keys User Equalizer Settings This is a variable user configurable graphic equalizer The menu item has the following settings It has 5 frequency bands e 60 Hz e 250 Hz e 1000 Hz e 4000 Hz e 12000 Hz USER EQ 60 HZ USER EQ 250 HZ USER EQ 1000 HZ USER EQ 4000 HZ ee Menu Plus Menu Minus keys Every band has separate amplitude levels ranging from 0 15 The user can browse through the bands using Menu keys A particular band is selected by pressing menu select key After selecting the band its present amplitude settings are displayed The amplitude settings can be changed using the Menu keys The settings will not go below 0 or above 15 60 HZ 7 60 HZ 8 60 HZ 9 60 HZ 10 Menu Plus Menu Minus keys Amplitude level for the particular band is selected by pressing Menu Select key User can come go back to the main display by pressing Menu cancel key Presently there is no option for going back one level in the menu Trio HDD User Manual Rev 1 5 54 Freescale Semiconductor WOW Note This feature is not enabled in the web s w release Please contact your Freescale representative for access to this feature if desired WOW Speaker Type Nine different Speaker types can be selected They are Headphone 40Hz 60Hz 100Hz 150Hz 200Hz 250Hz 300Hz 400Hz This selection is valid only when WOW is enabled SPK HP SPK 200 SPK 40 SPK
29. OFLASH lt j gt MO clean SS HG Object 20 Breakpoints 8 O A wrfolder lt E hdd ab E hdd abg x amp Po w oo E hdd abx a B 2 eS eG Project Navigator 2 i m s Debug 22 vv Ep Target Manager 3 m NN CBRL E E default localhost WRProbe_MCF5251 connected MCF5251 connected indete Local 28 Tasks Problems Properties Build Console Error Log Pal OCD Command Shell X Connected to MCF5251 gt E a P gt ERR gt TF CONF 45 10000000 3692 00000000 45 10000000 3692 00000000 gt ERR gt lt NOTE For more information on configuring target registers please refer to chapter 7 of the Wind River Workbench On Chip Debugging Guide The document is located in the doc s folder of the Wind River Workbench 2 4 On Chip Debugging Edition with Wind River Compiler Evaluation CD Apply power to the Freescale M5251C3 The Target Exception dialog box will be displayed as shown in Figure 26 This indicates that the Wind River Probe has detected a reset of the MCF5251 when power was applied to the Freescale M5251C3 Trio HDD User Manual Rev 1 5 36 Freescale Semiconductor Figure 1 26 Target Exception Dialog Box W Target Exception WRProbe_MCF5251 Exception in SystemContext at pc 0x0 IFAULT msg20003 Unexpected reset while target is stopped The System has been stopped The debu
30. U s on Target Board default from target Load module symbols to debug server automatically if possible Pathname Prefix Mappings Target Path Host Path lt any gt lt leave path unchanged gt Edit Remove U p Down lt Basename Mappings unstripped Click Next gt The New Connection Target State Refresh dialog box will appear as shown in Figure 1 17 Trio HDD User Manual Rev 1 5 28 Freescale Semiconductor Figure 1 17 Nee Connection Target State Refresh Dialog Box g New Connection Target State Refresh Configure the corets target states refresh settings Available CPU s on Target Board MCF5251 Initial Target State Query Settings C Query target object lists and target object states on connect C Query target object state s on stopped events C Query target object state s on running events receiving object only Target State Refresh Settings Refresh the target state manually only Auto refresh the target state periodically Refresh interval in seconds 15 _ Listen to execution context life cycle events context start context exit It is not known if life cycle events for execution contexts are provided Click Next gt The New Connection Connection Summary dialog box will appear as shown in Figure 1 18 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 29 Figure 1 18 New C
31. Welcome to Wind River Workbench 2 4 WIND RIVER WWW WINDRIVER COM Click Start The Start Options screen appears as shown in Figure 1 4 Trio HDD User Manual Rev 1 5 14 Freescale Semiconductor Figure 1 4 Start Options Screen T Application Development Wind River Workbench File Edit Refactor Navigate Search Project Target Run Window Help E Welcome X Welcome to Wind River Workbench 2 4 WIND RIVER WWW WINDRIVER COM gt Workbench gt Application Development gt Project Migration Go to Workbench Create applications based on Import existing Tornado 2 x WIND sample code or use wizards to POWER IDE 1 x and SNIFF 4 x quickstart development projects gt Wind River Online Support Workbench Tutorial gt Workbench Tutorial Linux Updates patches demo code VxWorks Version Version documentation and release notes Step by step introduction of Step by step introduction of are available here Workbench features Workbench features 2 3 5 1 Importing the existing HDD Software Project Click Workbench The Application Development perspective appears as shown in Figure 5 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 15 Figure 1 5 Application Development perspective T Application Development Wind River Workbench BAE Fie Edit Refactor Navigate Search Project Target Run Window Help 3 ri 0 Q BBB i e E GE Application D DE Outline 23 inl An outline
32. Wind River Workbench File Edit Refactor Navigate Search Project Target Run Window Help 3 3 Cy Fl F lt a X a es amp ww FEY BR Device Debus Project Navigator 5 2i A 58 MCF5251 WRProbe_MCF5251 Debug X z g 2y V System Context T start il i i T User Build Arguments Y gt 304b0418 M move v 0x700 5r amp a gonea A 304b041c movea l BootSP a7 3o RBE amp Bul 304b0422 al Ox10000000 a0 Ma ap even e f E p MCF5251 WRProbe_MC T 304b0428 movec d0 vbr E d MCF5251 System Md Raabe 304b042c move l 0x1000000 a0 T a BEYER 304b0432 movec da0 cacr BA ni 304b0436 move l 0x3000C020 d0 ial eean 304b043c movec d0 sfe ae Obert 30460440 1 0 a0 B wrfolder areas F gt hdd ab 304b0442 move l 0xC020 qa0 B hdd aba 304b0448 movec dao dtc B hdd abx 304b044c move l 0x80000000 d0 wie B hdd bdx 30460452 movec da0 cacr a 1 hdd bin 304b0456 move l 0x40000001 d0 F Lo v m E amp 1 hdd alf 304b045c movec d0 reg 79 BB Target Manager 3 304b0460 move l 0x80000001 a0 5 304b0466 movec d0 reg 78 Y N amp Y Es NN G ka bo 304b046a move 1 0x10010001 a0 default localhost 304b0470 movec d0 rombar id WRProbe_MCF5251 connected 304p0474 move l 0x10000201 d0 MCF5251 connected stopp 304b047a movec dO reg 69 304b047e move l 0 da0 1 Ps Local 23 2 304b0484 move l dO Ox40000080 om 304b048a move l
33. aight of the box due to legal restrictions Please contact your local Freescale representative for additional information or for any s w feature upgrades Features in italics are either not present in the web based s w release or will be limited in their operation e MP3 playback MPEG I Layer 3 and MPEG 2 Layer 3 with lower sampling rates Limited to 30s playback for each file e WMA playback high rate mid rate and low rate Limited to 30s playback for each file Full function WMA decoder can be made available only to suitability Microsoft licensed customers e OGG Playback Supports all bit rates and sampling rates specified by the encoder version 1 0 or earlier supports both floor0 and floor spectral decoding supports multiple logical streams e AAC Playback Supports MPEG2 AAC LC profile all bit rates 0 576 all sampling rates 8 1 1 025 12 16 22 05 24 32 44 1 48 except 64 88 2 96 Limited to 30s playback for each file Trio HDD User Manual Rev 1 5 2 Freescale Semiconductor e WAV file playback 16 or 8 bit linear samples sampling rates supported as same as for MP3 and WMA e MP2 playback MPEG 1 Layer 2 and MPEG 2 Layer 2 e Real time recording of input audio stream in MP3 format and storing it in the Hard disk Encoder quality limited and record time limited to 30s e Real time recording of input audio stream in ADPCM format proprietary and storing it in Hard disk as adp file Playback of files stored in ADPCM for
34. allation This section describes how to perform software development with the Freescale M5251C3 evaluation board with MCF5251 TRIO Evaluation Software using the Wind River Workbench 2 4 On Chip Debugging Edition with Wind River Compiler Evaluation and Wind River Probe This section includes the following topics Freescale MCF5251 HDD Evaluation Software Installation Wind River Product Installation Launching Wind River Workbench Creating the TRIO Software Project Building the TRIO Software Project Connecting the Wind River Probe to the Freescale M5251C3 Debugging the TRIO Software on the Freescale M5251C3 2 3 2 Freescale MCF5251 HDD Evaluation Software Installation The evaluation software needs to be downloaded from the following Freescale Semiconductor MCF5251 Web page Access to this software for download is not instant as a request and approval must be sought first The approval process may take between 1 3 working days So its best to make this request in advance before proceeding further The URL for the MCF5251 web page is http www freescale com webapp sps site prod_summary jsp code MCF5251 amp srch 1 Then to access the link to the software download process scroll down the web page to Software Application Software Application Development Framework and then click on the link which is named 5251 WRWB_TRIOSOFTWARERELx x x and then follow the online instructions Note The values for x in the links name may
35. arising out of the application or use of any product or circuit and specifically disclaims any and all liability including without limitation consequential or incidental damages Typical parameters that may be provided in Freescale Semiconductor data sheets and or specifications can and do vary in different applications and actual performance may vary over time All operating parameters including Typicals must be validated for each customer application by customer s technical experts Freescale Semiconductor does not convey any license under its patent rights nor the rights of others Freescale Semiconductor products are not designed intended or authorized for use as components in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application Buyer shall indemnify and hold Freescale Semiconductor and its officers employees subsidiaries affiliates and distributors harmless against all claims costs damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that Freescale Se
36. asically the user can treat the HDD as another drive Once the user finishes his operations on the PC then he she should disconnect the USB drive properly before plugging out the USB cable Once this happens the system automatically starts playing again from the root directory Currently the Trio HDD system connects only the HDD to the PC through USB Even if the SD MMC card is inserted in the system it does not show up on the PC as another drive Media transfer protocol MTP device Trio HDD User Manual Rev 1 5 Freescale Semiconductor 65 After device is detected as a MTP device start WMP if not running already In WMP click on the Sync tab and go to device synchronization feature Once the device is detected as an MTP device WMP will show the following dialog box asking for sync option This dialog can be ignored by clicking on the Cancel button m Device Setup MVO TX FM F 246 90 MB Configure Sync How do you want to synchronize this device Obromarx n Ottanual This option wil automaticaly synchronize your device wth your Favorite content each time you connect R To do so the Player creates playlists of your favorites from information such as your ratings the number f played the files and how new the files are customise the playlists that wil be synchronized sek trict 2 cancel The WMP window will show the file folders on the device as shown below File transfer to the de
37. change from time to time Once your request is approved you will receive a one time use URL via email from which to download the 5251 WRWB_TRIOSOFTWARERELx x x zip file This zip file should then be extracted to a suitable location on your PC It can be safely extracted to the root directory C or D drive as the extraction process will create its own unique folder location within the root for the TRIO software package Trio HDD User Manual Rev 1 5 Freescale Semiconductor 9 2 3 3 TRIO Software code correction for correct operation with WindRiver Probe In order for the Wind River Probe to work properly the PSTCLK signal on pin 24 of the BDM connector must be a valid 3 3V logic clock signal To insure that this is true go to the mcf5249_hw_init asm file located in the HddSoftwareRelease6 3 2 HddCode HddCodeHW source folder and change the following line if necessary if AP PICARD equ PLL _INIT 0x13419025 11 2896 MHz xtal 97 MHz CPU else The PLL_INIT value should be changed as follows if AP PICARD equ PLL _INIT 0x12434039 11 2896 MHz xtal 97 MHz CPU else The original value causes the PSTCLK on pin 24 of the BDM connector to be unusable by the Wind River Probe and results in a loss of communications The following is what the PSTCLK on pin 24 of the BDM connector looks like when the PLL_INIT value is set to the original value of 0x13419025 The following is what the PSTCLK on pin 24 of the
38. clean a default localhost Working Directory C HddSoftwareRelease6 3 2 HddCode Build del Q Object hdd elf hdd map hdd bdx hdd bin hdd ab hdd abx hdd abg Could Not Find C HddSoftwareRelease6 3 2 HddCode Build hdd elf Build Finished in Project HDD_ 6 3 2 17 Apr 2006 17 58 11 Elapsed Time 00 00 Now build the target desired For a target that can be downloaded to the Freescale M5251C3 evaluation board using the Wind River Probe build the AP target by highlighting the AP build target right clicking and selecting Build Target from the drop down menu that appears A number of warnings will be highlighted and displayed in the Build Console view These can be safely ignored The Build Console view output will be displayed as shown in Figure 1 11 Trio HDD User Manual Rev 1 5 22 Freescale Semiconductor Figure 1 11 Build Console View for AP Build Target T Application Development Wind River Workbench File Edit Refactor Navigate Search Project Target Run Window Help wie H O Q ia eev lt Fy GE Application D Tasks Problems Properties IE Build Console X Retriever Error Log Terminal G A F a did exe 0x1000e710 kram_data_mp3_scratcl did exe 0Ox1000ee6c oggd_kram_data did exe warning have overlapping run time addresses did exe Output sections did exe 0x10018130 kram_data_src_static1 did exe 0x10018130 kram_data_src_staticl_overlap did exe warni
39. d eS Local 53 Tasks Problems Properties Build Console Error Log OCD Command Shell X ia o Connected to MCF5251 gt E P 1 ap o gt ERR gt Click the Settings icon on the far right end of the OCD Command Shell view It appears as a yellow box just to the right of the magnifying glass icon The OCD Command Shell Settings dialog box will appear as shown in Figure 1 22 Figure 1 22 OCD Command Shell Settings Dialog Box T OCD Command Shell Settings OCD Command Shell Settings MCF5251 PlayBack File Display Background Communications Input Log File v Append Full Log File v append Trio HDD User Manual Rev 1 5 Freescale Semiconductor 33 Click Browse for the Playback File selection Browse to locate the M5152C3 reg file This file may not be present in the s w release as shown below But will be available as a separate download from the Freescale web page that the s w release was obtained This file contains the default register settings that will be used by the Wind River Probe to initialize the MCF5251 on the Freescale M5251C3 The Open dialog box should appear as shown in Figure 1 23 Figure 1 23 Open Dialog Box HadSoftwareRelease6 2 Does Hddcode My Recent J M5251C3 req Documents a File name M5251C3 reg My Network Files of type reg
40. d a Passed Attempting To Enable Background Mode Passed Testing BDM Communication Passed Loading Internal Registers sis Passed Testing BDM Communication Passed Initializing CPU Registers ne Passed visionPROBE Initialization Complete Passed C HddSoftwareRelease6 3 2 HddCode Build hdd elf C HddSoftwareReleases 3 2 HddCode Build hdd elf Completed at Default Offset 65 KB s Specified not to Run Reset and Download Completed Reset and Download Abort Apply Click Close The Save Changes dialog box will appear as shown in Figure 1 33 Figure 1 33 Save Changes Dialog Box To Save Changes The configuration Core Connection MCF5251 has unsaved changes Do you wish to save them Click Yes NOTE For more information on using the Reset and Download view please refer to chapter 7 of the Wind River Workbench On Chip Debugging Guide This document is located in the doc s folder of the Wind River Workbench 2 4 On Chip Debugging Edition with Wind River Compiler Evaluation CD Trio HDD User Manual Rev 1 5 Freescale Semiconductor 43 Click the start function displayed in the Debug view The MCF5251 WRProbe_MCF5251 System Context view will appear in the Workbench editor position as shown in Figure 1 34 The MCF5251 Program Counter will be set to the instruction located at the start symbol Figure 1 34 Debug View W Device Debug MCF5251 WRProbe_MCF5251 System Context
41. ding any audio input into an MP3 ADPCM file and store it in the hard disk The steps that have to be taken to use this option are as follows Trio HDD User Manual Rev 1 5 Freescale Semiconductor 57 Choose the menu using the menu key The recording option is the sixth item in the menu RECORD When this option is chosen a check is made to see if the file system contains a directory named RECORD in the root If the directory does not exist it is created first Once the directory is present a file with name MUSICxxx mp3 is created where xxx equals number of files in RECORD directory 1 If the file already exists then xxx is incremented until we find a valid file name For e g if there are three files in RECORD directory then the system creates a file MUSIC004 mp3 Once this is done the system displays RECORDING MODE Upon this the user should connect the audio input to the audio input ports that are present on the C3 board Then to start recording press the PLAY key Once the recording starts the song which is being recorded is played out on the DAC The system also displays the name of the file onto which the recorded song is being stored MUSIC003 mp3 To stop recording Press the stop key The system then completes the recording of the file system It then re reads the directory structure and starts playing again from the first file The newly created file would be present in the
42. ductor 69 13 Revision History Table 6 summarizes the revisions to this document Version Table 6 Revision History Date Revised By Description of Changes 5 2006 le First release of this document 6 2006 G Kwiecinski Updated from the AllGo TRIO HDD Manual Last review 15 March Also added updates specifically for MCF5251 and added WindRiver Workbench set up instructions from the QSG 6 2006 G Kwiecinski Removed VisionClick VisionProbe set up guide section 109 2006 Added WB Flash programming guide and G Kwiecinski suggested improvements by WR 9 2006 G Kwiecinski Improved WB Flash programming guide added additional steps for EVM set up including photographs Added steps to download 5251 TRIO software from the FSL web site 10 2006 Ashutosh Srivastava Updated for the 5251 release 6 5 09 2007 Ashutosh Updated for the 5251 release 6 6 Srivastava 1 1 Trio HDD User Manual Rev 1 5 70 Freescale Semiconductor Freescale Semiconductor Notes Trio HDD User Manual Rev 1 5 71 How to Reach Us Home Page www freescale com E mail support freescale com USA Europe or Locations Not Listed Freescale Semiconductor Technical Information Center CH370 1300 N Alma School Road Chandler Arizona 85224 1 800 521 6274 or 1 480 768 2130 support freescale com Europe Middle East and Africa Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 818
43. e above makes 512MB and 1G capacities have also been tested but not for all types listed above Directory Management related test cases 1 25 Read empty directory Read single section directory If a file directory is stored in one single chunk of memory they are referred as single section directory file If the file is split and stored in different chunks they are referred as multiple section file directory Read multiple section directory Delete Single Section directory Delete Multi Section directory File Management related test cases 1 Read single section file CAM IDAARYWN Read multiple section files Open multiple files at the same time currently two Read multiple files at the same time currently two Create multiple files at the same time Delete single section file Delete multi section file Seek through a single section file Seek through a multi section file 10 Read data in bytes 11 Write data in bytes Trio HDD User Manual Rev 1 5 Freescale Semiconductor 5 1 5 4 MTP related test cases The system has been tested successfully with Microsoft PlaysForSure test kit 2 01 01 2 System Setup 2 1 System Requirements For system set up and demonstration purposes there are a number of components that are required e A personal computer with VisionClick version 7 9A or higher or with WindRiver WorkBench V2 4 or better installed e AM5251C3 board Ver 1 1 with a production version MCF5251 ch
44. ect Start gt Programs gt Wind River gt Wind River Workbench 2 4 Evaluation gt Wind River Workbench 2 4 Wind River Workbench launches and displays the revision as shown in Figure 1 Figure 1 1 Workbench Revision Banner Wind River Workbench 2 4 WIND RIVER WWW WINDRIVER COM After the Java Virtual Machine has started and Wind River Workbench is loaded the Workspace Launcher dialog box appears as shown in Figure 1 2 Trio HDD User Manual Rev 1 5 12 Freescale Semiconductor Figure 1 2 Workspace Launcher Dialog Box Workspace Launcher Select a workspace Wind River Workbench stores your projects in a Folder called a workspace Choose a workspace folder to use For this session Workspace C WindRiver Eval WB 2 4 workspace _ Use this as the default and do not ask again NOTE Figure 1 2 is a Windows example On Linux the workspace path will default to home user name WindRiver_Evaluation2 4 workspace Accept the default workspace location and select OK A warning message dialog box may appear as a reminder of when the evaluation license will expire Take notice and click OK The Welcome screen appears as shown in Figure 1 3 Trio HDD User Manual Rev 1 5 Freescale Semiconductor 13 Figure 1 3 Welcome Screen Application Development Wind River Workbench File Edit Refactor Navigate Search Project Target Run Window Help E Welcome X
45. etersConfig gi Name Filter OS_User Hide matching i gt aED E TEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEE EEEE EEEE EEEE LLIE 05_UserInit Qa O5_UserInit 05_UserInitPostConfig 05_UserInitPostConfig cy cy lt M E Biney Cex av g default localhost a WRProbe_MCF5251 connected E MCF5251 connected stopp void OS UserInitPostConfig void sur SUT_EnableTick SUT_1000H2 Hifdef DEBUG endif ifdef CLOCK _SWITCH_ON_ else normal audio can work at 96 MHz vDisableIsrs guiCurrentClockFreq F96MHZ j guiCurrentClockIndex ucGetClockFreqIndex guiCurrentClockFreq Changing processor clock MBAR2 PLL_CTRL gauiClockFreqVars guiCurrentClockIndex 2 Changing the timer settings MBAR_TMRO vuShort gauiClockFreqVars guiCurrentC lockIndex 4 vEnableIsrs endif Setup the output port a nd Tasks Problems Properties Build Console Error Log Terminal cD Command Shell 3 O Connected to MCF5251 gt m n a P o fe BREAK msg12000 Software breakpoint PC 0x100118b4 EVENT Taken gt BKM gt gt BKM gt lt ji j gt Breakpoints 3 E x REAR Co aes 5251 WRProbe_MCF5251 Attac MCF5251 System Mode a System Context Stopped Br 05_UserinitPostConfig 05_ConfigureSystem k A Q fHddSoftware Hddcoc
46. ey 3 CANCEL Exit image mode Key 4 STOP No functionality Key 5 MENU SELECT No functionality Key 6 PLAY PAUSE No functionality Key 7 FAST FORWARD NEXT TRACK Short press decodes and displays the next image Long press no functionality Key 8 VOLUME No functionality If user exits the image mode by pressing image cancel mode then normal key mapping as indicated in section 5 will be applicable In case system encounter an error while decoding an image then it will display Image Decode Error on the LCD User can then select some other image by pressing appropriate key Previous Track Next Track in this case Please note that menu will not be enabled when image mode is on 10 1 2 Slide Show Mode In slide show mode the image files stored in the selected directory are decoded and displayed continuously After decoding the last image it again starts from first image in the directory The directory can be selected through the menu The images are decoded or displayed at a preset time currently 5 sec or after image decodes time whichever is higher E g if image decode time is 6 sec then image will be displayed after 6 second If image decode time is 3 second then image will be displayed after expiry of timer 5 seconds In case there is error in image decoding then that image is automatically skipped without giving any indication of error to user Key mapping as specified in section 5 are applicable in slide show mode
47. gger is attached already Click OK The OCD Command Shell view should now show the BKM gt prompt as shown in Figure 1 27 If the ERR gt prompt is still displayed please enter the command IN at the ERR gt prompt followed by the lt Enter gt key NOTE If the BKM gt prompt is not displayed please refer to chapter 4 of the Wind River Workbench OCD Probe Hardware Guide This document is located in the doc s folder of the Wind River Workbench 2 4 On Chip Debugging Edition with Wind River Compiler Evaluation CD NOTE For more information on Wind River Probe low level commands please refer to the Wind River Workbench On Chip Debugging Command Reference This document is located in the doc s folder of the Wind River Workbench 2 4 On Chip Debugging Edition with Wind River Compiler Evaluation CD Trio HDD User Manual Rev 1 5 Freescale Semiconductor 37 Figure 1 27 OCD Command Shell View with BKM gt Prompt T Device Debug MCF5251 WRProbe_MCF5251 System Context Wind River Workbench File Edit Refactor Navigate Search Project Target Run Window Help i ge i amp O Q i a8a7 EES IR Device Debug I Project Navigator 33 tal 8 Pe AREETA BSitia System Context gt 00000000 move b di do User Build Arguments oo000002 short OxFFOO gt ot 3 S gS HDD_V6 3 2 00000004 short O LoRIE 5 6 Build 00000006 short 8 ___ fl AP 00000008 move w 0x2700 sr i APFLASH gooo000c movea 1
48. he message RECOGNIZING DISC The display will be scrolling to the left During this time the system reads the Hard disk and gets the contents of the root directory After reading the disc it shows the first file track name number It plays by default the first song in the disc and shows the track file being played FILE1 MP3 5 Key Pad The keypad has 8 keys Each of the keys is labeled on the board and has the following format Key 1 REWIND PREVIOUS TRACK Key 2 VOLUME MENU Key 3 MENU CANCEL Key 4 STOP MENU DOWN Key 5 MENU SELECT MENU ITEM SELECT Key 6 PLAY PAUSE MENU _ UP Key 7 FAST FORWARD NEXT TRACK Key 8 VOLUME MENU The keys are multiplexed and there action depends on the mode running In normal mode the following keys are active Table 2 Key Mappings in Normal Play Mode Keys Present Action Taken Key 1 REWIND PREVIOUS TRACK Short press plays the previous track Long press activates Rewind for as long as the key is pressed Key 2 VOLUME Digitally decreases the volume Key 3 CANCEL No functionality Key 4 STOP Stop play Key 5 MENU SELECT Go into the main menu Key 6 PLAY PAUSE Short press alternates between Play and pause Key 7 FAST FORWARD NEXT TRACK Short press plays the next track Long press activates forward for as long as the key is pressed Trio HDD User Manual Rev 1 5 52 Freescale Semiconductor Key 8 VOLUME Digitally increase the vol
49. ip e ASD Card with MP3 JPEG Video AVI files loaded in a FAT32 FAT16 file system in any partition e 8 12V power supply for the C3 board There are a number of connector options for hooking up a supply to the EVM These are J4 P1 and P2 P2 is the correct connector to use with the supplied power supply DO NOT USE connector J14 which is next to the display as this is a 5V output and connecting a supply input to this will damage the board e VisionProbe with 26 pin ColdFire connector and power supply or if using WorkBench then the latest WindRiver USB Probe e Headphones or stereo computer speakers 2 2 Hardware Setup Attach the colour display to the EVM The cable with the red connector plugs into the red LCD2 connector on the EVM The red coloured edge of the ribbon cable indicates the end that is number 1 The key on the connector may need to be broken off as on some boards the hole that it should locate with is blocked with solder Then fold the ribbon cable such that the SIL plug on the display board can be inserted into the LCD1 connector The display should then be lying flat and to the right hand side of the EVM overlapping the SD Card slot See photograph below for correct fitting and orientation for the display Trio HDD User Manual Rev 1 5 6 Freescale Semiconductor EEEE Ae 2a As G gt ie r7 2 Plug in the SD Card into the SD Card slot under the colour display Connect the WindRiver p
50. is not available BB target Manager x i m 2 Tasks RD Problems Properties Build Console Retriever Error Log Terminal xa rll Mi oe ot ot x BY ets pi E default localhost Hl Bostiren Resource In Folder Select File on the top left corner of Workbench tool bar and then select Import from the drop down menu The Import Select dialog box appears as shown in Figure 1 6 Trio HDD User Manual Rev 1 5 16 Freescale Semiconductor Figure 1 6 Import Select Dialog Box W Import Select Create new projects from an archive file or directory This does not copy the project into the workspace Select an import source Archive file Build Settings g Checkout Projects from CYS Existing Projects into Workspace F Existing SNIFF Native Application Project into Workspace P Existing SNIFF Y xWorks Application Project into Workspace EA Existing Tornado 2 x Bootable YxWworks Image Project into Workspace B Existing Tornado 2 x Downloadable Application Project into Workspace UI Existing xWorks 6 x Image Project into Workspace existing WIND POWER IDE 1 x Application Project into Workspace File system Import Breakpoints El Preferences Team Project Set Select Existing Projects into Workspace as the import source Click Next gt The Import Import Projects dialog box appears as shown in Figure 1 7
51. mat e FAT32 FAT16 file system support e Multiple partition support e Multiple device support Currently we support Hard disk HDD SD card where SD card can be inserted and removed any time and USB Memory stick via adaptor not supplied e Support for 3 5 HDD 2 5 HDD Compact Flash card SD card MMC card and USB Memory sticks e Backup of data from SD card to Hard disk e USB 1 1 slave driver support subsequent releases will also support USB 2 0 HS and FS e USB MTP device driver support e Automatic device driver configuration Mass storage MTP based on host OS e USB 1 1 host driver support subsequent releases will also support USB 2 0 HS and FS e USB MTP host driver support e USB PlayFromDevice non DRM 1 wire and 2 wire host driver support e File System related features Multi task access File related operations such as Open Close Seek Create Delete Write Directory related operations such as Create Directory Delete Directory Change Directory Data cache for file reading Opening of multiple files at same time Creation of multiple files at same time Free space calculation Byte level access for reading files Byte level access for reading and writing files FAT32 and FAT16 Formatting of partition Creation of a primary or secondary partition e Basic player controls Play Pause Stop Next track Previous track Fast forward Rewind Digital Volume Con
52. miconductor was negligent regarding the design or manufacture of the part Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc All other product or service names are the property of their respective owners Freescale Semiconductor Inc 2006 All rights reserved e 2 freescale semiconductor z freescale semiconductor
53. ng have overlapping run time addresses convert exe v7 11D Copyright c 1996 2004 Wind River HSI convert ELF file hdd elf to CLICK file hdd ab Extracting symbols from hdd elf Symbols written Processing time 0 371 seconds convert ELF file hdd elf to BDX file hdd bdx Extracting image From hdd elf Writing binary download image to hdd bdx Maximum packet size 0x100 Lower address 0x0 Upper address OxfFFFFFFF Execution address 0x304b0418 Image written Processing time 0 030 seconds C WindRiver Eval WB 2 4 workbench 2 4 dfw 0128 host x86 win32 bin convert exe w hdd elf a 0 u 200000 convert exe v7 11D Copyright c 1996 2004 Wind River HSI convert ELF file hdd elf to Flat Binary file shdd bin Extracting image from hdd elf Writing Flat binary image to hdd bin Lower address 0x0 Upper address 0x200000 Execution address 0x304b0418 Image written Processing time 0 060 seconds warning flat binary output file is empty dmake makefile line 77 Warning Macro LINK_FILE cannot be redefined dmake makefile line 78 Warning Macro TRIO cannot be redefined dmake makefile line 83 Warning Macro IMAGE_SIZE cannot be redefined dmake makefile line 85 Warning Macro CLOCK_SWITCH cannot be redefined dmake makefile line 336 Warning Macro VIDEO_OBJECTS cannot be redefined Build Finished in Project HDD_ 6 3 2 17 Apr 2006 18 00 38 Elapsed Time 00 50
54. nt directory User can scroll through the playlist files using Menu Up Down keys The system currently does not read all the playlists upfront Rather it reads the playlists which are present in each directory as and when the user enters a new directory PLAYLIST1 RMP Menu Up Down User can see the content of a particular playlist file by pressing Menu in the corresponding playlist file entry The display shows the first song file in the playlist User can scroll through the songs in playlist using the Menu Up down keys User can come back to the playlist menu by pressing Menu key PLAYLIST2 RMP Playlist selection User can select a playlist file m3u or pls to play by pressing Menu Select key System will play all the files of the selected playlist User can also play a particular song file from the playlist After selecting a particular file to play only the files in the particular playlist will be played Now the play setting is set to playlist shuffle and repeat will be valid only for the files currently in the playlist file The Playlist is automatically cancelled when the user selects another song to play through the seek functionality The playlists can also be played by selecting them through the normal seek menu Trio HDD User Manual Rev 1 5 Freescale Semiconductor 59 File Erase File erase option in the main menu is for the user to select the file to be deleted in the hard disk User can select directo
55. o the host it first checks the target device supports 1 wire PFD else it checks if it supports 2 wire support and lastly if none of the options are available then it checks if it supports getPartialObject operation 1 wire PlayFromDevice When an MTP device which supports 1 wire operations or supports getPartialObject the current playback is stopped and the connected media file directory information is read to search for a playable file In 1 wire mode menu items like Erase Recording Encoder type etc are disabled Trio HDD User Manual Rev 1 5 68 Freescale Semiconductor 2 wire PlayFromDevice When an MTP device which supports 2 wire defined operations and properties is connected to the host port read its the root directory and the playback will stop The display will reflect the system state of the connected USB device i e stop pause or if the device is in playing state then the current playing song is displayed PFD_DEVICE_SONG MP3 When MTP device is connected all the menu options will be disabled except SEEK option SEEK submenu will now display the contents of connected MTP device in the similar fashion it does for itself Using SEEK submenu from MENU user can search through the contents of the device connected and select a file track to play from the MTP device connected When the USB cable is disconnected host goes to STOP state and displays STOP STOP Trio HDD User Manual Rev 1 5 Freescale Semicon
56. onnection Connection Summary Dialog Box g New Connection Connection Summary Please review the connection information Connection name WRProbe_MCF5251 Summary Property Value ADDR PROSOSS DESIGNATORMAP DEVICE Wind River Probe NAME_MAPPING unstripped PATH_MAPPING d STYLE USBDEYICE Immediately connect to target if possible Click Finish Workbench will now open a connection to the Wind River Probe in the Target Manager view as shown in Figure 1 19 Trio HDD User Manual Rev 1 5 30 Freescale Semiconductor Figure 1 19 Target Manager View with Wind River Probe Connection T Application Development Wind River Workbench BAE Fie Edit Refactor Navigate Search Project Target Run Window Help i ms i amp O Q sees pe r Fy Gi Application D Ge Project Navigator 2 m 5 Outline 2S Tm z 4 lan outline is not available User Build Arguments 5 yb HDD v6 3 2 o Build Mf AP ME APFLASH Mo APVIDEO APVIDEOFLASH MO clean gt Object B wrfolder E hdd ab B hdd aba B hdd abx E hdd bx P hdd bin hdd elf B hdd map hddaplus ld B hddaplusflash ld E hddvideo Id E hddvideoflash Id Tasks Problems Properties Build Console 3 Retriever Error Log Terminal ge T did exe 0x1000e710 kram_data_mp3_scratch G Ey ji N N i iS to did exe 0x1000ee6c oggd_kram_data
57. rio HDD system allows connection of other removable devices like SD MMC card to the system These can be inserted either before powering the system or while the system is playing As soon as the system detects that the SD MMC card is inserted it reads the file system on the SD MMC card and adds it as another partition on the disk The user can then use the seek menu option to browse through the contents of the disk Trio HDD User Manual Rev 1 5 64 Freescale Semiconductor 10 Connecting to PC Through USB The Trio HDD system allows the user to connect to PC through USB Depending on the Operating system running on the PC to which the device is connected to Mass storage device or MTP device driver will be configured at runtime In the Mass storage mode as soon as the USB cable is plugged on to the device the system stops playing and then displays USB CONNECTED In case of MTP device the system remains in the same state as it was before the USB cable plug in So playback is not stopped in this case The default driver of the device is MTP If the PC has Windows XP operating system with Windows media player 10 installed then the device is recognized as a MTP device else Mass storage device Mass storage device When configured as a Mass storage device the PC displays the device HDD as another drive Then the user can do the normal operations like transferring files to from the disk formatting the disk deleting files etc B
58. robe to the BDM port J12 on the C3 board There are 2 DC power sockets on the EVM that the supplied power supply jack can be potentially inserted in to The one near the display J14 is a 5V output port and the supplied power supply SHOULD NOT be inserted into this jack The correct jack to use is on the left hand side of the EVM labelled P2 and is next to the other power input connection options See the photograph below which shows the correct power supply connector being used Trio HDD User Manual Rev 1 5 Freescale Semiconductor 7 Do Not Use this connector for Power supply input Correct connector for Power supply input Now turn on the power supply and the 2 green LED s on the left side of the EVM should light up 3V3 and 5V ones ignore the 1V2 LED this should not light up Also the colour display should light up white Now you are ready to connect the supplied WindRiver debug tool and compile the code download it to the board and run it Instructions follow on how to set up the debug tools etc The board can also be flashed with suitable code BIN file via the WR tools such that the TRIO s w can be played with without having to continually download exe code How to flash the EVM using the WR tools is also explained further in this section Trio HDD User Manual Rev 1 5 8 Freescale Semiconductor 2 3 Software Debug Tool Setup 2 3 1 WindRiver WorkBench Set up Instructions and TRIO Software Inst
59. rrent track Menu Select Key REPEAT AB Set position B in current track Menu Select Key Cancel Repeat AB REPEAT AB Introscan User can select this menu item by pressing Key 5 Menu Select When this menu item is selected all the tracks in the CD are played for 10 seconds in an order determined by the Repeat and the Shuffle setting If the software is already in repeat or shuffle mode the introscan will play the first 10 seconds of the songs in the order determined by the repeat or the shuffle Once introscan is selected the keypad exits the menu mode and continues displaying INTROSCAN User can come out of the introscan mode by pressing PLAY by which the currently playing song will come out of the introscan mode and will be played fully display also changes from INTROSCAN to display the file track currently playing Introscan mode is reset when STOP key is pressed Introscan mode starts scanning with the first song according to the present play settings eg If a directory is played then introscan will start scanning songs from the first file in the current playing directory INTROSCAN Trio HDD User Manual Rev 1 5 56 Freescale Semiconductor Shuffle User can select the SHUFFLE option In this menu item the current SHUFFLE setting will be displayed There are only two possible options SHUFFLE ON SHUFFLE _OFF The user can see the other option by pressing the Menu Plus key Any option can be selected by pressing the Men
60. ry or file to delete The file or the directory to be deleted can be in any of the directories present in the hard disk Before selecting the user should stop playing the current file and go in to erase mode In erase mode the user can search for the file to be deleted as in seek mode To select the file after going to file erase mode refer to Seek It does not delete directories with valid files to play If the user selects such directory to delete it displays DIRECTORY NOT EMPTY From here the user can change the mode through menu ID3 Tags Trio supports ID3 version 2 3 and version 1 0 User can enter the Id3 sub menu by pressing MENU key in ID3 main menu option It Parses mp3 files to get basic information about the file like Album name Artist Genre etc Presently supports following fields e Album Name e Title of song e Artist Name e Genre e Year If there are no tags in the file then only the file name is displayed Otherwise all the fields are concatenated and displayed with as a field separator The whole display keeps scrolling ALBUM1 TITLE1 PETER POP 2002 Backup of Device Two Trio supports copying the entire directory structure of the second device SD card in our case into the HDD A new directory backxxx is created in the root directory of the first partition of the hard disk and the entire contents of SD card is copied into that While the copying is going on the system will be displaying COPY
61. sampling frequency should be 44 1 KHz Note Depending on the Video bit rate frame rates of between 10 20fps are possible Microsoft DRM 10 Janus protected WMA content transfer through MTP and playback WMA and DRM libraries can only be provided to suitably Microsoft licensed customers upon request via your Freescale representative System Testing The system has gone through some basic system testing for various HDD SD Card and USB Memory stick and FAT related test cases The following sections will describe some categories of test cases 1 5 1 Disk Related test cases 1 Read Single partition disk 2 Read Multiple Partition disk Trio HDD User Manual Rev 1 5 Freescale Semiconductor 1 5 2 1 5 3 o N AURA U 10 Read FAT32 file system created under Windows 2000 and Windows XP Read FAT32 file system created under Linux Read FAT16 file system Read 3 5 hard disks from SeaGate Maxtor Read 2 5 hard disks from Fujitsu IBM Read SD MMC cards which have FAT16 or FAT32 file systems and show them as another drive along with the partitions of HDD Compatible with Cornice discs and Compact Flash cards The USB Host stack has been tested to be compatible with the following makes of USB memory sticks thumb drives SanDisk Transcend 1 1 Transcend 2 0 JetFlash PQI Sony Samsung PNY Attache Itek Iomega Trek Lexar Jump Various disk capacities like 32MB 64MB 128MB and 256MB have been tested with th
62. testunstassese 52 6 Mnt faccccetssntstess sostvescnstecstectuupautedesseedecostecsecatnaeses 53 7 Volume Settings ccscccsscssscecseesssesssseseseresee 61 8 WOW ERG CIS ccccsscscscsnccontsscdcscsdssnseusecdsesnstesesdsses 61 9 Multiple Partitions and Multiple Devices 64 10 Connecting to PC Through USB 000 65 11 Image Video Related Change 000 66 12 Play From Device ssscsssssscesesessesesesceees 68 13 Revision History ccscccsscsssssecssssseseeeeeees 70 e raS 2 freescale semiconductor 1 3 Definitions Acronyms and Abbreviations Below are terms referenced in this document or that are needed to understand this document Table 1 Definitions Acronyms and Abbreviations Term Definition AD Audio Decoder BFM Buffer and File Manager DBB Dynamic Bass Boost GPIO General Purpose Input Output ISR Interrupt Service Routine MP3 MPEG1 layer IIl and MPEG2 layer III MSC Master State Controller ROM Read Only Memory TBD To Be Decided TOC Table Of Contents Ul User Input WMA Windows Media Audio JPEG Joint picture expert group A standard for image compression BMP Bit map A standard for storing images AVI Audio video interleave a container format to store audio video content 1 4 Software Features This is a list of features that can be supported The source demo s w downloaded from the Freescale web site does not necessarily support these entire features str
63. to the left The file main c will be opened in the Workbench editor The Device Debug perspective will be updated to appear as shown in Figure 1 35 Figure 1 35 Updated Device Debug Perspective T Device Debug main c Wind River Workbench File Edit Refactor Navigate Search Project Target Run Window Help ri R O Q seas a a et E BB Device Debug i i Symbol Browser X EE MCF5251 WRProbe_MCF5251 IC main c 53 A Debug 3 om i Q M vTrioParametersConfig Nm PF Name Filter O5_User Signature Df AeRREAAEAARERERAERAEERERERREEEEE REE EERE ERE EEEER EERE EEERREEEEERER REE 05_UserInit MCF5251 WRProbe_MCFSz E S Usorink void 0S_UserInitPostConfig void 8 4 S e MCF5251 System Mode 05_UserInitPostConfiat i t a 4 System Context Stc 05_UserInitPostConfig SUT Initialize start 0x305b Lee Pewee een 1000HZ ifdef DEBUG lt gt endif o Breakpoints 53 ifdef CLOCK_SWITCH_ON z else s A normal audio can work at 96 MHz amp wS vDisableIsrs aek guiCurrentClockFreq F96MHZ Ho gt E target Manager 23 guicurrentClockIndex ucGetClockFreqIndex guiCurrentClockFreq Changing processor clock amp NW ts v MBARZ PLL CTRL gauiClockFreqVars guiCurrentClockIndex 2 S LS default localhost Changing the timer settings a
64. trol e Hierarchical file system browsing Trio HDD User Manual Rev 1 5 Freescale Semiconductor 3 1 5 Browsing through the directory structure and delete file empty directories Formatting media Repeat None One AB Album Preset 5 Band Graphical Equalizer Flat Rock Classic Jazz Ultra bass modes User Definable 5 Band Graphic Equalizer SRS effect with controls for speaker type WOW width TruBass and Brightness focus Intro Scan Booting from Flash memory ID3 tags supported with artist title album genre and year WMA tags supported with artist and title only Optional I2C interface support for UI Display control from external chips Alterate build option required to enable this feature Clock switching to save power Switching the hard disk to low power mode when not in use Choice of encoder type MP3 or ADPCM Ability to decode and display JPEG compressed image Ability to decode and display BMP compressed image Slide show mode for image files Simultaneous decoding and display of image files without disturbing audio playback Ability to read and play MPEG4 simple profile video MP3 audio stored in AVI file format The maximum video frame size can be 220 176 where 220 is width and 176 is height of the video the maximum video bit rate can be 128 kbps and maximum supported frame rate at that bit rate is 10 fps assuming audio is 128 kbps 44 1 KHz For simultaneous audio video playback audio
65. u Select key If the shuffle mode is on then shuffle is done within the current directory If a playlist is being played then shuffle is done within the Playlist SHUFFLE OFF SHUFFLE ON Seek This sub menu will allow the user to search for a track folder in the directory structure or disc User can enter the root directory by scrolling to Seek menu item in the Main Menu and pressing Key 8 MENU This will display the first track folder in the root directory or first file in the first sub directory or disc User can press MENU UP Key 1 and MENU DOWN key 2 to browse the root directory User can exit the root directory and return to Main Menu by selecting MENU Key 2 If user wants to enter a folder within the root directory he scrolls down to that folder in the root directory and selects MENU Key 6 This will display the first track folder in the chosen folder User can exit this sub folder by selecting MENU Key 2 When user chooses a track file folder the selected track file folder all songs within that folder will be played When user selects a song from a particular directory then the play setting is set to that directory and repeat and shuffle settings will be applicable to songs present in the present directory only User can also choose a directory to play Files are displayed with their names and extension FILENAME EXT Directories are shown as gt DIRECTORY Recording The HDD system has an option of recor
66. ume Table 3 Key Mappings When Menu is ON Keys Present Action Taken Key 1 REWIND PREVIOUS TRACK No action Key 2 MENU Go from submenus to their parent menus Key 3 MENU CANCEL Exit menu mode Key 4 MENU DOWN Navigate through current menu items Key 5 MENU ITEM SELECT Key 6 MENU UP Key 7 Key 8 MENU 6 Menu Select the currently displayed menu item Navigate through the current menu item FAST FORWARD NEXT TRACK No action Enter the sub menu that is currently displayed if the current entry has a sub menu The menu has the following sub options 1 GRAPHICAL EQUALIZER SETTING WOW SETTING SPEAKER SETTING SRS SETTING TRUBASS SETTING REPEAT SETTING INTROSCAN SHUFFLE SEEK FILE ERASE SLIDE SHOW RECORD ENCODER TYPE PLAYLIST ID3 pO PO yc ee AS ae e e O ooun WNW Nn RA UN FORMAT MEDIA DEVICE INFO N Freescale Semiconductor BACKUP DEVICE TWO USER EQUALIZER SETTING BRIGHTNESS SETTING Trio HDD User Manual Rev 1 5 53 User can scroll through the various options using MENU UP and MENU DOWN keys in the order given above Graphical Equalizer Settings This is a fixed Graphic Equalizer with six settings Flat User Equalizer Rock Classic Jazz and Ultra bass These options can be viewed by using the Menu Plus amp Menu Minus Keys They can be selected using Menu select key EQ FLAT EQ ROCK EQ C
67. vice can be done thorough the sync feature The playlist to be synced can be selected form the upper left list box Transfer or Sync starts when the Start Sync button is pressed Sync list selection Device name box Current Device content selected playlist to be synced 11 Image Video Related Changes This section will describe the changes in HDD system user interface to accommodate Image decoding and display and for playback of video files 10 1 Decoding and display of image files During normal audio video playback image files are skipped For e g if we have filel mp3 xyz jpg and file2 mp3 files stored in sequence in the HDD then after playing filel mp3 system will directly jump to file2 mp3 thus skipping xyz jpg during continuous playback Trio HDD User Manual Rev 1 5 66 Freescale Semiconductor Image can be decoded and displayed only in two modes 1 Normal Image mode 2 Slide Show Mode When in image mode only audio files are played 10 1 1 Normal Image Mode To enter normal image mode user should browse the files through seek menu and then select an image jpeg bmp file This will change the player mode to image mode In image mode following key mapping will be applicable Table 4 Key Mapping in Image Mode Keys Present Action Taken Key 1 REWIND PREVIOUS TRACK Short press decodes and displays the previous image Long press no functionality Key 2 VOLUME No functionality K
Download Pdf Manuals
Related Search
Related Contents
iiyama MD 052B1000 flat panel wall mount PeakTech_4350 仕様書・外形寸法図(409KB) JVC HR-DVS3EK User's Manual HP ProBook VZ243AV User's Manual Palsonic 6845PFST User's Manual Peerless P18550LF-SS Instructions / Assembly Fiche pédagogique - Centre de langue française Paslode 514000 Use and Care Manual VIZIO LCD HDTV Copyright © All rights reserved.
Failed to retrieve file