Home

SBC-SMART-BEE Users` Manual - Embedian Inc, The leading ARM

image

Contents

1. 65 5 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Using this Manual This guide provides information about the Embedian SBC SMART BEE Single Board Computer based on TI Sitara AM335x Cortex A8 processor Conventions used in this guide This table describes the typographic conventions used in this guide This Convention Is used for ltalic type Emphasis new terms variables and document titles monospaced type Filenames pathnames and code examples Embedian Information Document Updates Please always check the product specific section on the Embedian support website at www embedian com for the most current revision of this document Contact Information For more information about your Embedian products or for customer service and technical support contact Embedian directly To contact Embedian by Mail Embedian Inc 4F 7 432 Keelung Sec 1 Taipei 11051 Taiwan World Wide Web http www embedian com Telephone 886 2 2722 3291 Additional Resources SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Please also refer to the most recent SBC SMART BEE User s Manual and AM335x processor reference manual and related documentation for additional information SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Chapter Intro
2. CN3 Location on Board B2 3 1 3 12 4 wire Touch Connector CN19 SBC SMART BEE provides with a 4 wire FPC connector for touch panel The controller is ADC of the processor 41 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc The following table shows the pin out of the CN19 4 wire resistive connector 19 Location on Board H3 4 wire Touch Connector Sitara AM335x CPU 1 0 ZIF FPC SMT V T Pin Signal Name Function Signal Name 4 1 XNUR Left S21 C7 AIN1 Al 2 YPLL Bottom S19 B7 AIN2 Al 1 3 XPUL Right S18 B6 AINO AI 4 YNLR Top 522 A7 AIN3 AI Note The length of touch FPC cable should not be keeping too long 42 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 1 3 13 JTAG Connector CN3 on Module JTAG functions for CPU debug and test are implemented on separate small form factor connector CN3 JST SM10B SRSS TB 1mm pitch R A SMD Header on SMARC module The JTAG pins are used to allow test equipment and circuit emulators to have access to the Module CPU The pin outs shown below are used The following table shows the pin out of the CN3 on module JTAG connecior CN3 Location on Board D4 JTAG Connector Edge Sitara AM335x CPU Finger JST SM10B SRSS TB 1mm pitch R A SMD Header Header Pin Signal Name Function SignaL Name 1 VDD JTAG I O P Voltage sourced by Module 2 nTRST JTAG Reset B10 nTRST B10 I active Low
3. 485 RX 3 SER Receive Data P130 15 0 UARTO RXD _RX wm 1 2 4 SERO Ready to Send P131 17 UARTO O 3 4 _RTS RTSN 9 10 5 SERO Transmit Data 129 16 UARTO TXD O 6 SERO Clear To Send P132 18 0 UARTO ES CTSN 7 422 RX 8 422 RX 9 GND 10 Note The ones marked as blue RS232 signals When using RS232 as function please shunt pin 1 2 of JP2 48 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc CN13 Location on Board A3 RS232 Header HEADER Edge Sitara AM335x CPU DIP 10 2P 1800 MALE Finger 2 0mm Header Signal Function Ball Mode Signal Name Name 1 2 2 SER1 Receive Data P135 18 1 UART2 RXD w 4 NC 1 2 a 4 5 SER1 Transmit Data P134 L18 1 UART2 TXD O 10 6 7 8 9 GND 10 49 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 2 3 2 CAN Bus Header CN15 The SBC SMART BEE supports one CAN bus port and locates at CN15 It runs CANO through SN65HVD251D transceiver The following table shows the pin out of the CN15 CAN Bus header CN15 Location on Board A2 CAN Bus Header Edge Sitara AM335x CPU Type HEADER DIP 10 2P 180D Finger MALE 2 0mm Header Signal Function Bal Mode Signal Name 1 2 3 CANOL Signal P144 K15 1 DCAN _RX Low 4 CAN H CAN Signal P143 718 1 DCAN _ TX O High 3 4 5 NC g 10 6 NC 7 NC 8 NC g
4. 3 3V P s 5V 20 20 VCC 3 3V or 5V Note CN10 is a 24 bit color depth LVDS signal In the 24 bit single pixel mode the RGB and control inputs shall be transmitted as shown in the following figure Outputs A4 through A7 and CLK2 shall be inactive in this mode and fixed at a single value Bits marked RES are reserved for future use and may take any value XW RIX Ro X G5 X G4 X G3 X G2 X G1 A2 X X DE XVSYNO HSYNO B5 X B4 X X B2 A3 RES 087 X B6 X G7 X G6 X B7 X B6_ Ad 5 A6 AT CLK2 Previous Current Cycle 7 Cycle Figure 9 24 bit Single Pixel Transmission Unbalanced 30 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 1 3 8 LCD LED Backlight Connector CN8 SBC SMART BEE provides with one LCD LED backlight connector CN8 that can drive up to 10 LEDs in series The driver IC is 7PS61165 The following table shows the pin out of the CN8 LED backlight connector CN8 Location on Board A4 B4 LED Backlight Connector Sitara AM335x CPU Type JST SM02B BHSS 1 TB or compatible Header Pin Signal Name Function Ball Mode signal Name 1 BLH BackLight From TPS61165 P Drive Anode Side 2 BLL Backlight From TPS61165 fe Drive Cathode Side Note The mating connector is JST BHSR 02VS 1 or compatible The backlight control pin is ecap0_in_pwm0_out gpio0_ 7 3 1 3 9 Power Input Terminal Block Connector CN2 The pow
5. If you see the LED light on that means the wiring is correct Do not need to worry about the mis wiring because the device has mis wiring protection You will see the Ubuntu 13 04 booting The default root password is roof no quotation and default Ubuntu user password is Default Ethernet is set as DHCP 65 SBC SMART BEE User s Manual Document Revision v 1 2
6. 1 CN6 CN7 DCANO CAN Bus Header 15 12x GPIO GPIO Header CN17 RJ45 Connector CN4 LAN2 RJ45 Connector CN5 SDHC SDIO SDHC Connector CN9 SPO 11 12 12 LCD SPI 2 12C 2 Header CN18 LAN8720A LAN1 1 z W dum el z a 61 z RS232 Header SER1 CN13 4 RS232 422 485 SERO Header CN12 RJ45 Connector CN14 3 3V 5V LCD Signaling FPC Connector CN9 SER3 Parallel RGB LCD Signal LVDS Connector CN10 LED Backlight Connector CN8 Industrial Standard Connectors for wired off board Connections IC and IC Subsystem Embedian Defined Connector and Headers Jumpers Switches and LEDs Industrial Standard Mezzanine and Slot Format Connector Other Features Figure 1 SBC SMART BEE Block Diagram Details for this diagram will be explained in the following chapters 11 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 1 3 Peripheral Overview The following diagram shows the function of all peripherals including of connectors headers configuration jumpers and other important features on the SBC SMART BEE single board computer External WDT Jumper RTC Battery Reset Jumper SMARC Module SPI 2 and I2C 2 Bus GPIO CAN BUS Mapen r a BOOT Configur
7. 3 TMS JTAG mode C11 TMS C11 I seLect 4 TDO JTAG data out A11 TDO A11 0 5 TDI JTAG data in B11 TDI B11 I 6 TCK JTAG clock A12 TCK A12 T 7 JTAG return I clock 8 GND Ground 9 MFG Mode Pulled low to allow in circuit SPI ROM update 10 GND Ground 43 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Note The mating connector part number is JST 10SR 3S SBC SMART BEE User s Manual Document Revision v 1 2 44 Embedian Inc 3 2 Headers This section details the header information of SBC SMART BEE single board computer 3 2 1 Header Location Figure 10 Header Locations 45 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 2 2 List of Headers The table below lists the function of various headers Function CN12 CN13 CN15 CN17 CN18 CN11 5232 5422 5485 port SERO UARTO with hardware handshaking RS232 port SER1 UART1 CAN Bus Header GPIO Header 2 2 SPI 2 Header Mic In and Speaker Out Audio Header 3 2 3 Header Pin Assignments The following tables describe the electrical signals available on the connectors of the SBC SMART BEE Each section provides relevant details about the connector including part numbers mating connectors signal descriptions and references to related chapters Pinout Legend Input O Output Input or output P Power Analogue input AO Analogue o
8. 33 pin FPC connector CN9 It supports 18 bit color depths The following table shows the pin out of the CN9 LCD FPC connector CN9 Location on Board H2 H3 33 pin FPC connector pitch 0 5mm Sitara AM335x CPU Top Contact Header Pin Signal Name Function Ball 1 GND Ground P 2 LCD_PCK Pixel Clock S123 0 LCD_ O PCLK 3 LCD_HS Horizontal 5122 R5 0 LCD_ O Sync HS YNC 4 LCD_VS Vertical Sync 5121 U5 0 LCD_ O xc VSYNC 5 GND Ground PI 2 1 6 LCD RED2 S113 13 1 LCD O DATA16 LCD RED3 S114 R1 0 LCD O DATAO 8 LCD RED4 Red Data S115 R2 0 LCD O DATA1 9 LCD RED5 S116 H3 0 LCD_ O DATA2 10 LCD RED6 5117 R4 0 LCD_ O DATA3 11 LCD RED7 5118 0 LCD_ O DATA4 35 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 33 pin FPC connector pitch 0 5mm Header 12 13 14 33 15 16 12 18 19 Signal Name GND LCD_GREEN2 LCD_GREEN3 LCD_GREEN4 LCD_GREEN5 LCD_GREEN6 LCD GREEN7 GND Function Ground Green Data Ground S104 5105 5106 S107 S108 S109 SBC SMART BEE User s Manual Document Revision v 1 2 Sitara AM335x CPU T2 T3 T4 U1 U2 US LCD DATAS LCD DATA6 LCD_ DATA7 LCD_ DATA8 LCD_ DATA LCD_ DATA10 36 Embedian Inc 33 pin FPC connector pitch 0 5mm Header Signal Name LCD BLUE2 21 LCD BLUE3 22 _ LCD BLUE4 23 LCD BLUE5 24 LCD BLUE6 33 25 LCD BLUE7 2 1 26 GND 27 LCE DE 28
9. 7 LED Locations 2 3 2 List of LEDs The table below lists the function of LEDs Label Function LED1 ON if 5V is fine LED2 ON if 3 3V is fine 24 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Chapter Connectors and Headers This Chapter gives SBC SMART BEE connectors and headers detail information Section include e Connectors e Headers 25 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Chapter 3 Headers and Connectors This section gives SBC SMART BEE connectors and headers detail information 3 1 Connectors Wired connections to the SBC SMART BEE single board computer are described in this section 3 1 1 Connector Location S el SEM CN10 0 q 27 PSH T LL CN 14 GNG CN5 Figure 8 Connector Locations 26 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 1 2 List of Connectors The table below lists the function of various connectors Function CN1 314 MXM3 0 SMARC Module Connector CN2 Power Input 2 pin Terminal Block CN3 RTC Backup Battery CN4 LAN1 RJ45 Jack with Integrated Magnetic CN5 LAN2 RJ45 Jack with Integrated Magnetic CN6 USB Host Type A Connector CN7 USB OTG mini Type B Connector CN8 LCD LED Backlight Connector CN9 33 pin LCD FPC connector pitch 0 5mm CN10 Single Channel LVDS Connector CN14 Serial Console RJ45 Con
10. OS VEC LOCATIONS a a E E 22 PSDUD PE 24 FOURE LED LOCA HON 24 RS 26 De CON NE CORD 26 FIGURE 2 26 FIGURE 9 24 BIT SINGLE PIXEL TRANSMISSION UNBALANCED eese 39 M 45 FIGURE 10 HEADER LOCATIONS a Y UU OU CU OUR UNO NF UON 45 FIGURE I1 10 WAY BOX HEADER TO BRYDYDD 47 FIGURE 12 ATC 100 BLOCK DIAGRAM am ces O YNA RYG ENG Un eoe Gn RS AND bue idani 56 CHAPTER 4 2 0 DEVICES AND CARRIER EEPROM 209 nenne 58 I LO I l FYFYR FYR NYFED AFR FENTER NY EFFRO NN FF 58 MODULE FEFEOW BORA RED ERYR DA 29 ERE EON FOKMA T 60 CHAFIEK UG DE a i 63 STEPI PLUG A WORKING SD CARD INTO SD SLOT tain EY O NWN EYN DWG COD pente terreas 63 2 CHECK IUMPERSAND SWIETOHE Si ROUGH YSSYT toate 63 STEP3 WIRED THE CONSOLE AND ETHERNET CABLE cccscsssesscsessoasscscccsessescsesdnonscsaavevsssseverieessees 64 OPEN A SERIAL TERMINAL LIKE PUTTY IN YOUR PC SET THE COM PORT AS 115200 N1 65 STEPS POWER 3V THE DEVICE
11. from very beginning and have it monitoring your local device in few minutes No advanced installation options are discussed here just the basics that will work for 95 of users who want to get started This guide will lead you through the process of configuring installing and developing SBC SMART BEE This guide was written to be as clear as possible and to provide only the details necessary to get you up and running For more in depth information links to other chapters will be located where appropriate Step1 Plug a working SD card into SD slot Prepare for a binary pre installed SD first Plug the SD card into SD card slot CN 16 Please refer to Embedian SBC SMART BEE Software Installation Guide to learn how to prepare for a working SD card o os 74 Step2 Check Jumpers and Switches SW1 switch should be set as SD boot OFF ON ON and make sure that JP3 Is not shunt 63 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Step3 Wired the console and Ethernet cable Connect the DB9 to HJ 45 console debug cable from CN14 of the device to your PC and the Ethernet cable from LAN1 CN4 of the device to an Ethernet switch Switch 64 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Open a serial terminal like Putty in your PC Set the COM port as 115200 ant Step4 Power 5V to the device Apply 5V to CN2 connector of the device
12. 11 AM335x ARM Cortex A8 Microprocessors MPUs Technical References Manual April 15 2013 rev H AM335x Power Consumption Summary Oct 31 2011 1 6 4 TI Development Tools Pin Mux Utility for ARM amp Microprocessors Power Estimation Tool PET 1 6 5 Software Documents LINUXEZSDK AM335x ANDROIDDEVKIT JB AM335x 1 6 6 Embedian Software Documents SBC SMART BEE Linux BSP e SBC SMART BEE Android BSP e SBC SMART BEE Linux BSP User s Guide SBC SMART BEE Android BSP User s Guide 1 6 7 Design Network Beaglebone Beaglebone Blask Adeneo Embedded Windows Embedded Compact 7 e Nucleus e QNX 16 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Chapter Jumpers Switches and LEDs This Chapter provides SBC SMART BEE jumpers switches and LEDs information Section include Jumpers e Switches e LEDs 17 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Chapter 2 Jumpers Switches and LEDs This chapter gives detail information of the jumpers switches and LEDs 2 1 Jumpers SBC SMART BEE has a number of jumpers that allow you to configure your system to suit your application All use 2mm shorting blocks shunts to select settings Turn off power to the SBC SMART BEE before changing the position of a shunt 2 1 1 Jumper Location E MH Figure 5 Jumper Locations 18 SBC S
13. 12x 4 wire Touch Connector RIC backup power sources Lithium coin cell onboard 5V input voltage terminal block with 28V over voltage and mis wiring protection e External WDT option e A single 4KB EEPROM is provided on 2 0 that holds the board information This information includes board name part number serial number and revision information SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 1 2 Block Diagram An overall system block diagram for the SBC SMART BEE single board computer is shown on the following page The following color coding is used on the block diagram e Industry standard wired I O connectors are shown in orange Embedian defined wired connectors and headers are shown in red e Industry standard mezzanine and slot format connectors are shown in blue ICs on the board are shown in pale yellow e Miscellaneous features jumpers switches are shown drab green Much may be gleaned from this diagram e What the major features are e An indication of the power supply architecture 10 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Reset PAU External WDT 3 35V 5 25V to Module Power Input Connector CN2 I2C PM 3V3 3 3V 5VOK Audio Header CN11 4 wire Touch Header CN11 USBO_EN_OC USBO_VBUS USB1_EN_OC USB1_VBUS USB mini Type B Type A Connector USBO USB
14. 14 I2C LCD LCD display 5140 018 3 I2C2 SDA OD _ DAT 12C bus data Note SPIO CSO has been taken for on module SPI NOR Flash Use SPIO CS17 instead 54 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 2 3 5 125 Device Header CN11 The SBC SMART BEE has TLV320AIC3106 audio codec allowing 1250 to from Audio CODEC 2 0 bus is also connected to TLV320AIC3106 to send command to audio codec and read codec register information at address Ox1B The audio mic In and headset speaker out header is located at CN11 The following table shows the pin out of the CN11 CN11 Location on Board H5 Audio Header HEADER Edge Sitara AM335x CPU 10 2P 180D MALE 2 54mm Finger Header Signal Function Pin Ball Mode Signal Name Name i MIC_L Left channel of Al microphone input 2 AGND Analog Ground Right channel Al of microphone input 1 2 4 AUD 33 Analogue ls 3 4 VDD IO From TLV320AIC3016 Audio Codec 5 Hp QUT Right AO R channel of headset speaker 6 HP OUT_ HPRCOM RR Signal of AIC3106 MICDEC Microphone detect 55 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Audio Header HEADER DIP Edge Sitara AM335x CPU Type 10 2P 180D MALE 2 54mm Finger Header Signal Function Pin Ball Mode Signal Name Name 9 HP OUT Left channel L of headset speaker out From TLV320AIC 3016 Audio Codec 10 OUT_ HPLCOM LR Signal of AIC3106 The foll
15. Embedian Inc SMART Series Single Board Computer SBC SMART BEE errbedeay SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Revision History Revision Date Changes from Previous Revision 1 0 2013 11 17 Initial Release 11 2014 04 21 Update to SMARC T335X Hardware Revision 00 0 1 SPI_DO and SPI_D1 interchanged 2 LCD BKLT and GPIO 1 interchanged 3 Change the board name from SBC SMAHT BEE to SBC SMART BEE Correct RS422 TX polarity of CN12 2 Add Mounting Hole Mechanical Drawing 1 2 2014 05 09 Information SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc USER INFORMATION About This Manual This document provides information about products from EMBEDIAN INC No warranty of suitability purpose or fitness is implied While every attempt has been made to ensure that the information in this document is accurate the information contained within is supplied as is and is subject to change without notice For the circuits descriptions and tables indicated EMBEDIAN assumes no responsibility as far as patents or other rights of third parties are concerned Copyright Notice Copyright 2013 EMBEDIAN INC All rights reserved No part of this manual may be reproduced transmitted transcribed stored in a retrieval system or translated into any language or computer language in any form or by any means electronic mechanical photocopying recordin
16. GND P 10 NC 50 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 2 3 3 GPIO Header CN17 The SBC SMART BEE single board computer supports 12 GPIO ports The GPIO header locates at CN17 The following table shows the pin out of the CN17 GPIO header CN17 Location on Board B1 GPIO Header HEADER DIP Sitara AM335x CPU 14 2P 180D MALE 2 0mm Finger Header Signal Function Ball Signal Name Name 1 VDD_ P GPIO 2 GND E 3 GPIOO Camera 0 P108 217 7 GPIO3 4 VO Power EnabLe 4 GPIO6 Tachometer P114 18 7 GPIO1 28 3 4 input 5 GPIO1 Camera 1 P109 T6 7 GPIO2 5 VO 13 14 Power Enable 6 GPIO7 PCAM FLD P115 V6 7 GPIO1 29 signal input 7 GPIO2 Camera 110 016 7 GPIO1 25 Reset 8 GPIO8 CANO Error 116 113 7 GPIO2 0 signal 9 GPIO3 Camera 1 117 V16 7 GPIO1 24 Reset 51 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc GPIO Header HEADER DIP Sitara AM335x CPU 14 2P 180D MALE 2 0mm Header Signal Function Signal Name Name 10 GPIO9 Error P117 1 12 7 GPIO2 1 VO signal active Low 1 2 input 3 4 11 GPIO4 HD Audio P112 U6 7 GPIO2 4 VO Reset 13 14 12 GPIO10 P118 C14 7 GPIO3 7 13 GPIO5 PWM output P113 7 7 GPIO2 3 VO 14 GPIO11 P119 B14 7 GPIO3 8 52 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 2 3 4 SPI 2 Header CN18 Two sets of SPI bus and 2 bus are p
17. MART BEE User s Manual Document Revision v 1 2 Embedian Inc 2 1 2 List of Jumpers The table below lists the function of various jumpers Label Function JP1 3 3W5V LCD Signaling Voltage JP2 RS232 RS422 RS485 Setting for SERO UARTO JP3 Hardware Reset JP4 External WatchDog Timer 2 1 3 Jumper Settings The following tables describe how the jumper shunts to various configurations JP1 Location on Board G2 JP1 3 3V 5V LCD Signaling Voltage Setting Function JP1 1 2 3 3V JP1 2 3 5V JP2 Location on Board A1 JP2 RS232 RS422 RS485 Settings Setting Function JP2 1 2 RS232 JP2 3 4 RS422 RS485 half duplex JP2 5 6 RS422 RS485 full duplex 19 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc JP3 Location on Board B1 JP3 Hardware Reset Setting Function Shunt JP3 and Release Hardware Reset Immediately JP4 Location on Board B1 JP4 External Watchdog Timer Setting Function JP4 Open Disable External WDT JP4 Closed Enable External WDT 2 1 4 Setting Jumpers You configure your board to match the needs of your application by setting jumpers A jumper is the simplest kind of electric switch It consists of two metal pins and a small metal clip often protected by a plastic cover that slides over the pins to connect them To close a jumper you connect the pins with the clip To open a jumper you remove the clip Sometimes a jumper will have three pins l
18. VDD LCD 29 VDD LCD 30 31 UD 92 33 NC Sitara AM335x CPU Function 595 V13 0 LCD DATA17 mE 596 U4 O0 LCD DATA11 597 V2 0 LCD DATA12 598 V3 0 LCD DATA13 S99 V4 0 LCD DATA14 5100 T5 9 DATA15 Ground Data EnabLe S120 H6 0 LCD AC BIAS EN Power Supply Power Supply Horizontal Image Shift directi on Select SignaL VerticaL Image Shift directi on Select Signal SBC SMART BEE User s Manual Document Revision v 1 2 37 Embedian Inc 3 1 3 7 LVDS Connector CN10 SBC SMART BEE provides with one LCD LVDS connector CN10 It supports 24 bit color depths The LVDS signal is implemented from parallel RGB LCD signals via a SN75LVDS83B interface IC on carrier board The following table shows the pin out of the CN10 LCD LVDS connector CN10 Location on Board H4 LVDS Connector CONN Edge Sitara AM335x CPU DF14 20P 1 25H Finger Header Pin Signal Function Pin Ball Mode Signal Name 1 1 GND 2 2 GND 3 3 A3P O 4 4 O 5 5 GND 6 6 CLKP O 7 7 CLKM O 8 8 GND 9 9 A2P O 10 10 2 O 11 11 GND 12 12 A1P O 13 13 1 O 14 14 GND 15 15 16 16 17 17 GND 38 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc LVDS Connector CONN Edge Sitara AM335x CPU DF14 20P 1 25H Finger Header Signal Name Function Pins Ball Mode Signal Name z 18 18 GND P 19 19 VCC
19. abeled 1 2 and 3 In this case you would connect either pins 1 and 2 or 2 and 3 1 2 3 ar A 4 Closed Closed 2 3 The jumper settings are schematically depicted in this manual as follows 1 2 3 o O O Open Closed Closed 2 3 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc A pair of needle nose pliers may be helpful when working with jumpers If you have any doubts about the best hardware configuration for your application contact your sales representative before you make any change 21 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 2 2 Switches The SBC SMART BEE has one switch SW1 that could determine the boot devices 2 2 1 Switch Location SW1 switch for boot configuration is located at 7 as shown in the following figure Figure 6 Switch Locations 22 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 2 2 2 List of Booting Device Configuration The table below lists the booting device configuration setting by SW1 Function Boot Configuration OFF ON ON Carrier SD Card 16 ON OFF OFF Module eMMC Flash OFF OFF OFF Module SPI NOR Flash 23 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 2 3 LEDs The SBC SMART BEE has two LEDs to indicate the 5V and 3 3V power status When power is fine the LED will light on 2 3 1 LEDs Location TN Figure
20. ation Parallel LCD 4 Wire Touch RS232 RS422 RS485 LCD 3 3V 5V jumper for UARTO Signaling Jumper LVDS Mic In 5V OK LED Speaker Out 3 3V OK LED UART3 USB Host Debug Port Figure 2 SBC SMAHRT BEE Peripheral Diagram 12 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 1 4 Layout Diagram The following section shows the physical location and reference designator of connectors configuration jumpers and other important features on the SBC SMART BEE single board computer 2 RIT ftf Yd UE cee Figure 3 SBC SMART BEE Connectors Headers Jumpers 13 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 1 5 Mounting Holes Mechanical Drawing Figure 4 shows the mounting holes information of SBC SMAHT BEE The diameter of mounting hole is 3 2mm and the diameter of the ring is 6mm 53 a 41 nL 1 lt mie Tx a E Labs p jis apa pis UE Le des Tt Tr rir dde Figure 4 SBC SMART BEE Mounting Holes Mechanical Drawing Information 14 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 1 6 Document and Standard References 1 6 1 External Industry Standard Documents eMMC Embedded Multi Media Card the eMMC electrical standard is defined by JEDEC JESD84 B45 and the mechanical standard by JESD84 C44 www jedec org The 2 Specification Versi
21. duction This Chapter gives background information on the SBC SMART BEE single board computer Section include Feature Set Overview Block Diagram Peripheral Overview Layout Diagram Document and Standard References SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Chapter 1 Introduction This document serves as a user manual and technical reference for the EMBEDIAN SBC SMART BEE single board computer The manual is intended for use by engineering personnel working with SBC SMART BEE systems SBC SMART BEE single board computer consists of a SMARC module and a SMART BEE carrier board The advantages of this architecture are that system can be easily upgraded by simply changing the SMARC module or expanded by replacing the carrier board The SMARC module is an industrial standard 1 1 Feature Set Overview The SBC SMART BEE has the following features e Length x Width 102mm x 145mm 4 0 x 5 7 3 5 inch form factor e 24 bit color packing single channel LVDS port e 18 bit color depth Parallel LCD port 3 3V or 5V LCD signaling option Reset Jumper LED Backlight support USB OTG mini AB connector USB Type A connector 2x Fast Ethernet 10 100Mbps ports with integrated magnetics On board 125 Audio Codec 3x RS232 ports one can be configured as RS422 RS485 e CAN Bus support 1 SPI 2 and 2 2 Header Boot Option Switch e SD Card slot e
22. er input connector of SBC SMART BEE is using 2 pin 5mm terminal block and located at CN2 The input power should be 5V There are 28V over voltage and 28V miswiring protection The following table shows the pin out of the CN2 power input terminal block connector CN2 Location on Board B5 40 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Power Input Connector Edge Sitara AM335x CPU Type Finger 2 pin screw type terminal block Pin Signal Name Function Pin Ball Mode Signal Name 1 5V 5V Input P 2 GND Ground Power P 3 1 3 10 SMARC Module Connector CN1 The SMARC Module is supported on CN1 This is a 314 pin MXMS style connector The CN1 pin out conforms to the SMARC Module specification Only 3 3V Module can be supported on the SBC SMART BEE single board computer The MXMS style connector used on the SBC SMART BEE single board computer is with a board to board spacing of 5mm The SBC SMART BEE carrier board has captive M2 5 threaded standoffs in the SMARC mounting hole positions The standoffs accept M2 5 screws inserted from above through the Module holes 3 1 3 11 RTC Backup Battery A 6 8mm diameter lithium coin cell battery is available in position CN3 The part number of coin cell battery on CN3 is Seiko MS621F FL11E The battery terminal is protected against charging as required by safety regulations by a Schottky diode and a 49 9 Ohm resistor R10
23. g or otherwise without the express written permission of EMBEDIAN Trademarks The following lists the trademarks of components used in this board ARM is a registered trademark of ARM Limited Android is a registered trademark of Google Linux is a registered trademark of Linus Torvalds WinCE is a registered trademark of Microsoft TI is a registered trademark of Texas Instruments All other products and trademarks mentioned in this manual are trademarks of their respective owners Standards EMBEDIAN is ISO 9001 2008 and 15014001 manufacturer SMARC is an SGET standard for ARM computer on module Warranty This EMBEDIAN product is warranted against defects in material and workmanship for the warranty period from the date of shipment During the warranty period EMBEDIAN will at its discretion decide to repair or replace defective products Within the warranty period the repair of products is free of charge as long as warranty conditions are observed The warranty does not apply to defects resulting from improper or inadequate maintenance or handling by the buyer unauthorized modification or misuse operation outside of the product s environmental 3 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc specifications or improper installation or maintenance EMBEDIAN will not be responsible for any defects or damages to other products not supplied by EMBEDIAN that are caused by a faulty EMBEDIAN
24. l number of the board This is a 12 character string which is MSCEWWYYnnnn Where WW 2 digit week of the year of production YY 2 digit year of production nnnn incrementing board number Pin Usage Two bytes for each configurable 74 pins on the expansion connectors Bit 15 Pin is used or not 0 Unused by Cape 1 Used by Cape Bit 14 13 Pin Direction 1 0 Output 01 Input 11 BDIR Bits 12 7 Reserved Bit 6 Slew Rate 0 Fast 1 Slow Bit 5 Rx Enable 0 Disabled 1 Enabled Bit 4 Pull Up Dn Select 0 Pulldown 1 PullUp Bit 3 Pull Up DN enabled O Enabled 1 Disabled Bits 2 0 Mux Mode Selection Mode 0 7 VDD_3V3EXP Maximum current in milliamps Current VDD_5V Current Maximum current in milliamps SYS 5V Current Maximum current in milliamps DC Supplied 242 2 Indicates whether or not the board is supplying voltage on the VDD 5V rail and the current rating 000 1 0xFFFF is the current supplied AvaiLabLe Available space for other non volatile codes data 61 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Chapter Quick Start Guide The purpose of this chapter is to provide a quick start guide so that developers can easily get the board up and running in few minutes 62 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Chapter 5 Quick Start Guide These quick start guides are intended to provide developers with simple instructions on how to install SBC SMART BEE
25. ncrementing board number Configuration Codes to show the configuration setup on this board For the available T335X supported the following codes used Option ASCII SMARCT33 default configuration Remaining 24 bytes are reserved AvaiLabLe Available space for other non volatile codes data 59 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 4 3 Carrier EEPROM Format The SBC SMART BEE carrier board includes an 2 serial EEPROM available on the 12 PM bus An On Semiconductor 24C32 or equivalent EEPROM is used in the Carrier The device operates at 3 3V The Module serial EEPROM is placed at 2 slave addresses 2 1 0 set to 1 2 slave address 5 hex bit address format or AO A1 hex 8 bit format for 2 EEPROMs address bits A5 A4 are set to binary 0101 convention The Carrier serial EEPROM is intended to retain carrier parameter information including serial number The carrier serial EEPROM data structure conforms to the PICMG EEEP Embedded EEPROM opecification Note The EEPROM ID memory layout is now follow the mainline and as follows Name Offset Size Contents bytes A 2 99 EEPROM Format 4 2 Revision number of the overall format of this Revision EEPROM in ASCII 60 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Name Offset Size Contents bytes Serial Number Seria
26. nector SERS UART3 CN16 SD SDHC Connector CN19 4 wire Touch Connector CN3 on Module JTAG Connector 27 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 1 3 Connector Pin Assignments The following tables describe the electrical signals available on the connectors of the SBC SMART BEE Each section provides relevant details about the connector including part numbers mating connectors signal descriptions and references to related chapters Pinout Legend Input O Output VO Input or output P Power AI Analogue input AO Analogue output AIO Analogue Input or analogue output OD Open Drain Signal Low level active signal 3 1 3 1 Serial Console Debug Connector CN14 SBC SMART BEE provides with one serial console port that using RJ45 as the connector The serial console port is available through a RJ 45 connector CN14 A RJ45 to DB9 cable with 1m long comes with the first time purchase only and is shown as follows The following table shows the pin out of the CN14 serial console connector 28 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 14 Location on Board C5 8 pin RJ45 Connector Sitara AM335x CPU Type Header Function Mode Signal Name 1 NC Not Connected 2 SER3 Receive Data 141 117 1 UART3 RXD _ RX 3 SER3 Transmit Data 140 116 1 UART3 TXD O 12345678 4 Not Connected 5 GND Ground P 6 NC Not Connected 7 NC No
27. on 2 1 January 2000 Philips Semiconductor now NXP www nxp com 125 Bus Specification Feb 1986 and Revised June 5 1996 Philips Semiconductor now NXP www nxp com JTAG Joint Test Action Group defined by IEEE 1149 1 2001 IEEE Standard Test Access Port and Boundary Scan Architecture www ieee org MXM3 Graphics Module Mobile PCI Express Module Electromechanical Specification Version 3 0 Revision 1 1 2009 NVIDIA Corporation www mxm sig org PICMG EEEP Embedded EEPROM Specification Rev 1 0 August 2010 www picmg org SD Specifications Part 1 Physical Layer Simplified Specification Version 3 01 May 18 2010 O 2010 SD Group and SD Card Association Secure Digital www sdcard org Bus Serial Peripheral Interface de facto serial interface standard defined by Motorola A good description may be found on Wikipedia http en wikipedia org wiki Serial Peripheral Interface Bus USB Specifications www usb org 1 6 2 Embedian Documents The following documents are listed for reference The schematic is not usually available outside of Embedian without special permission Contact your Embedian representative for more information SBC SMART BEE User s Manual SBC SMART BEE Pinmux File 1 6 3 Documents AM335x ARM Cortex A8 Microprocessors MPUs April 15 2013 rev F 15 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc AM335x Schematic Checklist Oct 31 20
28. owing diagram shows the AIC3106 block diagram from digital end to analog end AIC3106 Codec rc SCL Control SCL SDA Format SDA LINE IN Digital 45 McASP AXRIO MIC IN AARON D LINE IN ACLKR LINE OUT OUT mem HP OUT Figure 12 AIC3106 Block Diagram 56 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Chapter 2 0 Devices and EEPROM Format This Chapter points out the 2 0 device information and EEPROM format Section include e 2C Devices on Carrier e Module EEPROM Format e Carrier EEPROM Format 57 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Chapter 4 2 0 Devices and Carrier EEPROM Format This chapter introduces 2 0 devices SBC SMART BEE Also EEPROM format on carrier board will also be introduced 4 1 2 0 Devices There are five 2 devices the SBC SMART BEE and on the I2C PM I2C0 bus and are operated at 3 3V Those devices and their address details are listed in the following table Address Write 0x48 OxAO Device Description Address 8 bit 7 bit Read Bus 1 565217 0x24 0x49 2 on EEPROM 0x50 OxA1 Semiconductor CAT64C32 3 Seiko S 35390A Real time clock IC 0x30 0x61 4 Audio Codec Ox1B 0x37 TLV320AIC3106 S 0x57 OxAF Semiconductor CAT64C32 SBC SMART BEE User s Manual Document Revision
29. product Technical Support Technicians and engineers from EMBEDIAN and or its subsidiaries and official distributors are available for technical support We are committed to making our product easy to use and will help you use our products in your systems Before contacting EMBEDIAN technical support please consult our Web site for the latest product documentation utilities and drivers If the information does not help solve the problem contact us by e mail or telephone SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc Table of Contents CPT IANI RODO TION oa 9 7 0 17 8 5 ST PO EFE MW RO UU 9 PAGE MW a 10 155 HFEEADDO ETU EW 12 FIGURE 2 SBC SMART BEE PERIPHERAL DIAGRAM 2212020222212000000000000000000004400400000000444 12 DIN elisa 13 FIGURE 3 SBC SMART BEE CONNECTORS HEADERS 5 2 13 L3 MOUNTING HOLES MECHANICAL DRAWING see aii GRAFF AUD BREG AFF FYS WAWR US 14 1 6 DOCUMENT AND STANDARD REFERENCES ciecie aa e aia aE 15 CHAPTER 2 JUMPERS SWITCHES AND LEDS x A P EFYDD FRO O 18 YN FAN FO RF FFYN FY PE CR 18 FIGURE OC SOME EI LO CATION au 18 Y CF Y ee eee 22 FIGURE
30. resented CN18 The following table shows the pin out of the CN18 SPI and 2 header 18 Location on Board H1 2 Header HEADER Edge Sitara AM335x CPU DIP 14 2P 180D MALE 2 0mm Finger Header Pin Signal Name Function Signal Name 1 Reserved 2 SPI1 SPI1 Master P54 C12 3 SPI1_CS O Chip Select CSO output 3 SPIO_ SPIO Master P31 C15 0 SPIO CS1 O Chip SeLect 519 1 output 4 5 1 SPI1 Master P55 A15 4 5 11 51 1 2 Chip Select 3 4 51 1 output 5 SPIO_ SPIO Master P44 17 0 SPIO SCLK O 13 14 Clock SCLK output 6 SPI1_ 5 Master P56 A13 3 SPI1_SCLK O Clock output SCLK SPIO_ SPIO Master P46 16 0 SPI D1 O Data output 051 output from CPU tnput to SPI device 8 SPI1_ 5 1 Master P58 D12 3 SPI1 01 O Data output MOSI output from CPU input to SPI device 53 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 2 Header HEADER Sitara AM335x CPU Type DIP 14 2P 180D MALE 2 0mm Header Signal Name Function Ball Mode Signal Name 9 SPIO_ SPIO Master P45 B17 0 SPIO DO Data input MISO input to CPU output from device 10 SPI1 SPI1 Master P57 B13 3 5 1 00 Data input MISO input to CPU output from SPI 1 2 device 3 4 13 14 11 I2C_GP_ General S48 D15 3 I2C1 SCL OD CK purpose I2C bus clock 12 I2C LCD LCD display 5139 017 3 I2C2 SCL OD _CK I2C bus clock 13 I2C General 549 D16 3 I2C1_SDA OD DAT purpose 2 bus data
31. t Connected 8 NC Not Connected 29 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 1 3 2 USB Host Type A Connector CN6 SBC SMART BEE provides with one USB 2 0 host type A connector CN6 The following table shows the pin out of the CN6 USB host connector CN6 Location on Board D5 USB Type A Connector Edge Sitara AM335x CPU Finger Header Function Ball Mode Signal Name 1 USB1 USB1 supply P VBus max 500mA 2 USB1 Universal P66 R17 0 USB1 DM lO serial bus port 1 r 3 USB1 Universal P65 R18 0 USB1 DP lO serial bus port 0 4 USB_G USB Ground ND Note To protect the external power lines of peripheral devices make sure that The wires have the right diameter to withstand the maximum available current The enclosure of the peripheral device fulfills the fire protecting requirements of IEC EN 60950 The USB power lines are protected with a resetable fuse and are limited to 500mA If the USB device is powered from the SBC SMART BEE directly not from the external power make sure that the total power consumption does not exceed the DC power budget 30 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 1 3 3 USB OTG Mini Type B Connector CN7 SBC SMART BEE provides with one USB 2 0 OTG mini type B connector CN7 The following table shows the pin out of the CN7 USB OTG connector CN7 Location on Board E5 USB OTG Mini T
32. t Data 563 AO 3 GBE1 MDI1 Receive Data 565 Al 4 GBE1_MDI2 Transmit Data 566 NC 12345578 5 GBE1 MDI2 Transmit Data 568 From SMSC NC LAN8720A 6 GBE1 MDI1 Receive Data S69 Al 7 GBE1 MDI3 Receive Data 571 NC 8 GBE1 MDI3 Receive Data 572 NC L Left LED Duplex 523 Yellow S24 R Right LED Link and 55 Green 33 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 1 3 5 SD SDHC Connector CN16 SBC SMART BEE provides with one SD SDHC connector CN16 The SD slot could be used as a boot device or as a standard storage The following table shows the pin out of the CN16 SD SDHC connector CN16 Location on Board H5 50 50 Sitara AM335x CPU Signal Name Function Ball Mode Signal Name 1 5010 SD Insert P35 14 7 0 GPIO1 SDIO 03 Detect SD P42 F17 18 receive trans MMCO_ mit data DAT3 2 SDIO CMD SD receive P34 G18 0 MMCO_ O response CMD transmit command 3 GND Ground P 4 VDD SDO Power P 5 5010 SD Clock P36 G17 0 MMCO 1 _CLK 6 GND Ground 7 501000 SD P39 616 0 receive trans DATO mit data 8 501001 SD 615 0 mmco receive trans mit data 9 501002 SD P41 F18 0 receive trans DAT2 mit data 10 SDIO_WP SD Write P33 V14 yd GPIO1 Protect qu 34 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 1 3 6 LCD FPC Connector CN9 SBC SMART BEE provides with one LCD
33. utput AlO Analogue Input or analogue output OD Open Drain Signal Low level active signal 46 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 2 3 1 Asynchronous Serial Ports Header CN12 and CN13 The SBC SMART BEE single board computer supports three serial ports They are SERO SER1 and SERS SER3 is also used as serial debug port that is described in section 3 1 3 1 It has EIA RS232 RS422 RS485 compliant signal levels and polarities One of the three ports SERO have RTS CTS handshaking and two SER 1 and SERS have TX and RX data only without handshaking The SBC SMART BEE runs SERO and SER1 through one transceiver and SER3 through the other transceiver It could also runs SERO JP2 setting through a SN75HVD11D transceiver to become a RS422 or RS485 signals A 10 way box header to DB9 cable with 20cm long is available from Embedian for users easily testing the functions and is shown as follows Figure 11 10 way box header to DB9 cable The red line on the cable should align to pin 1 of the header The following table shows the pin out of the CN12 and CN13 asynchronous serial port header 47 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc CN12 Location on Board A4 RS232 RS422 RS485 Edge Sitara AM335x CPU Header HEADER DIP Finger 10 2P 180D MALE 2 0mm Header Pin Signal Function Pins Ball Signal Name Name 1 422 TX 485 RX 2 422
34. v 1 2 0x60 0x36 OxAE General purpose usage address General purpose parameter EEPROM Serial number etc in PICMG EEEP format General purpose parameter with INT1 register access General purpose usage address General purpose parameter EEPROM Serial number etc in PICMG EEEP format 58 Embedian Inc 4 2 Module EEPROM Format The SMARC module on SBC SMART BEE includes an 2 serial EEPROM available on the 12 PM bus An On Semiconductor 24C32 or equivalent EEPROM is used in the module The device operates at 1 8V The Module serial EEPROM is placed at 2 slave addresses 2 AO set to O 12 slave address 50 hex 7 bit address format or AO A1 hex 8 bit format for 2 EEPROMs address bits A5 A4 are set to binary 0101 convention The module serial EEPROM is intended to retain module parameter information including serial number The module serial EEPROM data structure conforms to the Embedded EEPROM opecification The EEPROM ID memory layout is now follow the mainline and as follows Name Size Bytes Contents Board Name Name for Board in ASCII SMARCT33 Embedian SMARC T335X Computer on Module Hardware version code for version in ASCII 00 0 rev AO Serial Number Serial number of the board This is a 12 character string which is MSCEWWYYnnnn Where WW 2 digit week of the year of production YY 2 digit year of production nnnn i
35. ype B Connector Edge Sitara AM335x CPU Finger Header Signal Name Function Signal Name 1 USB _VBus Power Supply P 12345 2 5 0 Data P61 N18 0 USB _DM 3 USBO Data P60 N17 0 USBO DP IO 4 USBO OTG Host cable P64 P16 USBO ID ID identification 5 GND Ground P 31 SBC SMART BEE User s Manual Document Revision v 1 2 Embedian Inc 3 1 3 4 Fast LAN RJ45 Connector CN4 and CN5 SBC SMART BEE provides with two Fast LAN RJ45 connectors CN4 and CN5 The following table shows the pin out of the CN4 LAN1 and CN5 LAN2 connectors CN4 Location on Board G5 Fast RJ45 Connector Header Signal Name 1 GBE MDIOs 2 GBE_MDI 3 GBE_MDI1 4 GBE_MDI2 5 MDI2 6 MDI1 7 MDI34 8 GBE_MDI3 L Left LED R X Right LED Function Transmit Data Transmit Data Receive Data Transmit Data Transmit Data Receive Data Receive Data Receive Data Duplex Link and Ack P30 P29 P27 P26 P24 P23 P20 P19 P21 P22 P25 SBC SMART BEE User s Manual Document Revision v 1 2 Sitara AM335x CPU Type Ball Mode Signal Name AO AO Al From SMSC NC LAN8720A NC Al NC NC Yellow Green 32 Embedian Inc CN5 LAN2 Location on Board F5 Gigabit RJ45 Connector Edge Sitara AM335x Type Finger CPU Header Signal Name Function Pin Bal Mode Signa L Name 1 GBE1 MDI Transmit Data 562 AO 2 GBE1 MDI Transmi

Download Pdf Manuals

image

Related Search

Related Contents

Surfer 8 User's Guide  eQuality™ 506DN Manuel d`Opérateur de la Surveillance  VARIO 150 - Domo  Toshiba Satellite M35X  Guía del usuario LG-A270 Español  EH-TW6600W - Projektor.pl  Atago PAL-1 (Digital Hand-Held Pocket Brix Refratometer  espace prive - Barreau de Lyon  Manual de Usuario    

Copyright © All rights reserved.
Failed to retrieve file