Home

Product User Manual MPEG4 video streaming over TCP

image

Contents

1. directory shown in Figure 3 Select the workspace directory to use gt gb SRecycle Bin gt di ADLBF609 Workspace gt i Analog Devices gt di dell D gi Documents and Settings Folder ADI BF609 Workspace menw ox Cams Figure 3 Select WorkSpace Directory 4 Click OK 5 In the Workspace Launcher Figure 4 ensure that ADI BF609 Workspace is selected and is located at the root C directory as shown below Click OK Select a workspace CrossCore Embedded Studio stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace C VADI BF609 Workspace Use this as the default and do not ask again Figure 4 Workspace Launcher 6 CCES will now open to the Welcome screen O Copyrights 2014 EBSYS Confidential Document Page 11 25 tb EBSYS User Manual Embedded Systems Technology 7 Select File gt Import to import the TCP IP stack and MPEG 4 video encoder projects files 8 Select the Existing Projects into Workspace option under the General folder as shown in Figure 5 and then click Next ot a Select Create new projects from an archive file or directory py Select an import source type filter text 4 gt General 13 Archive File E2 Existing Projects into Workspace G File System E Preferences Ly VisualDSP Project gt amp C C b amp cvs gt amp In
2. u cccccssccecccecsesesaesecececsesnsaecececsceesesaeeeseeeeesseseaeseesesssesaes 24 4 4 NO RULE TO MAKE TARGET wiisicsicy susesicbsdicevaaspddbabstalcetacsnddaiusndcasaaspdistiweabsleeCacabdsaiuledndcabagsndiahassts eCagandsaiseaticeves 24 By iREFERENCES c c00c lt ccceecsccusscecdesececovessecccssscsccessocecssddcenscosssestesdevsvssscasveccedsvesssessseecnestzcssersasescsosousetercassssves 25 Copyrights 2014 EBSYS Confidential Document Page 3 25 88 EBSYS H User Manual 8 Embedded Systems Technology List of figures Figure 1 FinBoard features Map cccecsscssssecssececsnecesssecsessecseecessaeessaaeceeeeecsaeesssueesessecsensessaeesssaeesenaeeees 8 Figure 2 TCP IP stack and MPEG 4 video encoder demo SCtUP cescesssesssseeseesescsescsessseesseessaessaeeaaes 9 Figure 3 Select WorkSpace Directory ccccccsssssceceeecessessaeeeceescssseseaaececeescessesauaeseceessesseaaaeeeseesseesags 11 Figure 4 Workspace LaUNCHEL ccssssccccecessesenseseceeecesseaaeseceesessseseaaesececesesseaaaeseeesesesseaeaeseseeseeesegs 11 Figure 5 Select the Existing Projects into Workspace ccccccssescecesseneeceeseeecesseneecesseeeeceseeeaeesseenaeens 12 Figure 6 Select root directory Wizard cccceeecsssssceceeeceesesesaececeescesseeaaeceeeescessesaaaececeessessesaaeeeeeesseeeees 13 Figure 7 Debug configurations cccccssccesssecesececsecesseecsessecsseeessuecsensecseeessaeessaueeseaeessrses
3. Brightness LEDs 4 Ethernet Port Tripod Mount uSD Backside Figure 1 FinBoard features map 2 2 Software requirements Table 2 lists all software requirements for the MPEG4 video streaming over TCP IP on the FinBoard Item Designation Comments Swo1 CrossCore Embedded Studio 1 0 3 or www analog com cces later SW02 ADSP BF609 Evaluation Board Rel1 0 3 http www analog com BF609EZBoard software package or later SW03 Camera EI3 Extender Board Rel1 0 1 http www analog com EX3 Camera software package or later SW04 uC OS III Real Time Kernel for http www analog com en evaluation adswp CrossCore Embedded Studio Rel1 0 2 or later ucos3 eb html Note uC OS III is provided in source form for FREE short term evaluation purposes If you plan or intend to use uC OS III in a commercial application product then you need Copyrights 2014 EBSYS Confidential Document Page 8 25 88 EBSYS User Manual Embedded Systems Technology to contact Micrium to properly license uC OS III for its use in your application product SW05 IwIP Lightweight TCP IP Stack for http www analog com en evaluation adswp CrossCore Embedded Studio Rel1 0 1 Iwlp eb htmi or later SW06 MPEG4 SP ASPEncoder BF Rel4 2 2 or http www analog com en dsp later software bf mpeg 4 video encoder sw html SW07 MPEG4 video streaming over TCP IP on Delivered by EBSYS the Fin
4. the kit taking care not to scratch the lens with the metal pins Figure 17 Place the tape on your index finger push it against the lens and twist Figure 17 Focusing the lens Copyrights 2014 EBSYS Confidential Document Page 23 25 88 EBSYS H User Manual 8 Embedded Systems Technology 4 Troubleshooting 4 1 Conflict of IP address while running pre built binaries While running pre built binaries if the pre built address 192 168 1 19 is already used in the network a conflict of IP address will occurs Change the address of the other machine or disconnect it form the network 4 2 Could not open source file failed to redirect stdout If you got the message ERROR failed to redirect stdout in the console window be sure that 1 The FILE_SERVER_HOST_ADDRESS is set to the IP address of the Windows host on which Fileserver runs 2 DNS or Gateway addresses of the Windows host are the same as the board DHCP server 4 3 Could not open source file adi_mt9m114 h Though uncommon when the application is built the first time the following error may occur with the following alert in the CCES console could not open source file adi_mt9m114 h Hinclude adi_mt9m114 h 1 catastrophic error detected in the compilation of adi_mt9m114 c The solution to this issue is to simply clean the project then re build as follows 1 In the CCES Project Explorer select the mpeg4e
5. Board project amp binaries dxe Table 2 Software requirements list 2 3 Hardware Setup instructions 1 6 Attach the tripod mounting adapter Tripod Mount Figure 1 to FinBoard with the 2 screws provided Attach the tripod to the mount Connect the ADZS USB ICE or ADZS USB 100B ICE emulator to the FinBoard through the Debug port see Figure 1 Connect the ADZS USB ICE or ADZS USB 100B ICE emulator to your host PC via USB port Connect the FinBoard via Ethernet port see Figure 1 to the network using standard network cable Plug in the 5V power adapter Figure 2 presents the demo setup Figure 2 TCP IP stack and MPEG 4 video encoder demo setup O Copyrights 2014 EBSYS Confidential Document Page 9 25 88 EBSYS tt User Manual ov Embedded Systems Technology 2 4 Operating Conditions e If firewall protection software is running then windows host software may block the incoming connection e Enable the DHCP server to obtain an automatic IP address 3 Software Setup instructions In order to build the application source files and load them onto FinBoard you must first install Analog Devices CCES tools and associated support packages for FinBoard 3 1 Installing ICE Driver To install the ICE driver on a PC using Windows operating system for use with an emulator connected to the EZ KIT through the JTAG port 1 The hardware setup wizard will pop up when the ICE is used for the first t
6. MPEG4 encoder is created by Analog Devices EBSYS integrated MEPG4 on the FinBoard with TCP IP stack for MPEG4 video streaming Information about EBSYS s software engineering services and information about EBSYS s experience and expertise in designing embedded vision applications may be found at http www ebsys tech com page our servicesh 2 Demo Setup 2 1 Hardware requirements Table 1 indicates the list of required hardware to run the MPEG4 video streaming over TCP IP demo on the ADSP BF609 Avnet board Item Designation HWO1 FinBoard board HW02 ADZS USB ICE or ADZS USB 100B ICE HW03 PC with Windows XP Vista 7 or 8 operating system HW04 LAN environment or a Router with DHCP capability HW05 Network cable Table 1 Hardware requirements list The FinBoard has the following features and interfaces e Blackfin ADSP BF609 500 MHz Dual Core Processor e 128MB DDR2 SDRAM e 32Mb Quad SPI Flash e Aptina MT9M114 HD 720p CMOS Color Image Sensor e AD7511 HDMI video encoder e OSRAM High Flux LEDs for target illumination Copyrights 2014 EBSYS Confidential Document Page 7 25 User Manual 10 100 Ethernet USB OTG ADM1032 Temperature Sensor Micro SD Flash Memory Card interface 88 EBSYS Embedded Systems Technology IDT5V9885T programmable multi clock generator Tripod mount User pushbuttons and LEDs Figure 1 presents the main features and interfaces of the FinBoard High
7. Run Window Help ml amp gt Dr i Fr Ar SSPr EN i z 5 p BE Outline 8 N An outline is not available Open in New Window Copy Paste Delete Source Move Rename Import Export Build Project Clean Project Refresh Close Project Close Unrelated Projects Build Configurations Make Targets 2N Tasks E Console E Properties Index rnings 0 others Run As 1 CrossCore Application Ds Profile As Team Compare With Restore from Local History Run C C Code Analysis Properties Figure 7 Debug configurations O Copyrights 2014 EBSYS Confidential Document Page 14 25 User Manual 14 In the Run Configurations window select CrossCore Embedded Studio Application and then click the New Launch Configuration icon Figure 8 Create manage and run configurations amp E 3 v Configure launch settings from this dialog TY Press the New button to create a configuration of the selected type CrossCore Embedded St Press the Duplicate button to copy the selected configuration Launch Group X Press the Delete button to remove the selected configuration gt Press the Filter button to configure filtering options Edit or view an existing configuration by selecting it Configure launch perspective settings from the Perspectives preference page m Filter matched 2 of 2 i
8. SYS Confidential Document Page 4 25 User Manual 88 EBSYS Embedded Systems Technology List of Tables Table 1 Hardware requirements list rrrrrrrnnnnrorrrnrrrannnnnnrrrrrnssrnnnnnner Table 2 Software requirements list rrrrnnrrrnnnnnrvrnnnnnrvrnnnnnrnnnnnnnnnnnnnn Table 3 Sample Switches rerrrnrrnnnnnnnnrnrrrnsrnsnnnnnnrnrvrnssnsnnnnnnrsnsenssnnnnnnner Table 4 Table of References rrrrrannvnnnnvvrrnvvrrnnvvrnnnvrrsnvrrsnvvrsnnvnrsnvnsrnnn Acronyms CCES CrossCore Embedded Studio CMOS Complementary Metal Oxide Semiconductor DHCP Dynamic Host Configuration Protocol ICE In Circuit Emulator IP Internet Protocol JTAG Joint Test Action Group LAN Local Area Network LWIP Light Weight Internet Protocol MPEG Moving Picture Experts Group PPI Peripheral Parallel Interface TCP Transmission Control Protocol USB Universal Serial Bus Copyrights 2014 EBSYS Confidential Document Page 5 25 88 EBSYS tt User Manual ov Embedded Systems Technology Copyright and Trademark Statements Copyright Information COPYRIGHT O 2014 Embedded Systems Technology All rights reserved Legal Information This document contains confidential information and except with written permission of EBSYS Company such information shall not be published or disclosed to others or used for any purpose and the document shall not be copied in whole or in part Trademark and Service Mark Notice Analog Devices the Analog Devi
9. aracter is attached to mpeg4enc as shown in the 2 line in ee example of command line file that line is disabled In this example only the last line is an active command line One command line file can have multiple active command lines Encoder will finish all corresponding jobs in sequential order 3 4 1 2 Running pre built binaries dxe The TCP IP stack and MPEG 4 video encoder package come with pre built binaries in MPEG4_SP_ASPEncoder BF Rel4 2 2 lwIP Rel1 0 0 PROD bin folder Copyrights 2014 EBSYS Confidential Document Page 21 25 EBSYS User Manual 00 Embedded Systems Technology Sey Make sure to set IP address of the Windows host on which Fileserver runs to 192 168 1 19 Open and configure the CCES section 3 2 Load the example application dxe for both cores section 3 3 form Run the FileServer exe on the windows host This executable is present under demo utils or lwip install folder lwip blackfin examples Host file_server folder Core 1 which is running after loading the code halts after Core 0 initializes the system Run Core 1 again a few seconds after running Core 0 STDIO of the blackfin has been redirected to the windows host via sockets The File Server window will be as shown in Figure 16 p rer Listen on port number 20000 Change po Number of open files j Path to be prepended to all filenames Meaning of Sts column file curr
10. at are commented out in example cmd Be sure to uncomment the ones that need to be run in example cmd there are a few examples that are commented out O Copyrights 2014 EBSYS Confidential Document Page 20 25 tb tEBSYS H User Manual 8 Embedded Systems Technology A very brief description on the switches is listed in Table 3 Property Command line parameters To capture and send row data from the sensor to Captureframe the host To run MPEG 4 encoder mpeg4enc D1 o chO s 0 HALFD1 o ch0 s 1 2CIF o chO s 2 CIF o chO s 3 QCIF o chO s 4 4 channel CIF o chO ch1 ch2 ch3 s 0 w 352 h 288 2 channel CIF o chO ch1 s 0 w 352 h 288 NTSC not supported on the Finboard S 2 r 30 PAL not supported on the Finboard S3 r 25 CMOS Sensor S 4 r 30 2 Channel different resolution CIF QVGA o chO ch1 w 352 320 h 288 240 2 Channel different scaling V HALF H V HALF o chO ch1 s 2 3 Num of frames n 300 bitrate b 768000 in bits per sec Table 3 Sample Switches Example of command line file CMOS D1 Progressive 1 minute 1600 kbps mpeg4enc i PPI o chO n 1800 b 1600000 S 4 s 0 CMOS CIF 1 minute 800kbps mpeg4enc i PPI o chO n 1800 b 800000 S 4 s 3 A command line starts with mpeg4enc or captureframe and ends with mpeg4enc umn is a separate word and a space before must be there If any ch
11. canassdacsdacniaess 2 2 SOFTWARE REQUIREMENTS ccce000 2 3 HARDWARE SETUP INSTRUCTIONS 2 4 OPERATING CONDITIONS ssssssssecececcecssesseceseceecsesesecseceecssescseesscesceseecssesseunesseecesecuecacenseceseeuecugessecesseuees 3 SOFTWARE SETUP INSTRUCTIONS cccsssccccsssccccsssccccscsecccssseccccsecccesecececsesceecsesececsesceecsesesecseeeeassesess 10 3 1 INSTALLING ICE DRIVER sssseacscsscasntevieesnssaanvtnnacestassentncbwischasseuoseebovscnscessanseusrduntac asiebaessedtenscbodsonersedssuanseeenne 10 3 2 CROSSCORE EMBEDDED STUDIO CONFIGURATIONS cccccececcsssseececececeesescececeseaueeeececeeeceauenscecesesteueneseeeeeeetags 10 3 3 BUILDING AND LOADING THE TCP IP STACK AND MPEG 4 VIDEO ENCODER PROJECTS cccsscseeecsseesesseseesessesesseeeeees 17 3 4 RUNNING THE DEMO APPLICATION secsicssovseccactocescavaccencace ies sccentuecudvasusvicsactecbavevessbcsveueseitecsssbodosbevsivscepsuessduntace 20 3 5 FOCUSING THE LENS Juka kiasem ir 23 4 TROUBLESHOOTING wiscccessdecccetscact coscacdebecesasxcecetacecaducucecenssauncesvensedesssecssvoncasscasesesvondesacccebesacccatecaseceteoncnse 24 4 1 CONFLICT OF IP ADDRESS WHILE RUNNING PRE BUILT BINARIES cscecececececececeeeceeeeeeeceeuceeeceeuceeeeeeueeeueeaueeanenans 24 4 2 COULD NOT OPEN SOURCE FILE FAILED TO REDIRECT STDOUT ccccsceceeececeeeceeeceeeceeeeeseeeseeueecueeeeeeeeaeanaeananas 24 4 3 COULD NOT OPEN SOURCE FILE ADI_MT9M114 H
12. ces logo Blackfin CrossCore EZ KIT Lite EZ Extender and Collaborative are the exclusive trademarks and or registered trademarks of Analog Devices Inc All other brand and product names are trademarks or service marks of their respective owners Analog Devices Trademarks and Service Marks may not be used without the express written consent of Analog Devices such consent only to be provided in a separate written agreement signed by Analog Devices Subject to the foregoing such Trademarks and Service Marks must be used according to Analog Devices Trademark Usage guidelines Any licensee wishing to use Analog Devices Trademarks and Service Marks must obtain and follow these guidelines for the specific marks at issue Copyrights 2014 EBSYS Confidential Document Page 6 25 88 EBSYS H User Manual 8 Embedded Systems Technology 1 Introduction 1 1 Purpose This document presents the user guide for the optimized MPEG4 encoder from Analog Devices running on the Avnet FinBoard Video is captured encoded and sent to a host computer via TCP IP using LWIP running on the Blackfin processor This document is divided into three sections first section describes the hardware and software requirements and the hardware setup instructions second section presents the software setup instructions and third section details some causes and recommendations for troubleshooting 1 2 Who Created the Application The optimized
13. elow 7 E mpeg4enc_lwiP_Core0 C E mpeg4encbf609_Corel V Start a build immediately Figure 13 Clean projects wizard 6 Click OK The project will be cleaned and re built Copyrights 2014 EBSYS Confidential Document Page 18 25 te EBSYS User Manual oe Embedded Systems Technology 7 When the build process completes click the Problems tab near the bottom of CCES and ensure that no errors were encountered 16 warnings and 5 info points are generated 8 Inthe Project Explorer right click on core 0 or core 1 and select Run As gt CrossCore Application Figure 14 ee eea e File Edit Source Refactor Navigate Search Project Run Window Help ri i i amp i Q i P i BM Avr 8 ETT ae BBE Outline 3 al B fe h An outline is not available New Go Into Open in New Window gt Copy Paste Delete Source Move Rename Import Export Build Project Clean Project amp Refresh Close Project Close Unrelated Projects Build Configurations Make Targets Index A Run As H 1 CrossCore Application Resource Location Type Debug As Run Configurations Profile As Team Compare With Restore from Local History 11 4 Run C C Code Analysis Tasks E Console ET Properties Properties Alt Enter Figure 14 Run application wizard Copyrights 2014 EBSYS Confidential Document Page 19 25 HEBSYS E
14. ently being accessed R atttempt to open the file rejected C file access completed OK F failed while reading or writing the file C ADI_BF609_Workspace MPEG4_SP_ASPEncoder BF Rel4 2 C 4DI_BF609_Workspace MPEG4_SP_ASPEncoder BF Rel4 2 C 4DI_BF609_Workspace MPEG4_SP_ASPEncoder BF Rel4 2 C ADI_BF609_Workspace MPEG4_SP_ASPEncoder BF Rel4 2 C ADI_BF609_Workspace MPEG4_SP_ASPEncoder BF Reld 2 m Console LED Drivers Initialization LED Driver 1 Initialization STATUS1 0x00 LED Driver 2 Initialization STATUS1 0x00 Init Dual Core Communication through MCAPI implementation Start MPEG 4 Encoder Mask the line track overflow error 0 Exit Figure 16 File Server Window Decode the new generated MPEG 4 bitstreams for MPEG4_SP_ASPEncoder BF Rel4 2 2 IwIP Rel1 0 0 PROD demo utils using one of the available MPEG 4 decoder bitstreams as Mplayer may be obtained here http www mplayerhq hu design7 dload html VLC may be obtained here http www videolan org vic download windows html Elecard may be obtained here http www elecard com download index php Display the capture raw data using yuv viewer utility with the following configuration Hight 720 Width 480 and Format UYVY O Copyrights 2014 EBSYS Confidential Document Page 22 25 s EBSYS User Manual Embedded Systems Technology 3 4 1 3 To build demo projects and run 3 3 5 Open and configure the CCES
15. i EBSYS ee sie Systems Technology Doc ID PUM ADI D1311 Product User Manual MPEG4 video streaming over TCP IP on the FinBoard Customer ANALOG DEVICES Embedded Systems Products amp Technology One Technology Way NORWOOD MA 02062 9106 USA Rev 1 3 April 24 2014 User Manual Revision History 88 EBSYS A Emed Systems Technology Revision Issue Date Scope Achieved by Verified by Approved by 1 0 Jan 29 2014 First version WBR JTH CRB ROA AGZ 1 1 Feb 24 2014 Second version WBR JTH CRB ROA AGZ 1 2 Mar 31 2014 Demo setup review WBR JTH CRB ROA AGZ 1 3 Apr 24 2014 License Note WBR JTH CRB ROA AGZ Copyrights 2014 EBSYS Confidential Document Page 2 25 88 EBSYS User Manual me Systems Technology Table of Contents 1 INTRODUCTION cesscccccscasccssscacccesioccsesccacssececcvecdecancscoccusvccacdevestecsisccavetcecesseccccesssccesevoddaveseossvevenecsccesseusvoses 7 1 1 PURPOSE nimeitoa e O a aTa aai a a aaa aE aE a iela 7 1 2 WHO CREATED THE APPLICATION scnssscnkertuncostnsvecubensuncsncreeceonsbdnncssbncasstientinvstetstnnstsntueusvonsvenstensiinuntedbdnententaien 7 2 DEMO SETUP iivssssacscisseccevesseeceeteseonssceusucvecassesascessucnsccevanssconsuctscssbesssconsesbscesbacssucessasecsusscnsesesassessssncuscssnetss 7 2 1 HARDWARE REQUIREMENTS s iseesissrsocscsnveadoskoneodi niea snisdanosaii nane oikani cada cadesiasnalsaiacsv dsinacaedcala
16. iguration Processor ADSP BF609 Program s to load Program Options Add a Device0 core 0 J Eii C mpeg4enc_IwIP_Core0 Debug mpeg4enc_IwIP_Core0 dxe Reset Check si revision Run after load a Device0 core1 Remove 7 mpeg4encbf609_Core1 Debug mpeg4encbf609_Corel dxe Reset Check si revision Run after load Move Up Move Down Apply Revert Filter matched 5 of 9 items l Cm JC oe Figure 9 program s to load 19 Click the Browse button and select existing Binaries file for both cores 0 and 1 Figure 10 Copyrights 2014 EBSYS 15 Project Seenen Choose a project to constrain the search for a program mpeg4enc IwIP Core0 iS mpegdencbf609 Corel Figure 10 Search project wizard Confidential Document Page 16 25 88 EBSYS User Manual Embedded Systems Technology 20 Click OK Your window should like the picture shown in Figure 11 ser ied Project mpeg4encbf609_Corel Program Debug mpeg4encbf609_Corel dxe Search Project Load onto core Device 0 core 0 v Options Reset core before load V Check silicon revision before load Load symbols only Run immediately after load Working Directory Default mpeg4encbf609_Corel Debug 5 Other Browse Q Figure 11 Select a program to load wizard 21 Click Ok Click Apply and then click CLOSE 22 You have configu
17. ime 2 Click No not this time if prompted to search Windows Update for the driver 3 Select the option to install automatically and go to step 7 4 If the driver cannot be found automatically select the option to Install from a list or specific location and press Next button in the window 5 Select the Search for the best driver in these locations option 6 Enable option Include this location in search by clicking on the check list and add the location lt CCES Installation Directory gt Setup Emu_Drivers to the search path Press the Next button 7 The wizard will open a window showing Completing the Found New Hardware Wizard Click the Finish button and the ICE will be ready to use 3 2 CrossCore Embedded Studio configurations The CCES uses the concept of a workspace to define user preferences for project development There are several steps to create and customize a workspace but the process only needs to be done once The next time the CCES is launched the workspace is selected and everything will be automatically configured 1 Launch CCES 2 You will be prompted to select a workspace Click the Browse button Copyrights 2014 EBSYS Confidential Document Page 10 25 se EBSYS User Manual Embedded Systems Technology 3 From the Select Workspace Directory window use the Make New Folder button to create a folder called ADI BF609 Workspace at the root C
18. mbedded Systems Technology User Manual 9 In CCES select the Console tab near the bottom to view the load status shown in Figure 15 File Edit Source Refactor Navigate Search Run Project Window Help hy BGSlB 4 0 BO OF BH He Geeorse sE zlu 8 Outline Make Target Debug a 6 v R Project Explorer a ESB f mpegdenc IP Corel p gt l mpeg encbf609 Corel Problems Tass E Output Auto detecting devices on the JTAG chain 3 Properties E Disassembly Memory Browser a Image Viewer tit Register Browser 6 Expressions 4 Search Breakpoints amp ole Bye 7o Loading application C ADI_BF6 9_Workspace MPEG4_SP_ASPEncoder BF Rel4 2 2 lwIP Rel1 1 PROD demo ADSP BF6 9 CCES mpeg4enc_lwIP_Core Debug mpeg4enc_lwIP_Core dxe Load complete Loading application C VADI BF6 9 Workspace MPEG4 SP ASPEncoder BF Rel4 2 2 1wIP Rell 0 1 PROD binmpeg4encbf689 Corel dxe System initialized Configuring switches for the ethernet operation Incorrect MAC address in FLASH Using temporary MAC x0 123456789A Waiting for the link to be established Ga HL Ind Figure 15 Console wizard 3 4 Running the demo application 3 4 1 1 Encoding parameters Encoding parameters are specified in demo utils example cmd The default input is file input using demo vector supplied To change to PPI input CMOS sensor there are sample PPI encoding parameters th
19. nc_Core1 project 2 Right click and select Clean Project 3 Right click and select Build Project 4 4 No rule to make target If the following error occurs when building the project make No rule to make target Analog Devices uCOS Ill Rel1 0 2 uCOS III common uCOS lll TLS CCES os_tls c needed by system UCOS IN TLS CCES 0s tls doj Stop Try to 1 Select CoreO project 2 Right click and select Clean Project 3 Right click and select Build Project O Copyrights 2014 EBSYS Confidential Document Page 24 25 User Manual 5 References 88 EBSYS A beds Systems Technology Item Document ID Document description 1 ADSP BFporting ADSP BF609 Blackfin Dual Core Processor Datasheet Blackfin Dual Core Rev PrF 2 82 100113 01 Revision 0 5 ADSP BF609 Hardware Reference Manual 3 82 000269 01 Revision 1 0 ADSP BF609 EZ KIT lite Evaluation System Manual 4 82 000253 01 Revision 1 1 Video Decoder EI3 Extender Board Manual 5 ADV7842 Rev B ADV7842 Data Sheet and reference manuals 6 FinBoard Getting Started Guide Avnet s Blackfin BF609 Embedded Vision Starter Kit Revision 1 0 Getting Started Guide Table 4 Table of References Copyrights 2014 EBSYS Confidential Document Page 25 25
20. red your custom workspace for BF609 Avnet board and you are now ready to use the optimized MPEG4 encoder running on the Avnet FinBoard and the encoded video sent to a host computer via TCP IP stack project in CCES The next time you launch CCES you can simply select this workspace and everything will be automatically configured with these settings 3 3 Building and Loading the TCP IP stack and MPEG 4 video encoder projects The TCP IP stack and MPEG 4 video encoder projects can be re built in CCES and downloaded to BF609 Avnet board by following these steps 1 Launch CCES Copyrights 2014 EBSYS Confidential Document Page 17 25 ty EBSYS User Manual Embedded Systems Technology 2 Choose the ADI_BF609 Workspace workspace Figure 12 that you configured in section 3 2 in step 3 of this document Select a workspace CrossCore Embedded Studio stores your projects in a folder called a workspace Choose a workspace folder to use for this session Workspace C ADI_BF609_Workspace Use this as the default and do not ask again Figure 12 Workspace launcher 3 Click OK In CCES select Project gt Clean 5 Select Clean all projects and ensure the box is checked for Start a build immediately as shown in Figure 13 con EE elem Clean will discard all build problems and built states The next time a build occurs the projects will be rebuilt from scratch Clean all projects Clean projects selected b
21. saeesssaeesenseess 14 Figure 8 Run configurations rrrernnvvrrnnvnrnnnvrranvrrnavvrrnnvnrnnnnrrannrrnnnnrsnnnnrnnnnrnnn ner annrnnnnennnnessannrsnnnnnsnnnssnnn 15 Figure 9 program s to l0ad rrrrrnnrvrnnnvnrnnnvrrnnvrrnavnrrnnvnnnnnvrran vern nnnrrnnnnrnnnernan ner annrnnnnnnnnnrssnnnrsnrnnsnnnssnnn 16 Figure 10 Search project Wwizard mmmererermsvrverersrvrrrrsrrerrrrsrrversnsrrvesensrrnnsensrvenssnsrnnnssssrsnnsensrvnnssssvneneene 16 Figure 11 Select a program to load wizardi uassrvnnnannvvvnnannvrvnrsnnvvvnsensvrnnsensrrnnssnsrnnnssnsvnnnssnsvsnnssnnvneseene 17 Figure 12 Workspace IaAUNChEL cc cccccccecessesessececececesseuaeseceescesseseaaesecececessesaeaeseeesssesseaaaeseeeeeseseees 18 Figure 13 Clean projects Wizard wis ccccesssscutecesccteesssscueesesicveesssacededesiceaesssicaeesasieveesasicededasscitesasceeevenccetes 18 Figure 14 Run application wizard ssroeeronorrverenarrvnrsnsrrvnssnsrrvnssnsrrenssssrrenssserrensssersvnssnsrrnnssnsvrnnssnnnnnnssne 19 Figure 15 Console Wizard cccssssccesnccecessaucnevessccveesssicacesaadcecesaticncavavicdcesabidecs sauicecesadicacseaaiseeedaaideneeautecees 20 Figure 16 File Server Window ssminmrs sssvsssdressassenensaakdadeeakdsdedsaaddederakdsedesaakdaderakdsddesaddneeeadeedesdakdadeeaansdede 22 Figure 17 FOCUSING the lens scicccecsscccccss scnevsh eves ccsscncaceseadccces sicncesatvcc cess bicecestuidsceusaicncesd even cegadncaceeauttcdes 23 Copyrights 2014 EB
22. section 3 2 Open main c file from the mpeg4enc_IwiP_CoreO project and change the FILE SERVER HOST ADDRESS to the IP address of the Windows host on which Fileserver runs This macro is located at the top of the file You can use ipconfig utility to find the windows IP address Build and Load the example application dxe for both cores section 3 3 form demo ADSP BF609 CCESYmpeg4enc IwIP CoreOVDebug folder for coreOQ and demo ADSP BF609 CCES mpeg4enc_Core1 Debug folder for core1 Run the FileServer exe on the windows host This executable is present under demo utils or Iwip install folder lwip blackfin examples Host file_server folder Core 1 which is running after loading the code halts after Core 0 initializes the system Run Core 1 again a few seconds after running Core 0 STDIO of the blackfin has been redirected to the windows host via sockets The File Server window will be as shown in Figure 16 Decode the new generated MPEG 4 bitstreams for MPEG4 SP ASPEncoder BF Rel4 2 2 IwIP Rel1 0 0 PROD demo utils using one of the available MPEG 4 decoder bitstreams given in previous section Display the capture raw data using yuv viewer utility Focusing the Lens You can increase the quality of the MPEG bitstreams by properly focusing the lens Simply rotate the lens The lens is very small and can be difficult to rotate with your fingers Use the lens tool that is provided with
23. stall gt Run Debug gt amp Team Figure 5 Select the Existing Projects into Workspace Copyrights 2014 EBSYS Confidential Document Page 12 25 User Manual 9 Click the Browse button next to Select root directory Figure 6 and navigate to the MPEG4_SP_ASPEncoder BF Rel4 2 2 lwIP Rel1 0 0 PROD folder Click OK 10 Click Finish This design uses Blackfin core 0 and core 1 in the BF609 a lt mo Import Projects Select a directory to search for existing Eclipse projects Select root directory C ADI_BF609_Workspace MPEG4_SP_ASPEnco Select archive file Projects YI mpeg4enc IwIP Core0 C NADI BF609 WorkspacelMPEG4 SP ASP V mpeg4encbf609 Corel C NADI BF609 WorkspacelMPEG4 SP ASF m Copy projects into workspace Working sets Add project to working sets Working sets Select Figure 6 Select root directory wizard 11 Return to the C C perspective by clicking the Be C C icon Next you will configure CCES settings that are specific to build and load applications to BF609 board 12 Expand the Core 0 and Core 1 projects within the CCES Project Explorer and double click on Binaries to expand the folder O Copyrights 2014 EBSYS Confidential Document Page 13 25 User Manual x C C CrossCore Embedded Studio File Edit Source Refactor Navigate Search Project
24. tems Figure 8 Run configurations 15 In the Session Wizard make sure Blackfin is selected as Processor family then choose ADSP BF609 and click Next 16 Select Emulator as the Connection Type and click Next 17 Select ADSP BF609 via ICE 100B ADSP BF609 via USB ICE or ADSP BF609 via HPUSB ICE according to the Platform Type and then click Finish Copyrights 2014 EBSYS Confidential Document Page 15 25 User Manual ty EBSYS Embedded Systems Technology 18 The wizard automatically selects mpeg4encbf609_Core1 dxe for coreO User has to click on the dxe to change the selection Select mpeg4enc IwIP CoreO dxe for coreO In the Programs s to load section of the Session Wizard find Device 0 core 1 and double click Click here to select a program to load gt then select mpeg4encbf609_Core1 dxe Figure 9 S Create manage and run configurations Select a debug session to launch and a program to load by x BP Name mpegdenc IwIP Core0 Debug Ltype filter text MB Session gt Automatic Breakpoints 0 Custom Board Support Multiprocessor Groups 7 Source E Common E C C Application Session configuration Gil E CrossCore Embedded Studio Application l mpeg ene mi Cored Debug Target SDU Blackfin use KIT Lites ea amp Launch Group Platform ADSP BF609 via ICE 100B New conf

Download Pdf Manuals

image

Related Search

Related Contents

JVC RX-DP10V 7.1 Channels Receiver  Samsung TX-WN User Manual  Manual - Drive Dynamics  Mustek GSmart 350 Digital Camera User Manual  WYNN`S SPEED FX  3Dlabs Wildcat VP Graphics Accelerator Card User`s Manual  INSTRUCTION MANUAL    Construire l`orthographe à partir ds productions d`écrits.  Echelles n 21  

Copyright © All rights reserved.
Failed to retrieve file