Home
phyBOARD-Wega WEC2013
Contents
1. PHYTEC Messtechnik GmbH 2013 L 802e 0 49 phyBOARD Wega AM335x_ PB 00802 xxx 4 4 Updating the software If you found a newer BSP on our ftp server ftp ftp phytec de pub Products and want to flash it this chapter shows how to do Also in case that your phyBOARD Wega AM335x doesn t start anymore because you damaged its software during the previous chapter you re right here too In the latter case you Il find all needed original images on the DVD under phyBOARD WEGA BSP 4 4 1 Creating a bootable SD card In case that your phyBOARD Wega doesn t start anymore due to a damaged bootloader you need to boot from an SD card The SD card must be formatted with a tool which you will find on the DVD or in the path where you have installed the tool DVD phyBOARD WEGA BSP PD 14 1 1 Tools Please run the batch file in the windows command line like described below Prepsd bat G G has to be changed to the drive letter where you SD card is mounted After your SD card was formatted successfully you have to copy the following You find the files on the DVD or in the path where you have installed the tool DVD phyBOARD WEGA BSP PDxx x x Bootloader SD MLO phyBOARD WEGA BSP PDxx x x Bootloader SD EBOOTSD nb0 phyBOARD WEGA BSP PDxx x x Bootloader NAND XLDRNAND bin phyBOARD WEGA BSP PDxx x x Bootloader NAND EBOOTND bin phyBOARD WEGA BSP PDxx x x Image NAND NK bin 4 4 2 Flashing the Bootloader Insert the bootab
2. Other Languages SCH MFCDLL Visual C b Other Project Types D Platform Builder We Win32 Static Libra Visual C Samples G di gt Win32 Windows Application Visual C gt Online Name myHelloWorld Location c users grundmann documents visual studio 2012 Projects Browse wi Create directory for solution Add to source control Cancel Select Templates gt Visual C gt Windows Embedded Compact gt phyCORE AM335x WEC2013 on the left site On the right site select Win32 Console Application and type myHello World as project name Enter OK to start the wizard creating your application environment Open Solution Explorer on the left site and open the myHelloWorld cpp file PHYTEC Messtechnik GmbH 2013 L 802e_0 23 phyBOARD Wega AM335x_ PB 00802 xxx vd myHelloWorld Microsoft Visual Studio Administrator Quick Launch Ctrl Q Pp D x ELE EDIT VIEW PROJECT BUILD DEBUG TEAM TOOLS TEST ANALYZE WINDOW HELP a z i al a s gt Windows Embedded Compact Debugger Native Only X S ta 27 gt R fal Device 9 w S Global Scope d 3 S 1 Chi myHelloWorld cpp Defines the entry point for the console application E S 2 W 3 g 4 include stdafx h 3 g 3 E 6 S S 7 Eint wmain int argc wchar_t argv gt Ei 8 ka E 9 printf Welcome to Windows Embedded Project System n g a 19 return g
3. PANNE phyBOARD Wega AM335x Application Guide Document No L 802e_0 SBC Prod No PB 00802 xxx CB PCB No 1405 0 SOM PCB No 1397 0 Edition July 2014 A product of a PHYTEC Technology Holding company phyBOARD Wega AM335x_ PB 00802 xxx Copyrighted products are not explicitly indicated in this manual The absence of the trademark or and copyright symbols does not imply that a product is not protected Additionally registered patents and trademarks are similarly not expressly indicated in this manual The information in this document has been carefully checked and is considered to be entirely reliable However PHYTEC Messtechnik GmbH assumes no responsibility for any inaccuracies PHYTEC Messtechnik GmbH neither gives any guarantee nor accepts any liability whatsoever for consequential damages resulting from the use of this manual or its associated product PHYTEC Messtechnik GmbH reserves the right to alter the information contained herein without prior notification and accepts no responsibility for any damages that might result Additionally PHYTEC Messtechnik GmbH offers no guarantee nor accepts any liability for damages arising from the improper usage or improper installation of the hardware or software PHYTEC Messtechnik GmbH further reserves the right to alter the layout and or design of the hardware without prior notification and accepts no liability for doing so Copyright 2013 PHYTEC Messte
4. 11 L G 12 3 D a v 100 Output FindResults1 Find Symbol Results Error List ect myHello Edit the source code like the following screen on lint wmain int argc wchar_t argv E myHelloWorld Microsoft Visual Studio Administrator Quick Launch Ctri Q D D X FELE EDIT VIEW PROJECT BUILD DEBUG TEAM TOOLS TEST ANALYZE WINDOW HELP 0 B SM 9 P Windows Embedded Compact Debugger Native Only ta KKH bi Device gt myHelloWorld cpp X stdio h WX Global Scope wmain int argc wchar_t argv a 5 1 E myHelloWorld cpp Defines the entry point for the console application 2 ang 4 oi include stdafx h a 5 include lt windows h gt gt 6 g D 3 o E D Main a2unosay sas0jdxq UoNjos maA sway Hojeye gt 109 11 for int i i lt 5 i 12 13 printf Welcome to Windows Embedded Project System n 14 15 16 printf Press any key to continue r n 17 getchar 18 19 20 return 21 22 v 100 Output Find Results1 Find Symbol Results Error List 24 PHYTEC Messtechnik GmbH 2013 L 802e_0 Getting Started Open a telnet program of your choice and connect to the IP address 192 168 3 15 Type the following commandos in your telnet program o start conmanclient3 exe o start cmaccept3 exe NOTE If you boot up the device you have to start the service conmanclient3 exe once The service cmacce
5. lt re gd Output E Bui o g Show output from Build S Connectivity Options F S PBPreMakeImg BUILDMSG Generating os desigr Debug Message Options ITNCE8 O0SDesigns phyBoardWEGA phyBoardwWe 4 S PBPreMakeImg BUILDMSG Done Generating OS c p m MAKEIMG BUILDMSG Generating NLS File Release Directory Modules E MAKEIMG BUILDMSG Calling FMerge for bib fi Akemate Release Directories a Se bi bi A a H E a m lt s 2 BLDDEMO BUILDMSG OS image exists at D WINCE800 0SDesigns phyBoardWEGA phyBoardWEGA RelDir PHYTEC_AM335x_BSP_ARMV7_Release nk bin BLDDEMO BUILDMSG Volume in Laufwerk D hat keine Bezeichnung BLDDEMO BUILDMSG Volumeseriennummer B661 CF54 BLDDEMO BUILDMSG Verzeichnis von D WINCE888 0SDesigns phyBoardWEGA phyBoardWEGA RelDir PHYTEC_AM335x_BSP_ARMV7_Release BLDDEMO BUILDMSG 15 07 2014 14 52 45 847 955 NK bin BLDDEMO BUILDMSG 1 Datei en 45 847 955 Bytes BLDDEMO BUILDMSG Verzeichnis se 106 201 456 640 Bytes frei BLDDEMO BUILDMSG CEBASE build complete BLDDEMO BUILDMSG BldDemo ended at 14 52 42 99 on 15 07 2014 exit code BLDLOGS BUILDMSG Exiting BldDemol bat q result code BLDLOGS BUILDMSG D WINCE8 build log BLDLOGS BUILDMSG D WINCE8 build out BLDLOGS BUILDMSG D WINCE8 build wrn phyBoardWEGA error s 36 warning s Build 1 succeeded or up to date failed skipped A pop up window should appear which is
6. 23 06 08 13a 28672 mxip_swmgmt vol 01 23 06 08 13a lt DIR gt My Documents i 01 23 06 O08 13a lt DIR gt Temp SS 08 13a lt DIR gt Windows I Found 7 file s Total size 172032 bytes 1 Dir s 84533248 bytes free gt start conmanclient3 exe gt start cmaccept3 exe gt M Telnet VT220 Zmodem Z0C1407_192 168 3 1501 log 00 00 15 76x20 You are now able to start the demo application Back to Visual Studio select Windows Embedded Compact Debugger and type the IP address of the device in the pop up window E HelloWorld Microsoft Visual Studio Administrator Quick Launch Ctri Q D OG FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TOOLS TEST ANALYZE WINDOW HELP main aunosay ojdxg uonnjos mal sway Bojeze gt a R B SM D Windows Embedded Compact Debugger Native Only ele GK Windows Embedded Compact Debugger ar Global Scope wmain int argc wchar_t argv 4 El include stdafx h 5 include windows h bk samadoig xoqjoo Iaiotd 1343S 6 7 Eint wmain int argc wchar_t argv 8 H 9 printf Welcome to Windows Embedded Project System n 10 as HANDLE hComPort 12 DCB dcb 13 DWORD err IP Address Dialog 14 13 i e Enter an IP address for the target device 16 open COM Port for communication 17 hComPort CreateFile L COMe 192 168 3 15 18 GENERIC_WRITE GENERIC_READ 19 ER 20 NLL L oe JI Gen 21 OPEN_EXISTING 22 DN 23 NU
7. 7 Pin Assignment of CAN Connector X65 users 38 Tables PHY TEC AY connector Eed Eed 57 Table 9 PHYTEC A V connector X71 mean 58 Table 10 TC Connectivity EN 59 Table 11 IC Addresses in Use nee 60 Table 12 PHYTEC Expansion Connector X69 sj cesiciocsssnsyacssadvsvaperunnccetetvsiessevsnnipnansieepecenceerenes 62 PHYTEC Messtechnik GmbH 2013 L 802e 0 iii phyBOARD Wega AM335x_ PB 00802 xxx Conventions Abbreviations and Acronyms This hardware manual describes the PB 00802 xxx Singe Board Computer SBC in the following referred to as phyBOARD Wega AM335x The manual specifies the phyBOARD Wega AM335x s design and function Precise specifications for the Texas Instruments AM335x microcontrollers can be found in the Texas Instrumenten s AM335x Data Sheet and Technical Reference Manual Conventions The conventions used in this manual are as follows Signals that are preceded by an n or character e g nRD RD or RD or that have a dash on top of the signal name e g RD are designated as active low signals That is their active state is when they are driven low or are driving low A 0 indicates a logic zero or low level signal while a 1 represents a logic one or high level signal The hex numbers given for addresses of UC devices always represent the 7 MSB of the address byte The correct value of the LSB which depends on the desired command read 1 or write 0 must be added to get the complete ad
8. Compact 2013 The application builder is needed to develop applications for WEC2013 devices Application Builder for Windows Embedded Compact 2013 http www microsoft com en us download details aspx id 388 19 It could be that some of the upper links are not up to date Therefore you have to use Google to find the development tools by your own 1 2 2 Windows Embedded Compact 2013 Windows Embedded Compact 2013 is a plugin for Visual Studio to build and develop a board support package BSP for a target device like the phyBOARD WEGA If you have the tendency to compile a WEC2013 BSP by yourself you have to install WEC2013 Otherwise if you decided to develop applications for WEC2013 only then it is not necessary to install WEC2013 In the further chapters are described both development practice Windows Embedded Compact 2013 Trial http www microsoft com windowsembedded en us downloads aspx 14 PHYTEC Messtechnik GmbH 2013 L 802e 0 Getting Started 2 Getting Started During this chapter you will learn how to build your own C application for the target with Visual Studio We establish that you have first step through our Quickstart Guide 2 1 Installing the Phytec tool DVD for phyBOARD WEGA In this section you will find a description of the phyBOARD WEGA tool DVD setup This steup will install the following tools and programs e SDK for phyBOARD WEGA WEC2013 e A binary BSP for the phyBOARD WEGA and a project to build
9. Connector at X67 3 3 1 1 2 USB Micro AB If your board provides an USB Micro AB female connector at the upper side of the board a standard USB Micro power supply with 5 V DC can be used to supply the phyBOARD Wega Caution Do not confuse the USB Micro connector on the upper side of the board with the one on the back side of the board which provides USB OTG connectivity The USB Micro connector on the upper side is exclusively used for power supply and has no other USB functionality 3 3 1 1 3 WAGO 6 pole Male Header If a WAGO 6 pole male header is mounted on your board see Figure 1 and Figure 3 your board is prepared to connect to a phyBOARD Wega Power Module PEB POW 01 or a custom power supply circuitry The mating connector from WAGO has the EAN 4045454120610 Use of the 6 pole connector has the following advantages e Higher and wider operate range of the input voltage e External scaling potential to optimize the electrical output current e 5 V 3 3 V and backlight power supply PHYTEC Messtechnik GmbH 2013 L 802e_ 0 31 phyBOARD Wega AM335x_ PB 00802 xxx Pin assignment of the 6 pole WAGO connector Pin Signal Description l VCC5V_IN 5 V power supply 2 GND Ground 3 VCC3V3_PMOD 3 3 V power supply 4 VCC_BL Backlight power supply 5 PMOD PWRGOOD ue SE signal connected to reset 6 PMOD_PWREAIL Power fail signal Table 5 Pin Assignment of the 6 pole WAGO Connector at X
10. Fax 49 6131 9221 33 PHYTEC MesstechnikGmbH 2013 L 792e_0 Published by Ki Xi EG PHYTEC Messtechnik GmbH 2013 Ordering No L 792e_0 Printed in Germany
11. GND X_CANL X_CANH GND Shield Figure 10 CAN Connector Signal Mapping 3 3 5 2 Software Implementation Currently not supported PHYTEC Messtechnik GmbH 2013 L 802e_0 39 phyBOARD Wega AM335x_ PB 00802 xxx 3 3 6 Audio Video connectors X70 and X71 The Audio Video A V connectors X70 and 71 provide an easy way to add typical A V functions and features to the phyBOARD Wega Standard interfaces such as parallel display 2S and I C as well as different supply voltages are available at the two A V female dual entry connectors Special feature of these connectors are their connectivity from the bottom or the top For further information of the A V connectors see chapter 4 5 1 Information on the expansion boards available for the A V Connecctors can be found in the Application Guide for phyBOARD Wega Expansion Boards L 793e_0 3 3 7 Expansion connector X69 The expansion connector X69 provides an easy way to add other functions and features to the phyBOARD Wega Standard interfaces such as JATG UART MMC2 SPI and FC as well as different supply voltages and some GPIOs and Analog Inputs are available at the expansion female connector The pinout of the expansion connector is shown in Secure Digital Memory Card MultiMedia Card X11 For further information of the expansion connector see see chapter 4 5 5 Information on the expansion boards available for the expansion connecctor can be found in the Application Gu
12. Value S DN el PHYTEC_AM335x_BSP ARI General a gd Drivers Eg a e Dispi Locale D E isplay e e m E edma driver Build Options Environment Variable d i Environment S ba SEN Custom Build Actions Variable name m es R gt n Subproject Image Settings i d 5 GE NAND proj g g ch ER Storage Devices Variable value a Touch 1l G E UART UARTO driver d ffl USB UART2 af Kernel Featui Am33x 8 gt Edit Remove V RW SOM ass E a RER CT TLSDP44XX ARMV7 File Viewers OK Abbrechen Ubernehmen o TT PowerVR L Output Find Results1 Find Symbol Results Error List Apply with OK You should see the created environment variable in the Environment window Press OK to save the configuration in your project Go to Build gt Make Run Time Image to generate a new image with the possibility to flash it into NANDFlash Download the image like in the previous steps described After downloading the OS image will be automatically program into flash and executed directly from flash All files are also downloadable from our ftp server or you can find them on our WEC2013 phyBOARD Wega AM335x Kit DVD under PHYTEC BSPY If you want other versions check our ftp server too ftp ftp phytec de pub Products In this section you learned how to download OS image with the help of Visual Studio into the RAM of the target Also you have learned how to build a OS image for the NAND Flash
13. X_UART2_RX_GPIO3_9 UART 2 receive data GPIO3_ 19 32 X_MMC2_DAT3 MMC data 3 33 X_UART2_TX_GPIO3_10 UART 2 transmit data GPIO3_10 34 GND Ground 35 X_UART3_RX_GPIO2_18 UART 3 receive data GPIO2_18 36 X_UART3_TX_GPIO2_19 UART 3 transmit data GPIO2_19 37 X_INTR1_GPIOO0_20 Interrupt 1 GPIOO_20 38 X_GPIOO_7 GPIOO_7 39 X_AM335_EXT_WAKEUP External wakeup 40 X_INT_RTCn Interrupt from the RTC 41 GND Ground 42 X_GPIO3_7 GPIO3_7 Caution Also connected to power fail signal through R415 43 nRESET_IN Push button reset AA X_GPIO3_8 GPIO 3_8 Caution Also connected to power down circuit through R412 45 X_AM335_NMIn AM335x non maskable interrupt 46 GND Ground 47 X_AIN4 Analog input 4 PHYTEC Messtechnik GmbH 2013 L 802e_0 61 phyBOARD Wega AM335x_ PB 00802 xxx 48 X_AINS Analog input 5 49 X_AIN6 Analog input 6 50 X_AIN7 Analog input 7 51 GND Ground 52 X_USB1_DRVVBUS USB 1 bus control output 53 X_USB1_ID USB 1 port identification 54 USB1_VBUS USB 1 bus voltage 55 X_USB1_CE USB 1 charger enable 56 GND Ground 57 X_PMIC_POWER_EN Enable Power Management IC for AM335x 58 X_PB_POWER Power On for Power Management IC for AM335x 59 GND Ground 60 VCC5V_IN 5 V input supply voltage Table 12 PHYTEC Expansion Connector X69 4 5 5 1 Software Implementation 4 5 6 SPI Connectivity Not implemented yet 4 5 7 User programmable GPIOs There
14. an new image e Example demo for Visual Studio 2012 e Digital versions hardware manuals for the phyBOARD WEGA The phyBOARD WEGA SDK for WEC2013 is needed for writing target oriented applications It will integrate in the Visual Studio IDE offering a new target device for code generation Insert the DVD Tool DVD phyBOARD WEGA AM335x in your CDROM DVD drive and start setup exe Welcome to the PHYTEC WEC2013 phyBOARD WEGA Kit Setup program This program wll metal PHYTEC WEC2013 phyBOARD WEGA Kit on your computer It is strongly recommended that you exit all Windows programs before running this Setup program Click Cancel to quit Setup and then close any programs you have running Click Next to continue with the Setup program WARNING This program is protected by copyright law and international treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extent possible under law Cancel PHYTEC Messtechnik GmbH 2013 L 802e_0 15 phyBOARD Wega AM335x_ PB 00802 xxx Click Next to choose your installation path for the Tool DVD It is recommended to set the installation path as default C Phytec because the default path is used in the following chapter in the Application Guide Setup will install the PHY TEC Products in the following folder To install to a different fo
15. are different User programmable GPIOs available The signals are available on the expansion connector or the corresponding expansion boards like PEB EVAL 01 For more information look at Application Guide for the Expansion Boards or section Expansion connector in the System Guide 4 5 7 1 Software Implementation Please ask our support for example code how to communicate with the GPIO driver interface 62 PHYTEC Messtechnik GmbH 2013 L 802e 0 Revision History 5 Revision History Changes in this manual 25 11 2013 Manual First edition L 792e_0 Describes the phyBOARD Wega AM335x SOM PCB 1397 0 with phyBOARD Wega Carrier Board PCB PHYTEC Messtechnik GmbH 2013 L 802e 0 63 phyBOARD Wega AM335x_ PB 00802 xxx Index B Block KE 3 E EMCO chien ne viii F F AUTES ease eat ete 1 L LINK LED amiens made 44 P phyBOARD Wega KEEN 38 Peripherals een is 38 Pin Head sale dirait 38 A EE 45 DEG nd da no 44 DOU EE 44 Ds C a de eee 45 XOGO SeT RE eae 43 AO TE EEA A aa 40 a on E 40 S SPEED LED Edit 44 U USB 2 0 EE 45 64 PHYTEC Messtechnik GmbH 2013 L 802e_0 Suggestions for Improvement Document phyBOARD Wega AM335x Document number L 802e_0 July 2014 How would you improve this manual Did you find any mistakes in this manual page Submitted by Customer number Name Company Address Return to PHYTEC Messtechnik GmbH Postfach 100403 D 55135 Mainz Germany
16. are indicated in the corresponding controller User s Manual Data Sheets As damage from improper connections varies according to use and application it is the user s responsibility to take appropriate safety measures to ensure that the module connections are protected from overloading through connected peripherals 28 PHYTEC Messtechnik GmbH 2013 L 802e_0 3 2 2 LEDs Accessing the phyBOARD Wega Interfaces The phyBOARD Wega is populated with three LEDs to indicate the status of the USB VBUS voltages as well as of the power supply voltage Figure 1 shows the location of the LEDs Their function is listed in the table below LED Color Description Bee D7 green Indicates presence of VBUS1 at the USB Host interface 3 3 4 D8 green Indicates presence of VBUSO at the USB OTG interface 3 3 4 D58 red 3 3 V voltage generation of the phyBOARD Wega cf Oe Table 3 phyBOARD Wega LEDs Descriptions Note Detailed descriptions of the assembled connectors jumpers and switches can be found in the following chapters PHYTEC Messtechnik GmbH 2013 L 802e_ 0 29 phyBOARD Wega AM335x_ PB 00802 xxx 3 3 Functional Components on the phyBOARD Wega Board This section describes the functional components of the phyBOARD Wega Each subsection details a particular connector interface and associated jumpers for configuring that interface 3 3 1 Power Supply Caution Do not change modules or jumpe
17. at the back side e CAN interface at 5x2 pin header 2 54 mm PHYTEC Messtechnik GmbH 2013 L 802e 0 11 phyBOARD Wega AM335x_ PB 00802 xxx e Audiocodec with Stereo Line In and Line Out 3x2 pin header 2 54 mm and mono speaker 2 pole Molex e RS 232 transceiver supporting UART1 incl handshake signals with data rates of up to 1 Mbps 5x2 pin header 2 54 mm Reset Button Audio Video A V connectors Expansion connector Backup battery supply for RTC with Goldcap lasts approx 17 days 1 1 2 View of the phyBOARD Wega AM335x Expansion Connector A V Connector 2 3x serial TTL level PC SPI USB Host 4x GPIO PS Touch PC Control 4x analog in Control MMC Power LED A V Connector 1 Display Interface TTL level optional Power Backlight Supply Backlight Control Line in Line out CAN ECKE Speaker Connector Back Side ETH1 ETHO USB serial Ethernet OTG TTL level USB Host micro SD Figure 1 View of the phyBOARD Wega AM335x Reset 12 PHYTEC Messtechnik GmbH 2013 L 802e 0 Getting Started 1 1 3 Block Diagram phyBOARD Wega AM335x 5V 2 pole Combicon CAN Transceiver RS232 Transceiver CAN 5x2 Pin Header RS232 5x2 Pin Header USB Micro AB Connector Parallel Display PS 0 PC 0 Touch Reset Int t Audiol rave t Touch errupt S e Video Different Supply Voltages inc Backlight PWM Connec
18. functional relevant changes of our products Change management in rare event of an obsolete and non replaceable part e Ensure long term availability by stocking parts through last time buy management according to product forecasts e Offer long term frame contract to customers Therefore we refrain from providing detailed part specific information within this manual which can be subject to continuous changes due to part maintenance for our products In order to receive reliable up to date and detailed information concerning parts used for our product please contact our support team through the contact information given within this manual PHYTEC Messtechnik GmbH 2013 L 802e_ 0 1X phyBOARD Wega AM335x_ PB 00802 xxx X PHYTEC Messtechnik GmbH 2013 L 802e 0 Getting Started 1 Introduction 1 1 Hardware Overview The phyBOARD Wega for phyCORE AM335x is a low cost feature rich software development platform supporting the Texas Instruments AM335x microcontroller Moreover due to the numerous standard interfaces the phyBOARD Wega AM335x can serve as bedrock for your application At the core of the phyBOARD Wega is the PCL 05 1 phyCORE AM335x System On Module SOM in a direct solder form factor containing the processor DRAM NAND Flash power regulation supervision transceivers and other core functions required to support the AM335x processor Surrounding the SOM is the PBA CD 002 phyBOARD Wega carrier board adding pow
19. interfaces such as UART SPI and UC as well as different supply voltages and some GPIOs are available at the expansion female connector The pinout of the expansion connector is shown in Secure Digital Memory Card MultiMedia Card X11 Pin Signal Name Description 1 VCC3V3 3 3 V power supply 2 VCCSV 5 V power supply 3 VDIG1_1P8V 1 8 V power supply 4 GND Ground 5 X_SPIO_CSO SPI 0 chip select 0 6 X_SPIO_MOSI SPI 0 master output slave input 7 X_SPIO_MISO SPI 0 master input slave output 8 X_SPIO_CLK SPI 0 clock output 9 GND Ground 10 X_UARTO_RXD UART 0 receive data standard debug interface 11 X_I2CO_SDA PC 0 Data 12 X_UARTO TXD UART 0 transmit data standard debug interface 60 PHYTEC Messtechnik GmbH 2013 L 802e_0 Advanced Information 13 X_I2CO_SCL LC 0 Clock 14 GND Ground 15 X_JTAG_TMS JTAG Chain Test Mode Select signal 16 X_nJTAG_TRST JTAG Chain Test Reset 17 X_JTAG_TDI JTAG Chain Test Data Input 18 X_JTAG_TDO JTAG Chain Test Data Output 19 GND Ground 20 X_JTAG_TCK JTAG Chain Test Clock signal 21 X_USB1_DP_EXP USB1 data plus 22 X_USB1_DM_EXP USB1 data minus 23 nRESET_OUT Reset 24 GND Ground 25 X_MMC2_CMD MMC command 26 X_MMC2_DATO MMC data 0 27 X_MMC2_CLK MMC clock 28 X_MMC2_DATI1 MMC data 1 29 GND Ground 30 X_MMC2_DAT2 MMC data 2 31
20. key to continue r n B 17 getchar H 18 100 Watch 1 vax Name Value Type e i 1 int Autos Locals Watch1 Find Results 1 Find Symbol Results Error List Bookmarks Call Hierarchy Call Stack Click on the Value field and change the value to 5 Step further in the debug process and have a look at the command line window which output was generated You have successfully created your first own project with Visual Studio You have configured the project to create an application for your target platform You are now ready prepared to start your project The following section will give you detailed information on the different features and interfaces of the phyBOARD Wega and how to use them within your application If your project is more complex or if you crave more information about working with the BSP continue with chapter 4 Chapter 4ff inlcude step by step instructions on how to modify and download the BSP using Platform Builder 26 PHYTEC Messtechnik GmbH 2013 L 802e 0 Accessing the phyBOARD Wega Interfaces 3 Accessing the phyBOARD Wega Interfaces PHYTEC phyBOARD Wega is fully equipped with all mechanical and electrical components necessary for the speedy and secure start up and subsequent communication to and programming of applicable PHYTEC System on Module SOM modules phyBOARD Wega Boards are designed for evaluation testing and prototyping of PHYTEC System on Module i
21. step you could choose where the Tool DVD takes place in the Program folder in Windows Now the Setup starts to copy the files to your path selection After finishing the sdk setup will be started Ib phyCORE AM335x WEC2013 SDK Setu Welcome to the phyCORE AM335x WEC2013 SDK Setup Wizard The Setup Wizard will install phyCORE AM335x WEC2013 SDK on your computer Click Next to continue or Cancel to exit the Setup Wizard Let all settings default during the installation The setup is now finished and you will be PHYTEC Messtechnik GmbH 2013 L 802e_0 17 phyBOARD Wega AM335x_ PB 00802 xxx able to go on with the next chapter to program your first application for Windows Embedded Compact 2013 2 2 Working with Visual Studio 2012 Now we start developing our own applications with the help of VS2012 First we will open and compile a demo application which put out some serial messages through the COM interface After the successful start of the demo application we step deeper to develop your own application and debugging over Ethernet 2 2 1 1 Work with the demo project Open the demo application project in the following path C PHYTEC phyBOARD WEGA BSP PD 14 1 1 Demo HelloWorld HelloWorld sIn On the left site expand the Solution Explorer and Double Click on HelloWorld cpp pd HelloWorld Microsoft Visual Studio Administrator Quick Launch Ctrl Q p D x FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TOOLS TEST ANAL
22. waiting for the device to attach Please power up the baseboard and press space to enter in the bootloader main menu Press 2 to enter the boot selection menu and press 1 to configure the bootloader to download the OS image over Ethernet Please be sure that the bootloader ip address matches the ip range of your workstation o Press 4 for Network settings o Press 1 to get an overview of the settings If it is not matching your IP range change the IP by pressing 6 Back to main menu press 0 to start receive requests from bootloader Switch back to Visual Studio Following content should appear in the pop up window PHYTEC Messtechnik GmbH 2013 L 802e_0 47 phyBOARD Wega AM335x_ PB 00802 xxx pd phyBoardWEGA Microsoft Visual Studio Administrator Quick Launch Ctrl Q Pp Aa x FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TARGET TOOLS TEST ANALYZE WINDOW HELP a B uw P Start PHYTEC_AM335x_BSP_ARMV7 Release kb fal Device auto Ether z Fa amp Co Ethernet Download Settings Target device boot name AM335X 35169 Active target devices AM335X 35169 saryadoig xogjoo Jasojdxq age Ip Address 192 168 3 15 Boot Loader Transport Version 0 0 mal a2unosay sasojdxq uonnjos MalA sway Bojeye gt Output Find Results1 Find Symbol Results Error List Press Apply and the download should start directly After a while the OS image s
23. 2 7 NC 8 NC 9 GND 10 INC Table 6 Pin Assignment of RS 232 Connector X66 An adapter cable is included in the phyBOARD Wega Am335x Kit to facilitate the use of the UART1 interface The following figure shows the signal mapping of the adapter 1 6 3 Pin 2 RxD RS232 7 Pin 7 RTS RS232 3 Pin 3 TxD RS232 i 8 Pin 8 CTS RS232 9 5 Pin 5 GND Figure 5 RS 232 Connector Signal Mapping Note The UARTO interface which is required for debugging is routed to expansion connector X69 The Evaluation Board PEB EVAL 01 delivered with the kit allows easy use of this interface Please find additional information on the Evaluation Board in Application Guide for phyBOARD Wega AM335x Expansion Boards L 793e_0 PHYTEC Messtechnik GmbH 2013 L 802e 0 33 phyBOARD Wega AM335x_ PB 00802 xxx 3 3 2 1 Software Implementation See the previous chapters which describes the usage of the serial port in the DEMO Application 3 3 3 Ethernet Connectivity X16 and X17 The Ethernet interfaces of the phyBOARD Wega are accessible at two RJ45 connectors X16 and X17 on the board Pa D Ek ETH1 ETHO Figure 6 Ethernet Interfaces at Connectors X16 and X17 Ethernet O interface is available at X16 while Ethernet 1 interface is brought out at X17 Both Ethernet interfaces are configured as 10 100Base T networks The LEDs for LINK green and SPEED yellow indication are integrated in the connector Both LAN8710AI Ether
24. 3 Block Diagram rosei sane in nono no 13 1 2 Software OyeryVieW sorarsa ER E ENa EErEE ERARE EEN 14 12 1 Visual Studio 2012 EE 14 1 22 Windows Embedded Compact 2013 14 E ET e E 15 2 1 Installing the Phytec tool DVD for phyBOARD WEGA 15 2 2 Working with Visual Studio teen sas nn maids ee maracas wes 18 2 2 1 1 Work with the demo project ss 18 22 42 Creating NEw Proje c insssscenniasscsacsoetedvecesnciaspiarsavarainasatiooteinenaneions 22 Accessing the phyBOARD Wega Interfaces sssessenensssssssee 27 3 1 Concept of the pay BOARD Ne een een 27 3 2 Overview of the phyBOARD Wega Peripherals 28 3 2 1 Connectors amd Pin Header nos taste 28 32 2 LEDS nine ance an EEE Antes 29 3 3 Functional Components on the phyBOARD Weega Board 30 DS Power SUP Ply see SSR nan a E E R Ea 30 3 3 1 1 Power Connectors X67 and X72 gece eege degen 30 Sik Power LED E dead dan dede 32 3 3 13 VAT and RIG iconii nen i E E 32 3 3 2 RS 232 Connectivity EE 33 3 3 2 1 Software Impl mentation sss nissan 34 3 3 3 Ethernet Connectivity X16 and X17 sesssessseseesssssesesseressereseseessresseeeseees 34 3 3 3 1 Software Implementation sicscasyinsssvesshsecssesscednseesteresnsievansncseereciweectoes 35 3 3 4 USB Connectivity X15 and EE 35 3 3 4 1 Software Implementation ressentent 35 3 3 5 Audio Interface X55 and X73 asian 37 3 3 5 1 Software Implementation ois cssesszevacceaeaciveavnevea eege e AgeE E
25. 67 A detailed description of the Power Module for phyCORE Wega can be found in the Application Guide for phyBOARD Wega AM335x Expansion Boards L 793e_0 3 3 1 2 Power LED D58 The red LED D58 right next to the power connector see Figure 1 indicates the presence of the 3 3 V supply voltage generated from the 5 V input voltage 3 3 13 VBAT and RTC On the phyBOARD Wega the internal RTC of the AM335x is used for real time or time driven applications To backup the RTC on the module a goldcap C339 is placed on the phyBOARD Wega This voltage source supplies the backup voltage domain VBAT of the AM335x which supplies the RTC and some critical registers when the primary system power VCC5V_IN is removed The backup supply lasts approximately 17 1 2 days 32 PHYTEC Messtechnik GmbH 2013 L 802e 0 Accessing the phyBOARD Wega Interfaces 3 3 2 RS 232 Connectivity X66 Figure 4 RS 232 Interface Connector X66 Pin header connector X66 located next to the USB host connector see Figure 1 provides the UART1 signals of the AM335x at RS 232 level The serial interface is intended to be used as data terminal equipment DTE and allows for a 5 wire connection including the signals RTS and CTS for hardware flow control Table 6 below shows the signal mapping of the RS 232 level signals at connector X66 Pin Signal Pin Signal 1 NC 2 NC 3 UART1_RXD_RS232 4 UART1_RTS_RS232 5 UART1_TXD_RS232 6 UART1_CTS_RS23
26. D negative differential output For additional audio applications the McASPO interface of the AM335x including the signals X_MCASPO_AHCLKX X_I2S_CLK X_I2S_FRM X_I2S_ADC and X_I2S_DAC are routed to the A V connector X71 please refer to section 4 5 1 for additional information on the A V connector Please refer to the audio codec s reference manual for additional information regarding the special interface specification PHYTEC Messtechnik GmbH 2013 L 802e_ 0 37 phyBOARD Wega AM335x_ PB 00802 xxx 3 3 5 1 Software Implementation Currently not supported CAN Connectivity The CANT interface of the phyBOARD Wega AM335x is accessible at connector X65 2x5 2 54 mm pin header Jumper JP3 can be installed to add a 120 Ohm termination resistor across the CAN data lines if needed JP Figure 9 Components supporting the CAN Interface Table 7 below shows the signal mapping of the CAN signals at connector X65 Pin Signal Pin Signal 1 NC 2 GND 3 X_CANL 4 X_CANH 5 GND 6 NC 7 NC 8 NC 9 Shield 10 NC Table 7 Pin Assignment of CAN Connector X65 38 PHYTEC Messtechnik GmbH 2013 L 802e_0 Accessing the phyBOARD Wega Interfaces An adapter cable is included in the phyBOARD Wega Am335x Kit to facilitate the use of the CAN interface The following figure shows the signal mapping of the adapter l 6 Pin 6 2 Pin 2 3 7 Pin 7 Pin 3 8 4 9 5 Pin 5
27. F Surround With Ctrl K Ctrl S o 17 getchar Ei 18 Go To Definition F12 19 5 Go To Declaration Ctri F12 28 return ali orn Hi Find All References Shift F12 22 View Call Hierarchy Ctrl K Ctrl T Go To Header File Breakpoint gt G Add Watch G Add Parallel Watch 6 QuickWatch Shift F9 100 g Pin To Source Error List Bookmarks CallH Find Symbol Results gt Show Next Statement Alt Num SR cote ns PHYTEC Messtechnik GmbH 2013 L 802e 0 25 phyBOARD Wega AM335x PB 00802 xxx Press F10 to step further during the runtime of the application If the for loop 66 99 reaches the second time the integer variable i should be increase and red highlighted pd myHelloWorld Debugging Microsoft Visual Studio Administrator Quick Launch Ctrl Q p D x FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TOOLS TEST ANALYZE WINDOW HELP o gt SM 9 gt Continue 86 0666 Bt Dei z Process 71041474 myHelloWorld exe Thread 100008306 Main Thread d 5 S stdioh m X S ZS Global Scope wmain int argc wchar_t argv K a 1 E myHelloWorld cpp Defines the entry point for the console application a 2 a E 3 3 4 E include stdafx h g 5f include lt windows h gt E 6 Ei 7 3 m E E 9 Gint wmain int argc wchar_t argv a 10 Pe 11 for int i i lt 5 i a 12 oe 13 printf WwWelcome to Windows Embedded Project System n 2 14 15 3 16 printf Press any
28. HYTEC_AM335x_BSP_ARMV7 Checked z z DI Device auto Ether Fa mo PHYTEC_AM335x_BSP_ARMV7 Checked PHYTEC_AM335x_BSP_ARMV7 Debug Configuration Manager sarpadoig xoqgjoo sas0jdxq savas Main a2unosay sasojdxz uonnjos maA sway Bojeye gt Output Find Results1 Find Symbol Results Error List Ready 44 PHYTEC Messtechnik GmbH 2013 L 802e 0 Advanced Information In the Visual Studio 2012 menu bar select Build gt Build phyBoardWEGA to start compiling and generating your first OS image pd phyBoardWEGA Microsoft Visual Studio Administrator Quick Launch Ctrl Q Pp A x FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TARGET TOOLS TEST ANALYZE WINDOW HELP Build Solution Ctrl Shift B PHYTEC_AM335x_BSP_ARMV7 Release X fa Device auto Ether Rebuild Solution Clean Solution Run Code Analysis on Solution Alt F11 Ee Build phyBoardWEGA Rebuild phyBoardWEGA Clean phyBoardWEGA Advanced Build Commands gt Build All Subprojects Rebuild All Subprojects saiyadoig xogjoo sasojdxq 133S Copy Files to Release Directory Make Run Time Image Clean and Make Run Time Image Open Release Directory in Build Window ma nos y 10jdxg uonnige wan sway Bojeye gt Targeted Build Settings d Batch Build Configuration Manager Output Find Results1 Find Symbol Results Error List It depends on which development PC you have how long it take to build a full OS image Round about 10 15 minut
29. K 38 CAN Connectivity ne aient Ne 38 3 3 5 2 Software Implementation ss cvsiwscxevsecereeduveestemervasseuatentsarvienianreetenes 39 3 3 6 Audio Video connectors X70 and XII 40 3 3 7 Expansion COMMECION CRM ae tenants 40 3 3 8 Secure Digital Memory Card MultiMedia Card OTI 40 3 3 8 1 Software Implementation EE 41 339 Ce 42 3 310 System Reset Button Shannon 42 Advanced Information saintet 43 4T POGUE E e EEN 43 4 2 Software CIV LVIEN asia diameter vannes 43 4 3 Getting Started With the BP ee ten ot 43 PHYTEC Messtechnik GmbH 2013 L 802e_0 i phyBOARD Wega AM335x_ PB 00802 xxx 4 3 1 Working with Platform BUS notons 43 43 2 Writing the OS Image into the Target s Flash 48 44 Updating TESOL ANG scissionisti eria e a el 50 4 4 1 Creating a bootable SD card wicisccisdncssenscesserntentagrosecteanarmssuemienesoeseares 50 4 4 2 Flashing the Bootloader xicxciccceucesnendentnbarbewsntewviwarbevnecusuaihdwsiverveunmoerenidetdvecivie 50 4 4 3 Writing NK bin to the Nand Flash 54 45 System Level Hardware Information vojsessiisihcuesscecsesoienusevevendsbaeunsdaunsberventvenpxavereenkeeeye 56 4 5 1 Audio Video CONNECIORS Sn nina 56 45 2 Software Implementation nent 59 Eeer 59 ASA VC Connectivity nn nue Mania tits 59 45 0 Emanuel EEN ENEE 60 4 5 5 1 Software Implementation 62 45 6 SPLCORNECUN EEN 62 4 5 7 User programmable PIS cco ann 62 4 5 7 1 Software Implementation EE 62 D Revision MISE Nissan esse ee
30. LL 24 25 if hComPort INVALID_HANDLE_ VALUE 26 27 printf MyHelloWorld failed to open ComPort r n 28 RETAILMSG TRUE TEXT MyHelloWorld failed to open ComPort r n 3 29 return 30 31 32 33 config COM Port P 24 ZarnMemnmr Qdrh cizenf NrR 100 Output Find Results1 Find Symbol Results Error List PHYTEC Messtechnik GmbH 2013 L 802e_0 Getting Started Click OK and the application starts compiling and will be automatically deploy and execute on the device You should now see the following output on the serial terminal program if you have connected a serial cable to the PEB EVAL 01 board If you like to use the second serial port on the phyBOARD WEGA you have to change the parameter 1 of the CreateFile function to COM2 Gaclsl l IL EP COM3 PuTTY gg Pro and Visual Studio 2012 You are now able to develop and debug your Le You have successfully passed the first steps with the demo application own application by using Visual Studio 2012 PHYTEC Messtechnik GmbH 2013 L 802e_ 0 21 phyBOARD Wega AM335x PB 00802 xxx 2 2 1 2 Creating a New Project In this section you will learn how to create a new project with Visual Studio 2012 and how to debug your application over Ethernet Open Visual Studio 2012 DQ Start Page Microsoft Visual Studio Administrator Quick Launch Ctrl Q H Ia FILE EDIT VEW PROJECT DEBUG TEAM TOOLS TES
31. M335x usually includes drivers and or software for controlling all components such as interfaces memory etc Therefore programming close to hardware at register level is not necessary in most cases For this reason this manual contains no detailed description of the controller s registers Please refer to the AM335x Technical Reference Manual if such information is needed to connect customer designed applications vi PHYTEC Messtechnik GmbH 2013 L 802e 0 Preface Preface As a member of PHYTEC s new phyBOARD product family the phyBOARD Wega AM335x is one of a series of PHYTEC System on Modules SBCs that offers various functions and configurations PHYTEC supports a variety of 8 16 and 32 bit controllers in two ways 1 as the basis for Rapid Development Kits which serve as a reference and evaluation platform 2 as insert ready fully functional phyBOARD OEM modules which can be embedded directly into the user s peripheral hardware design Implementation of an OEM able SBC subassembly as the core of your embedded design allows you to focus on hardware peripherals and firmware without expending resources to re invent microcontroller circuitry Furthermore much of the value of the phyBOARD SBC lies in its layout and test PHYTEC s new phyBOARD product family consists of a series of extremely compact embedded control engines featuring various processing performance classes Production ready Board Support Pac
32. PU embeds a USB 2 0 EHCI controller that is also able to handle low and full speed devices USB 1 1 The BSP includes support for mass storage devices and keyboards Other USB related device drivers must be enabled in the kernel configuration on demand PHYTEC Messtechnik GmbH 2013 L 802e 0 35 phyBOARD Wega AM335x_ PB 00802 xxx Due to udev connecting various mass storage devices get unique IDs and can be found in dev disk by id These IDs can be used in etc fstab to mount different USB memory devices in a different way 3 3 4 1 2 USB OTG Currently not supported 36 PHYTEC Messtechnik GmbH 2013 L 802e_0 Accessing the phyBOARD Wega Interfaces 3 3 5 Audio Interface X55 and X73 The audio interface provides a method of exploring AM335x s audio capabilities The phyBOARD Wega is populated with an audio codec at U35 The audio codec is connected to the AM335x s McASPO interface to support stereo line input and stereo line output at connector X73 In addition to that the phyBOARD Wega has one direct mono speaker output 2 x 1 W at the Molex connector X55 X55 X73 Line In Speaker Line Out Figure 8 Audio Interfaces at Connectors X55 and X73 Pin assignment at X73 Pin Signal Pin Signal l LINE_IN_L 2 LINE_IN_R 3 AGND 4 AGND 5 LINE_OUT_L 6 LINE_OUT_R Pin assignment at X55 Pin Signal Description SPOP Class D positive differential output 2 SPOM Class
33. Standard C Library E XML H E Communication Services and Networking Core OS Services Ke Device Drivers H E Device Management fa File Systems and Data Store e Fonts E Graphics and Multimedia Technologies 2 8 2 8 8 Output Find Results1 Find Symbol Results Error List each Quick Launch Ctrl Q WINDOW HELP PHYTEC_AM335x_BSP_ARMV7 Release DR samuadoig xoqjooj 12101dx3 On the bottom of the Catalog Items View you will find under Third Party gt BSP gt PHY TEC_AM335x_BSP ARMV7 gt Drivers the set of drivers which are available in the current BSP pd phyBoardWEGA Microsoft Visual Studio Administrator FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TARGET TOOLS a 0 fal Device auto Ether Fa D if al a Catalog Items View Filter lt Search gt ANALYZE Jas0jdxq uonnjos mai sway Hojeye gt MAIA 221n052y E phyBoardWEGA E Core OS fad Third Party fal BSP CT iMX6Phytec ARMV7 Jl PHYTEC_AM335x_BSP ARMV7 CR Drivers fad Display Je edma driver E Ethernet a GPIO E NAND fm Storage Devices fad Touch iid UART i M UARTO driver M UART2 driver fag Kernel Featul Am33x UART2 PhyCORE driver RW SOM CT TLSDP44XX ARMV7 H E File Viewers TT PowerVR Output Find Results1 Find Symbol Results Error List Ready 46 Quick Launch Ctri Q Poe o xX WINDOW HELP PHYTEC_AM335x_BSP_ARMV7 Release LE saradoig xoqjoo
34. T ANALYZE WINDOW HELP B a ew gt Attach 2 a GET STARTED Professional 2012 Welcome xogqjoo 1210 dx3 Daag 20g What s New What s new in Visual Studio What s new in NET Framework o Getting Started Getting started with Visual Studio Getting started with Blend Learn more about Visual Studio maA a2uNosay 12101dx3 ounie MalA sw y Hojeze gt Recent Discover extensions add ons and samples GC Manage your projects in the cloud Learn how to set up your project and connect it to Visual Studio See what s new or sign up for an account TU Learning Resources 6 Visual Studio troubleshooting and support Visual Studio videos on Channel 9 What is an MSDN subscription Output Find Results1 Find Symbol Results Error List Select New Project on the start screen A new dialog opens 22 PHYTEC Messtechnik GmbH 2013 L 802e 0 Getting Started Solution name myHelloWorld P New Project eeng gt Recent MET Framework 4 5 Sort by Default Fee Search Installed Templates Ctrl E D 4 Installed i ATL Application Visual C Type Visual C EE 4 Templates Console Application 4 Visual C Wig ATLOLL Visual C ATL CLR Win32 Console Application Visual C pl General MFC Win32 DLL Visual C ii Test Win32 e MFC ActiveX Control Visual C 4 Windows Embedded Compac PR phyCORE AM335x WEC20 o MFC Application Visual C LightSwitch aa
35. YZE WINDOW HELP a R SM d z gt Windows Embedded Compact Debugger Native Only X e ta G i m z Global Scope wmain int argc wchar_t argv 4 E include stdafx h 5 include windows hi kk samadoig xogjoo and 1343S 7 Gint wmain int argc wchar_t argv 9 printf Welcome to Windows Embedded Project System n 11 HANDLE hComPort 12 DCB dcb DWORD err Mal a2uNosay 1210 dx3 uognjos mal sway Bojeje gt 16 open COM Port for communication 17 hComPort CreateFile L COM e 18 GENERIC_WRITE GENERIC_READ 19 ER 20 NULL 21 OPEN_EXISTING 22 e 23 NULL 24 25 if hComPort INVALID HANDLE VALUE 26 27 printf MyHellokorld failed to open ComPort r n 28 RETAILMSG TRUE TEXT MyHelloWorld failed to open ComPort r n 29 return 30 config COM Port ZernMaemnru drh cirzenf DCR 100 Output Find Results1 Find Symbol Results Error List 18 PHYTEC Messtechnik GmbH 2013 L 802e 0 Getting Started Open a Telnet program of your choice and connect to the IP Address 192 168 3 15 Following screen should appear S ET 192 168 3 15 Users grundmann Documents ZOC6 Dateien Options im Vo Datei Bearbeiten Anzeige Log Transfer Skript Optionen Hilfe fa Gi a x ES BA Pa l E Cf 9 i E 1921683115 1921168315 Send exit Welcome to the Windows CE Telnet Service on Compact Pocket CMD v 8 00 gt
36. _D20 LCD D20 24 X_LCD_D17 LCD D17 25 X_LCD_D11 LCD D11 26 GND Ground 27 X_LCD_D12 LCD D12 28 X_LCD_D13 LCD D13 29 X_LCD_D14 LCD D14 30 X_LCD_D15 LCD D15 31 GND Ground 32 X_LCD_PCLK LCD Pixel Clock 33 X_LCD_BIAS_EN LCD BIAS 34 X_LCD_HSYNC LCD Horizontal Synchronisation 35 X_LCD_VSYNC LCD Vertical Synchronisation 36 GND Ground 37 GND Ground 38 X_PWM1_OUT Pulse Wide Modulation 39 VCC_BL Backlight power supply 40 VCCSV 5 V power supply Table 8 PHYTEC A V connector X70 Pin Signal Name Description 1 X_I2S_CLK PS Clock 2 X_I2S FRM PS Frame 3 X_I2S_ADC PS Analog Digital converter microfone 4 X_I2S_DAC PS Digital Analog converter speaker 5 X_AV_INT_GPIO1_30 A V interrupt GPIO1_30 6 X_MCASPO_AHCLKX McASP0 high frequency clock 7 GND Ground 8 nRESET_OUT Reset 9 TS_X Touch X 10 TS_X Touch X 11 TS_Y Touch Y 12 TS_Y Touch Y 13 VCC3V3 3 3 V power supply PHYTEC Messtechnik GmbH 2013 L 802e_0 57 phyBOARD Wega AM335x_ PB 00802 xxx 14 GND Ground 15 X_I2CO_SCL PC Clock 16 X_I2CO_SDA PC Data Table 9 PHYTEC A V connector X71 58 PHYTEC Messtechnik GmbH 2013 L 802e_0 Advanced Information 4 5 2 Software Implementation 4 5 3 Audio PS Audio support on the module is done via the I2S interface and controlled via I2C On the phyBOARD Wega the audio codec s registers can be accessed via the I2CO interface at address 0x18 7 bit MSB addressing As of the printin
37. and Table 3 For a more detailed description of each peripheral refer to the appropriate chapter listed in the applicable table Figure 1 highlights the location of each peripheral for easy identification 3 2 1 Connectors and Pin Header Table 2 lists all available connectors on the phyBOARD Wega Figure 1 highlights the location of each connector for easy identification Renren Description ee Designator Section X11 Secure Digital Multi Media Card Micro slot 3 3 8 X15 USB Host connector USB 2 0 Standard A 3 3 4 X16 Ethernet 0 connector RJ45 with speed and link LED ee X17 Ethernet 1 connector RJ45 with speed and link LED 3 3 3 X42 USB On The Go connector USB Micro AB 3 3 4 X55 Mono Speaker output 2 pole Molex IA X65 CAN connector 5x2 pin header 0 X66 RS 232 with RTS and CTS UART1 5x2 pin header 3 3 2 Power supply 5 V only via 6 pole WAGO male header or 3 3 1 1 Xol 2 pole PHOENIX base strip X69 Expansion connector 2x30 socket connector K IN X70 A V connector 1 2x20 socket connector 3 3 6 X71 A V connector 2 2x8 socket connector 3 3 6 X72 Optional 5 V power supply via USB Micro AB connector 3 3 1 1 X73 Stereo Line Out and Line In connector 3 3 3 2x3 pin header Table 2 phyBOARD Wega Connectors and Pin Headers Note Ensure that all module connections are not to exceed their expressed maximum voltage or current Maximum signal input values
38. chnik GmbH D 55129 Mainz Rights including those of translation reprint broadcast photomechanical or similar reproduction and storage or processing in computer systems in whole or in part are reserved No reproduction may occur without the express written consent from PHYTEC Messtechnik GmbH EUROPE NORTH AMERICA Address PHYTEC Messtechnik GmbH PHYTEC America LLC Robert Koch Str 39 203 Parfitt Way SW Suite G100 D 55129 Mainz Bainbridge Island WA 98110 GERMANY USA Ordering 49 6131 9221 32 1 800 278 9913 Information sales phytec de sales phytec com Technical 49 6131 9221 31 1 800 278 9913 Support support phytec de support phytec com Fax 49 6131 9221 33 1 206 780 9135 ER http www phytec de s Web Site E A http www phytec com Preliminary Edition Juli 2014 PHYTEC Messtechnik GmbH 2013 L 802e 0 Contents List of FER vaca anivosuunsuanasiendeaseucatayaeuasiendemaacepauvepivanausuass iii ASE KE iii Conventions Abbreviations and Acronyms sseeesssooeeesssoossssooecesoocossssooecessoecesssooeesssseesssssosee iv Egeter Vii Ia geet ENO scascscusteinvasdivecthsucudcachulawodcivensnveisiventautaxtetaiatiuouslaten Asaieeeevivesntlesbiamobaveadtabbucabe 11 SN Hardware RT 11 1 1 1 Features of the phyBOARD Wega AM335xX sosssssssssssssseseeseresesesseresssresseee 11 1 1 2 View of the phyBOARD Wega AM335xX ceeeeseeeeseceeneeenseceseeeeneesnaeeeenees 12 11
39. dir Directory of 12 12 12 00a lt DIR gt Network 00a lt DIR gt Mounted_Volume 57a mxip_swmgmt vol at 57a lt DIR gt My Documents 01 05 06 57a lt DIR gt Temp 01 05 06 57a lt DIR gt Windows Found 6 file s Total size 28672 bytes 1 Dir s 105267200 bytes free VT220 Zmodem E 20C1406_192 168 3 150102 L0G 00 00 10 To execute the demo application over Ethernet you have to start two debug services on the device Type the following commandos in your telnet program o start conmanclient3 exe o start cmaccept3 exe NOTE If you boot up the device you have to start the service conmanclient3 exe once The service cmaccept3 exe needs to be start before you will deploy or debug your application The service cmaccept3 exe is closed automatically after 3 minutes Be sure to connect your application with the device during this time period Otherwise you have to start the cmaccept3 exe again PHYTEC Messtechnik GmbH 2013 L 802e_0 19 phyBOARD Wega AM335x_ PB 00802 xxx 20 a 192 168 3 15 Standard zoc im Vorabtest Datei Bearbeiten Anzeige Log Transfer Skript Optionen Hilfe x amp l 0 IDE is E 192 168 3 15 Info Uber diese Kn pfe Sende exit lt enter gt Host aus Adressbuch anrufen Directory of A 12 12 12 04 00a lt DIR gt Network 12 12 12 04 00a lt DIR gt Mounted_Volume 08 13a 143360 mxip_system vol 01
40. dress byte E g given address in this manual 0x41 gt complete address byte 0x83 to read from the device and 0x82 to write to the device Tables which describe jumper settings show the default position in bold blue text Text in blue italic indicates a hyperlink within or external to the document Click these links to quickly jump to the applicable URL part chapter table or figure Abbreviations and Acronyms Many acronyms and abbreviations are used throughout this manual Use the table below to navigate unfamiliar terms used in this document iv PHYTEC Messtechnik GmbH 2013 L 802e 0 Conventions Abbreviations and Acronyms Abbreviation Definition A V Audio Video BSP Board Support Package Software delivered with the Development Kit including an operating system Windows or Linux preinstalled on the module and Development Tools CB Carrier Board used in reference to the phyBOARD Wega Development Kit Carrier Board DFF D flip flop DSC Direct Solder Connect EMB External memory bus EMI Electromagnetic Interference GPI General purpose input GPIO General purpose input and output GPO General purpose output IRAM Internal RAM the internal static RAM on the Texas Instruments AM335x microcontroller J Solder jumper these types of jumpers require solder equipment to remove and place JP Solderless jumper
41. e PHYTEC phyBOARD Wega AM335x PHYTEC Single Board Computers henceforth products are designed for installation in electrical appliances or as dedicated Evaluation Boards Oe for use as a test and prototype platform for hardware software development in laboratory environments Caution PHYTEC products lacking protective enclosures are subject to damage by ESD and hence may only be unpacked handled or operated in environments in which sufficient precautionary measures have been taken in respect to ESD dangers It is also necessary that only appropriately trained personnel such as electricians technicians and engineers handle and or operate these products Moreover PHYTEC products should not be operated without protection circuitry if connections to the product s pin header rows are longer than 3 m PHYTEC products fulfill the norms of the European Union s Directive for Electro Magnetic Conformity only in accordance to the descriptions and rules of usage indicated in this hardware manual particularly in respect to the pin header row connectors power connector and serial interface to a host PC Implementation of PHYTEC products into target devices as well as user modifications and extensions of PHYTEC products is subject to renewed establishment of conformity to and certification of Electro Magnetic Directives Users should ensure conformance following any modifications to the products as well as implementation of the products into
42. er input buttons connectors signal breakout and Ethernet connectivity amongst other things The PCL 051 System On Module is a connector less BGA style variant of the PCM 05 1 phyCORE AM335x SOM Unlike traditional PHYTEC SOM products that support high density connectors the PCL 051 SOM is directly soldered down to the phyBOARD Wega using PHYTEC s Direct Solder Connect technology This solution offers an ultra low cost Single Board Computer for the AM335x processor while maintaining most of the advantages of the SOM concept Adding the phyCORE AM335x SOM into your own design is as simple as ordering the connectored version PCM 051 and making use of our phyCORE Carrier Board PCM 953 reference schematics 1 1 1 Features of the phyBOARD Wega AM335x The phyBOARD Wega AM335x supports the following features PHYTEC s phyCORE AM335x SOM with Direct Solder Connect DSC Pico ITX standard dimensions 100 mm x 72 mm Boot from MMC or NAND Flash Max 1 GHz core clock frequency Three different power supply options 5 V only with 3 5 mm combicon or micro USB connector external power module e g 12 V 24 V input voltage Two RJ45 jacks for 10 100 Mbps Ethernet e One USB Host interface brought out to an upright USB Standard A connector or at the expansion connector One USB OTG interface available at an USB Micro AB connector at the back side e One Secure Digital Multi Media Memory Card interface brought out to a Micro SD connector
43. es During the build phase we could have a look of the possibilities to create a customized OS image On the left site you will find the Catalog Item View If not got to the menu bar View gt Other Windows gt Catalog Items View In the following screen you will see the Core OS features which comes from Microsoft You have the option to select or deselect the features of your choice In example the Net Compact Framework PHYTEC Messtechnik GmbH 2013 L 802e 0 45 phyBOARD Wega AM335x_ PB 00802 xxx vd phyBoardWEGA Microsoft Visual Studio Administrator FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TARGET TOOLS a 7 B o al a S DI Device auto Ether Fa Bh Filter lt Search gt ai TEST ANALYZE Jas0jdxq uonnjos mai sway Bojeye gt MAIA a2unosay 72 28 phyBoardWEGA S E Core OS 7 RW Windows Embedded Compact S E Applications and Services Development fad NET Compact Framework NET Compact Framework NEI Compact Framd NET Compact Framework SYSGEN_NETCF fag String Resources MET Compact Framework Jl Active Template Library ATL C Runtime Library ER Component Services COM and DCOM E Diagnostics and Debugging Tools E Installer Ke Internet Client Services TT Lightweight Directory Access Protocol LDAP Client E Location C Message Queuing MSMQ Microsoft Foundation Class MFC Library E Object Exchange Protocol OBEX fa SOAP Toolkit E
44. esssssaitensneciessteilieissesnenseess 63 EME E E E E nein adi mind aeusen haircare 64 ii PHYTEC Messtechnik GmbH 2013 L 802e_0 Contents List of Figures Figure 1 View of the phyBOARD Wega AM335x siens 12 Figure 2 Block Diagram of the phyBOARD Wega AM335x cceeceeesseceeneeceeeeeeeneeceeneeeees 13 Figure 3 Power Supply Connectors seet Eet 30 Figure 4 RS 232 Interface Connector X66 icicssediserssdeadassnvasiasriasseassetoasesanasecanyersdunssvedaauneeetin 33 Figure 5 RS 232 Connector Signal Manpmng 33 Figure 6 Ethernet Interfaces at Connectors X16 and XII 34 Figure 7 Components supporting the USB Interfaces 20 0 0 eee eeesceceseeeeeeeeeceeeeeceeeeeeenaeeeee 35 Figure 8 Audio Interfaces at Connectors X55 and X 73 tenue 37 Figure 9 Components supporting the CAN Interface 00 0 ee eeeessceeesseescenssneesoeesseeeenens 38 Figure 10 CAN Connector Signal Mapping sement 39 Figure 11 SD MM Card interface at connector X11 sise 40 Figure 12 System Reset Button egene eet EE 42 List of Tables Table 1 Abbreviations and Acronyms used in this Manual v Table 2 phyBOARD Wega Connectors and Pin Headers AAA 28 Table 3 phyBOARD Wega LEDs Descriptions institue 29 Table 4 Pin Assignment of the 2 pole PHOENIX Connector at X67 seeeseseeeeeeeseeeeee 31 Table 5 Pin Assignment of the 6 pole WAGO Connector at KD 32 Table 6 Pin Assignment of RS 232 Connector XOG ciscssuaaciasesaesnsasumacdriacsneusaceoreianseneras 33 Table
45. g of this manual the BSP delivered with the phyCARD Wega Am335x does not support the audio interfaces Please visit the PHYTEC website for a road map of the BSP 454 VC Connectivity The IC interface of the AM335x is available at different connectors on the phyBOARD Wega The following table provides a list of the connectors and pins with FC connectivity Connector Location Expansion connector X69 pin 11 I C_SDA pin 13 FC_SCL A V connector X71 pin 16 C_SDA pin 15 FC_SCL Table 10 PC Connectivity To avoid any conflicts when connecting external DC devices to the phyBOARD Wega the addresses of the on board IC devices must be considered Table 11 lists the addresses already in use The table shows only the default address PHYTEC Messtechnik GmbH 2013 L 802e 0 59 phyBOARD Wega AM335x_ PB 00802 xxx Board Prod No Device Address used 7 MSB EEPROM 0x52 phyCORE AM335x PCL 051 RTC 0x68 PMIC 0x2D 0x12 phyBOARD Wega PBA CD 02 Audio 0x18 AV Adapter HDMI PEB AV 01 ee CEC Core 0x34 AV Adapter Display PEB AV 02 GPIO Expander 0x41 Evaluation Board PEB EVAL 01 EEPROM 0x56 GPIO Expander 0x20 M2M Board PEB C 01 GPIO Expander 0x21 GPIO Expander 0x22 Table 11 P C Addresses in Use 4 5 5 Expansion connector The expansion connector X69 provides an easy way to add other functions and features to the phyBOARD Wega Standard
46. hit space to enter main menu Press 2 and 2 to configure the bootloader to boot NK image from flash Press 8 to disable the OAL Retail Messages Press 7 to save your settings Press 0 to execute OS image from flash 4 5 System Level Hardware Information 4 5 1 Audio Video connectors The Audio Video A V connectors X70 and 71 provide an easy way to add typical A V functions and features to the phyBOARD Wega Standard interfaces such as parallel display PS and DC as well as different supply voltages are available at the two A V female dual entry connectors Special feature of these connectors are their connectivity from the bottom or the top The pinout of the A V connectors are shown in Table 8 and Table 9 Pin Signal Name Description 1 GND Ground 2 X_LCD_D21 LCD D21 3 X_LCD_D18 LCD D18 4 X_LCD_D16 LCD D16 5 X_LCD_DO LCD DO 6 GND Ground 7 AS LCD Di LCD D1 8 AS LCD Di LCD D2 9 X_LCD_D3 LCD D3 10 X_LCD_D4 LCD D4 11 GND Ground 12 X_LCD_D22 LCD D22 13 X_LCD_D19 LCD D19 14 AS LCD Di LCD D5 15 X_LCD_D6 LCD D6 16 GND Ground 17 X_LCD_D7 LCD D7 18 X_LCD_D8 LCD D8 19 X_LCD_D9 LCD D9 56 PHYTEC Messtechnik GmbH 2013 L 802e_0 Advanced Information 20 X_LCD_D10 LCD D10 21 GND Ground 22 X_LCD_D23 LCD D23 23 X_LCD
47. hould boot up and you should see the WEC2013 startup screen 43 2 Writing the OS Image into the Target s Flash In this section you will find a description on how to write the newly created OS image into the phyBOARD Wega AM335x s flash memory Before the OS image can be written into the flash you have to modify one project setting in the Example Project of the Binary BSP In Visual Studio go to Project gt phyBoardWEGA Properties gt Configuration Properties gt Environment Press New and input following Environment Variable 48 PHYTEC Messtechnik GmbH 2013 L 802e 0 Advanced Information pd phyBoardWEGA Microsoft Visual Studio Administrator Quick Launch Ctrl Q P D x FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TARGET TOOLS TEST ANALYZE WINDOW HELP a DECK iS al kl Q p Start PHYTEC_AM335x_BSP_ARMV7 Release fal Device auto Ether X a ES Ch S Catalog Items View d S Filte lt Search gt ES p gt ct S S chyBoardWEGA Property Pages EE QE zl phyBoardWEGA phyBoardWEGA Property Pages EI 3 lt fa Core OS H vg Thea Party Configuration Active PHYTEC_AMB35x 8 Platform N A Configuration M z d z ove 2 K fm BSP onfiguration ive o x atform onfiguration Manager d Common Properties Environment variables i S I iMX6Phytec ARMV7 a Configuration Properties Variable
48. ide for phyBOARD Wega Expansion Boards L 793e_0 3 3 8 Secure Digital Memory Card MultiMedia Card X11 LS RITES En er eg F d A E XI TE Figure 11 SD MM Card interface at connector X11 The phyBOARD Wega provides a standard microSDHC card slot at X11 for connection to SD MMC interface cards It allows easy and convenient connection to peripheral devices like SD and MMC cards Power to the SD interface is supplied by inserting the appropriate card into the SD MMC connector who features a card detection a lock mechanism and a smooth extraction function by Push in out of card 40 PHYTEC Messtechnik GmbH 2013 L 802e 0 Accessing the phyBOARD Wega Interfaces The AM335x processor on the phyBAORD Wega can boot from this interface 3 3 8 1 Software Implementation The phyBOARD Wega supports a slot for Micro Secure Digital Cards and Micro Multi Media Cards to be used as storage device in the WEC2013 file system After inserting an MMC SD card it should be accessible via the root file system under the name Storage Card PHYTEC Messtechnik GmbH 2013 L 802e_ 0 41 DhyBOARD Wega AM335x_ PB 00802 xxx 3 3 9 Boot Mode The pyhBOARD Wega has a defined boot sequence 1 NAND 2 SD MMC The exact choosen boot mode in the processor is SYSBOOT 4 0 10011b NAND NANDI2C MMCO UARTO 3 3 10 System Reset Button S2 The phyBOARD Wega is equipped with a system reset button at S2 Pressing this button
49. ion you should able to enter the boot main menu again If so please power off the phyBOARD and switch the boot jumper back to boot from SDCard This is currently a workaround because the SDCard bootloader could not create a partition for the OS image Power on the phyBOARD and hit space to enter the main menu Press 5 to enter SDCard settings menu and press 2 to enter the file name ok bn which should program into flash 54 PHYTEC Messtechnik GmbH 2013 L 802e 0 Advanced Information P p EP CON PuTTY e mom Press Enter to confirm the file name and type 0 to go back to the main menu Back in the main menu press 2 twice to configure the bootloader to boot from SDCard Press 9 and be sure to disable OAL Retail Messages Note This step is necessary to boot the OS correctly If the Retail Messages are enabled it prevents the OS image to boot The OS try to initialize the Serial COM Interface and if the OAL Retail Messages are enabled its locked the Serial COM driver Press a to select the correct display 5 7in EMERGING ETM07 Press 0 to start downloading and flashing NK bin ep COM PuTTY bo 2 PHYTEC Messtechnik GmbH 2013 L 802e 0 55 phyBOARD Wega AM335x_ PB 00802 xxx Now you have finished programming bootloader and image to the phyBOARD Power off the phyBOARD switch the boot jumper back to start from Nand Flash Power on and
50. j 1210 dx3 saruas PHYTEC Messtechnik GmbH 2013 L 802e_0 Advanced Information After studying the Catalog Items View for long time the OS image should be finished Now you are able to download your OS image Select Target gt Attach Device in the menu bar MAKEIMG BUILDMSG Calling FMerge for regist MAKEIMG BUILDMSG Calling FMerge for db files MAKEIMG BUILDMSG Calling D WINCE888 0SDesigns phyBoardWEGA phyBoardWEGA Re1Dir PHYTEC_AM335x_BSP_ARMV7_Release winceos preri pro MAKEIMG BUILDMSG Calling D WINCE8 O0SDesigns phyBoardWEGA phyBoardWEGA RelDir PHYTEC_AM335x_BSP_ARMV7_Release ossvcs preri proj MAKEIMG BUILDMSG Calling D WINCE8 O0SDesigns phyBoardWEGA phyBoardWEGA RelDir PHYTEC_AM335x_BSP_ARMV7_Release shell preri proj MAKEIMG BUILDMSG Calling D WINCE8 0SDesigns phyBoardWEGA phyBoardWEGA RelDir PHYTEC_AM335x_BSP_ARMV7_Release FmergeMBDb bat MAKEIMG BUILDMSG Creating Rom Image MAKEIMG BUILDMSG Calling D WINCE8 public common oak misc pbpostmakeimg bat MAKEIMG BUILDMSG Make Image process completed successfully pd phyBoardWEGA Microsoft Visual Studio Administrator Quick Launch Ctri Q f 0 X FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TARGET TOOLS TEST ANALYZE WINDOW HELP el z s mm Gl m d Fla Attach Device C_AM335x_BSP_ARMV7 Release fa Device auto Ether ey e 2 D Es Sr arget Control Alt 1 we S d D Ch Device Status Ctrl Shift D 4 k g
51. kages BSPs and Design Services for our hardware will further reduce your development time and risk and allow you to focus on your product expertise Take advantage of PHYTEC products to shorten time to market reduce development costs and avoid substantial design issues and risks With this new innovative full system solution you will be able to bring your new ideas to market in the most timely and cost efficient manner For more information go to http www phytec de de leistungen entwicklungsunterstuetzung html or www phytec eu europe oem integration evaluation start up html PHYTEC Messtechnik GmbH 2013 L 802e 0 Vil phyBOARD Wega AM335x_ PB 00802 xxx Ordering Information Ordering numbers phyBOARD Wega AM335x Development Kit KPB 00802 xxx phyBOARD Wega AM335x SBC PB 00802 xxx In order to receive product specific information on changes and updates in the best way also in the future we recommend to register at http www phytec de de support registrierung html or http www phytec eu europe support registration html For technical support and additional information concerning your product please visit the support section of our web site which provides product specific information such as errata sheets application notes FAQs etc http www phytec de de support faq faq phy BOARD Wega AM335x html or http www phytec eu europe support faq faq phy BOARD Wega AM335x html Declaration of Electro Magnetic Conformity of th
52. lder click browse and select another folder NOTE We suggest that you install PHYTEC Products using the default location which will result in at least 5 directory levels If you wish to install to another location the path length should not exceed 8 directory levels A path of more than 8 directory levels may not work Changes of the default folder must be considered when following the QuickStart Instructions Destination Folder C PHYTEC Browse coca Click Next to continue for selecting the installation path for the BinaryBSP It is absolutely important to select the correct path for the Binary BSP installation The right path is where your Platform Builder installation was installed in the previous chapter In example C WINCE800 Otherwise the BSP will not be able to build correctly 16 PHYTEC Messtechnik GmbH 2013 L 802e 0 Getting Started Setup will install the phyBOARD WEGA BSP in the following folder If you have installed Windows Embedded Compact 2013 to another path click browse and select another folder NOTE It is absolutely important to select the correct folder For default Windows Embedded Compact 2013 create the WINCES800 directory to CHANCE OO If you change the default directory to another path please change it now Otherwise the BSP could not build correctly Destination Folder C WINCE 800 Browse cos In the next
53. le SD card in the micro SDHC slot on the phyBOARD WEGA You need to switch the boot jumper on the board You will find the boot jumper under the PEB AV Adapter board To boot from SD card it is necessary to set the boot jumper to ON Before powering up the phyBOARD please open a terminal program to see the output messages from the bootloader Now power up the phyBOARD If you see the message Hit space to enter configuration menu press space on the keyboard to get in the bootloader menu Following screen should appear 50 PHYTEC Messtechnik GmbH 2013 L 802e_0 Advanced Information EI COM3 PuTTY Note It could be that it takes a while to see the message during the first boot because the bootloader format the NAND Flash and create some partitions Now you are able to flash the bootloader to NAND Flash a Press 5 to get in the SDCard Settings menu Following screen should appear 8 EP COMB PuTTY S a Press 2 to enter the filename which should program into flash PHYTEC Messtechnik GmbH 2013 L 802e_0 51 phyBOARD Wega AM335x_ PB 00802 xxx d CONS PuTTY arra Press ENTER to save the filename Type 0 to leave the SDCard settings menu Now you are back in the main menu Press 2 to select the boot device EP COMB PuTTY e maom Type 2 to set the boot device to SDCard Now you are back in the main
54. menu and you have to start downloading the typed file after press 0 52 PHYTEC Messtechnik GmbH 2013 L 802e_0 Advanced Information r gP COM3 PuTTY m EI If the upper message appear you have successful written the XLDR first stage bootloader into the nand flash Please power off and on the phyBOARD to go on to program the next file into the nand flash Hit space to enter the main menu again Type 5 to enter the SDCard settings menu Press 2 to enter the next file name for flashing COM3 PuTTY ke ttings Press enter and select the boot device by type 2 to enter the boot device menu and press 2 to select the SDCard as boot device Now press 0 again to start the flash programming PHYTEC Messtechnik GmbH 2013 L 802e 0 53 phyBOARD Wega AM335x_ PB 00802 xxx see Sr Num dules 1 gp COM PuTTY You have successfully program the bootloader fist stage and second stage bootloader into the nand flash Please switch back the boot jumper to boot from nand flash Please let the SDCard in the slot you will need it in the next chapter again 443 Writing NK bin to the Nand Flash You should now able to boot the bootloader from NAND Flash After the first boot from NAND Flash the bootloader create a boot partition for the OS image This step is necessary to program the OS image into the nand flash After creating boot partit
55. n laboratory environments prior to their use in customer designed applications 3 1 Concept of the phyBOARD Wega The phyBOARD Wega provides a flexible development platform enabling quick and easy start up and subsequent programming of its soldered phyCORE AM335x System on Module The carrier board design allows easy connection of additional extension boards featuring various functions that support fast and convenient prototyping and software evaluation The carrier board is compatible with phyCORE AM335x only This modular development platform concept includes the following components e the phyCORE AM335x module populated by default with the AM3354 processor and all applicable SOM circuitry such as DDR SDRAM Flash PHYs and transceivers to name a few e the phyBOARD Wega which offers all essential components and connectors for start up including A power socket which enables connection to an external power adapter interface connectors such as DB 9 USB and Ethernet allowing for use of the SOM s interfaces with standard cable The following sections contain specific information relevant to the operation of the phyCORE AM335x mounted on the phyBOARD Wega Carrier Board PHYTEC Messtechnik GmbH 2013 L 802e_ 0 27 phyBOARD Wega AM335x_ PB 00802 xxx 3 2 Overview of the phyBOARD Wega Peripherals The phyBOARD Wega is depicted in Figure 1 It features many different interfaces and is equipped with the components as listed in Table 2
56. net transceivers support HP Auto MDIX technology eliminating the need for the consideration of a direct connect LAN cable or a cross over path cable They detect the TX and RX pins of the connected device and automatically configure the PHY TX and RX pins accordingly 34 PHYTEC Messtechnik GmbH 2013 L 802e 0 Accessing the phyBOARD Wega Interfaces 3 3 3 1 Software Implementation Only one 10 100 Mbit Ethernet interface is currently implemented The default IP address is 192 168 3 15 The interface offer a standard Windows network port which can be programmed using the NDIS socket interface 3 3 4 USB Connectivity X15 and X42 The phyBOARD Wega provides one USB Host and one USB OTG interface USBO is accessible at connector X42 USB Micro AB located at the back side of the phyBOARD Wega It is configured as USB OTG USB OTG devices are capable to initiate a session control the connection and exchange host and peripheral roles between each other This interface is compliant with USB revision 2 0 USB 1 is accessible on the top at connector X15 USB Standard A and is configured as USB Host USB OTG Figure 7 Components supporting the USB Interfaces LED DR displays the status of USBO_VBUS and LED D7 the status of USB1_VBUS For later expansion boards the USB1 interface can be routed to the expansion connector X69 by populating J72 and J73 2 3 3 3 4 1 Software Implementation 3 3 4 1 1 USB Host The AM335x C
57. pt3 exe needs to be start before you will deploy or debug your application The service cmaccept3 exe is closed automatically after 3 minutes Be sure to connect your application with the device during this time period Otherwise you have to start the cmaccept3 exe again Back to Visual Studio 2012 set the cursor to line 11 an press F9 on your keyboard to enable a breakpoint Click on Windows Embedded Compact Debugger to start the debug on the device Enter the IP address 192 168 3 15 in the pop up window The application should start and stop on the enabled breakpoint Right Click on the integer variable i and select Add watch to add the variable to the watch window pd myHelloWorld Debugging Microsoft Visual Studio Administrator Quick Launch Ctrl Q p rt x FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TOOLS TEST ANALYZE WINDOW HELP ECK SM 2 gt Continue e 3666 EA KI Process 71041474 myHelloWorld exe Thread 100008306 Main Thread 4 3 TEEI stdio h X z ZS Global Scope wmain int argc wchar_t argv F 1 E myHelloWorld cpp Defines the entry point for the console application S 2 La A lt 3 3 4 j include stdafx h Ga 5f include lt windows h gt E 6 S 7 a m 8 E 9 Hint wmain int argc wchar_t argv 10 E 1 for int j A i z Ss its A 12 a 13 print f S 14 15 1 Insert Snippet Ctrl K Ctrl X D e D 3 e printf
58. r settings while the phyBOARD Wega is supplied with power 3 3 1 1 Power Connectors X67 and X72 The phyBOARD Wega is available with three different power supply connectors Depending on your order you will find one of the following connectors on your SBC 1 a 2 pole PHOENIX base strip 3 5 mm connector suitable for a single 5 V supply voltage or 2 an USB Micro AB connector to connect a standard 5 V USB power supply or 3 a 6 pole WAGO male header to attach the Power Module for phyBOARD Wega PEB POW 01 which provides connectivity for 12 V 24 V The required current load capacity for all power supply solutions depends on the specific configuration of the phyCORE mounted on the phyBOARD Wega the particular interfaces enabled while executing software as well as whether an optional expansion board is connected to the carrier board A 5 V adapter with a minimum supply of 1 5 A is recommended gra FOR ee es Pos I ma p p a pi pi PHOENIX base strip WAGO male header 6 pole Figure 3 Power Supply Connectors 30 PHYTEC Messtechnik GmbH 2013 L 802e_0 Accessing the phyBOARD Wega Interfaces 3 3 1 1 1 PHOENIX 2 pole Base Strip The permissible input voltage is 5 V DC if your SBC is equipped with a 2 pole PHOENIX connector Figure 3 and the following table show the pin assignment Pin Signal Description l VCC5V_IN 5V power supply 2 GND Ground Table 4 Pin Assignment of the 2 pole PHOENIX
59. target systems viii PHYTEC Messtechnik GmbH 2013 L 802e_0 Preface Product Change Management and information in this manual on parts populated on the SOM SBC When buying a PHYTEC SOM SBC you will in addition to our HW and SW offerings receive a free obsolescence maintenance service for the HW we provide Our PCM Product Change Management Team of developers is continuously processing all incoming PCN s Product Change Notifications from vendors and distributors concerning parts which are being used in our products Possible impacts to the functionality of our products due to changes of functionality or obsolesce of a certain part are being evaluated in order to take the right masseurs in purchasing or within our HW SW design Our general philosophy here is We never discontinue a product as long as there is demand for it Therefore we have established a set of methods to fulfill our philosophy Avoiding strategies e Avoid changes by evaluating long livety of parts during design in phase e Ensure availability of equivalent second source parts e Stay in close contact with part vendors to be aware of roadmap strategies Change management in case of functional changes e Avoid impacts on product functionality by choosing equivalent replacement parts Avoid impacts on product functionality by compensating changes through HW redesign or backward compatible SW maintenance e Provide early change notifications concerning
60. these types of jumpers can be removed and placed by hand with no special tools NC Not Connected PCB Printed circuit board PDI PHYTEC Display Interface defined to connect PHYTEC display adapter boards or custom adapters PEB PHYTEC Extension Board PMIC Power management IC PoE Power over Ethernet PoP Package on Package POR Power on reset RTC Real time clock SBC Single Board Computer used in reference to the PBA CD 02 phyBOARD Wega AM335x module SMT Surface mount technology SOM System on Module used in reference to the PCL 051 phyCORE AM335x module Sx User button Sx e g S1 S2 used in reference to the available user buttons or DIP Switches on the CB Sx_y Switch y of DIP Switch Sx used in reference to the DIP Switch on the carrier board VSTBY SOM standby voltage input Table 1 Abbreviations and Acronyms used in this Manual PHYTEC Messtechnik GmbH 2013 L 802e_0 V phyBOARD Wega AM335x_ PB 00802 xxx At this icon you might leave the path of this Application Guide This is a warning It helps you to avoid annoying problems You can find useful supplementary information about the topic At the beginning of each chapter you can find information about the time required to read the following chapter You have successfully completed an important part of this Application Guide You can find information to solve problems Note The BSP delivered with the phyBOARD Wega A
61. tor Goldcap 2x20 and 2x8 for RTC Socket phyCORE AM335x VCC3V3 UART 0 SPIO EC 0 JTAG MMC 2 S UART 2 UART 3 GPIOs Interrupt Reset Expansion Analog Inputs Different Supply Voltages Connector 2x30 Socket USB Host Standard A USB OTG Micro AB Technology Line In Line Out 3x2 Pin Header Ati Mono Speaker Codec 2 pole Molex Ethernet 1 10 100 MMC SD 0 Ethernet 0 10 100 Figure 2 Block Diagram of the phyBOARD Wega AM335x PHYTEC Messtechnik GmbH 2013 L 802e 0 13 phyBOARD Wega AM335x_ PB 00802 xxx 1 2 Software Overview 1 2 1 Visual Studio 2012 Visual Studio 2012 or Visual Studio 2013 as the main populated development IDE by Microsoft is used to developing applications drivers and board support packages for Windows Embedded Compact 2013 WEC2013 You will find a trial version of VS2012 2013 on the following links Visual Studio 2012 Professional Trial http www microsoft com en us download details aspx id 30682 Visual Studio 2013 Professional Trial http www microsoft com en us download details aspx id 40763 Please install only one of the Visual Studio first In the following chapters is Visual Studio 2012 used If you decide to use VS 2013 you have to build your own Software Development KIT SDK which is needed to build Applications for WEC2013 After the installation you need the Application Builder for Windows Embedded
62. will toggle the X_nRESET_IN pin X64A11 of the phyCORE SOM low causing the module to reset Additionally a reset is generated on nRESET_OUT to reset peripherals Figure 12 System Reset Button S2 42 PHYTEC Messtechnik GmbH 2013 L 802e 0 Advanced Information 4 Advanced Information 4 1 About this Section This Section addresses advanced developers who want to configure build and install a new OS image for WEC2013 Step by step instructions on how to configure build and install a new OS image using Visual Studio 2012 and Platform Builder A description how to update the Bootloader and how to write OS image into the Flash with the help of VS2012 4 2 Software Overview In the chapter 2 you have learned how to work with Visual Studio 2012 The following section shows you how to work with the Platform Builder Platform Builder is an Plugin for Visual Studio 2012 which will be autamtically integrated in the VS IDE after installing Windows Embedded Compact 2013 Within the Plugin you could generate your own OS image or to modify or implement drivers to the BSP 4 3 Getting Started with the BSP In this chapter you will go through some software topics First you will configure and compile your own OS image With the help of Platform Builder you can add additional features or disable them if they are not needed After compiling the new images you will learn how to write the newly created OS image into target s flash memor
63. y and how to start from 4 3 1 Working with Platform Builder In this part you will learn how to configure and build a new OS image with the help of Visual Studio 2012 and the integrated Platform Builder Then you will downloading and executing the new OS image After that you will learn how to configure the new OS image as an NAND Flash image to store it on the device PHYTEC Messtechnik GmbH 2013 L 802e 0 43 phyBOARD Wega AM335x_ PB 00802 xxx Let us start Open the Example Project for the binary BSP in the following path o WINCE800 OSDesigns phyBoardWEGA phyBoardWEGA sIn NOTE You will find the WINCE800 folder where you have chosen it during the Windows Embedded Compact 2013 installation For default it is C WINCE800 In this folder you will find other example BSPs for Freescale and TI processors Be sure to select the build configuration like the following screen o The differences between the three configurations Checked Debug Release is the among of debug output which should be enabled during startup o Checked Debug build put all available debug messages out for each driver o Release build is the cleanest message output For our example it is enough to decide to build the Release configuration pd phyBoardWEGA Microsoft Visual Studio Administrator Quick Launch Ctrl Q Pp A x FILE EDIT VIEW PROJECT BUILD DEBUG TEAM TARGET TOOLS TEST ANALYZE WINDOW HELP a iB SM gt Start P
Download Pdf Manuals
Related Search
Related Contents
Model VJ77 PC-based Parameters Setting Tool Zalman CNPS-9500 AM2 índice - Hagie Help User's Manual - TQ ESPECIFICACIÓN DE PRODUCTO VEGENAT "取扱説明書" MOVITRANS® TAS10A Transformer Module / Operating Instructions DSP56000 Family Manual ST7MDT20-TEB/DVP - STMicroelectronics Conair 276 User's Manual Copyright © All rights reserved.
Failed to retrieve file