Home
uControl Platform Manual
Contents
1. 4 i 3 RJ d l amp yr d e uy s Bra Doo TITULADO j Li L b Li I 1 Dw Ba ra HE 1 To re Piet EU IPS 62684 4011 00ALF 3 19 User LEDs Version 2 1 www ultraflex net 2012 uControl Platfrom L S User Manual O3V3 CLKOLIT PWM TOUT GPPB8 GPP3 I2CSDAD TXD1 RADI TXDO RXDD IXD2 CISN gt RTSNU SPIMISOU SPIMOSID SPICLKO SPICSO SPIOCS1 SPIOCS2 5 TS Y TS X Ts Y n a a a 1 ame 7 T 5 E fall i AS E Lk pk b poer oc Per EY Re d a z gate n MCCC 1 i bee aa o4 ud S P L r 1 LUSBDN 2570 LUSBDP 3V1 any nsn E Eom p re Lu nd 5 4 ER nm 11 wm is Bh LA aa S T 3i D E mmm T uar T d a Eu Uu 3 VLCDbypass 18 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U r M n u 33 0 LDS LD3 E Q3 GP M3 GPM Version 2 1 19 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U r M
2. Version 2 1 11 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING User Manua 3 6 UART Interfaces There are total of four serial ports on the uConrol Platform one 5 wire RS232 serial port and three 3 wire TTL serial ports The RS232 has been used as debug port by default which can be connected to the PC to display debug information By default P7 is connected to UARTO but there is an option to connect UART1 insted if the resistor matrix from RN16 is replaced to RN17 TAD2Z32 RTS232 TADO RXDO CISNO 3x TTL UART 3 7 RS485 Version 2 1 12 www ultraflex net 2012 3 8 Keypad GPIO 3 9 3 10 Battery Connector THE ESSENCE OF ENGINEERING SPI amp I2C KP RP ROWI KP ROWS KP ROW4 ROWS KP ROWO KP ROW 50 SPICLKO I2C SCLO I2CSDAO SPI amp IC uControl Platfrom L S User Manual COLO COLI COL COL3 COL4 COLS COLG COL SPIMOSII SPIMISOI SPICSI SPICLKI O 3V3 The Real Time Clock on the uConrol Platform is powered by a button battery Version 2 1 www ultraflex net 2012 13 THE ESSENCE OF ENGINEERING UltraFlex uControl Platfrom L S D5 1 4 7 1 BATA W 7 F Do VDD RTC 1 4 I BAT42W 7 E RIC Batt Conn C108 C89 User Manual 100nF SOV bono 3 11 GPIO1 2 x 10pin IO pins are reserved on the
3. UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U r M n u uControl Platform SL User Manual Hardware and Software Overview Version 2 1 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u Introduction uConrol Platform is an Embedded Computer Single Board Computer based on the 667MHz Samsung S3C6410 ARM11 microcontroller uConro Platform embodies abundant of built in resources and powerful video processing capacity which make it reliable for the development of higher end products Together with the uConrol Platform we provide BSP Board Support Package for Windows CE and Linux Embedded including basic drivers for all the components on the board and demostration programs which we believe can help the users in understanding the ARM architecture and shortening their development circle uConrol Platform package includes the following e uConrol Platform touchscreen and Control boards 5V power supply Software DVD When using the Development Board for the first time please do read and follow the user manual to prevent unnecessary troubles and damages Every time before powering on the Development Board please touch anyone of the metallic interface with your fingers to unload the Electrostatic Do not touch the chips with your fingers OrderOptions uConrol Platform can be ordered in the following standard configurations uConrol O M E
4. Microphone oe mM FT and Line In oe 35271277 connector Stereo audio jack 3 5mm P12 P1 P10 P6 Version 2 1 7 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U r M n u 2 The S3C6410 microcontroller supports booting from either NAND Flash Nor Flash or SD card The boot mode can be set by setting 8 bit toggle switch S1 Setup Layout SEL OMA OM3 OM2 OM1 GPN15 GPN14 GPN13 NAND worn e yee 1 indicates ON while 0 refers to OFF X indicates high low power level The is a signal that selects the clock source When is set as 0 is selected as the clock source while when the OMO is set as 1 EXTCLK is selected On the uConrol Platform SBC we selected R38 LOK SELNANII OMO The signal SELNAND determines the type of NAND memory It should be 1 high power level when using NAND Flash while 0 Ilow when using ONENAND On the uConrol Platform we use NAND Flash therefore the power level of the SELNAND signal is high Version 2 1 8 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u EINT13 EINT14 and EINT15 are pins that set the boot device for boot mode When booting in IROM mode the S3C6410 microcontroller first runs the in chi
5. lt y H gt Press y and Enter Then press to download the u boot to the NAND Flash Enter your Selection u Downloading u boot bin from USB Insert a OTG cable into the connector OTG cable Connected Download address 5 008 000 Click the DNW menu USB gt Transmit Transmit and open u boot bin the coming pop up window to download the u boot to the Flash Version 2 1 26 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U r M n u Documents My Documents T Computer My Network File name Inm Flaces Files of type BIN Files bin lst ubi dia Lancel Setting Nand Flash Boot Set the 8 bit toggle switch 51 Setup to boot from Nand Flash as shown in Chapter 2 4 5 Burning Linux Kernel Before burning the Linux kernel make sure that the steps the chapter 4 4 have all been Version 2 1 27 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U r M n u done i e make sure that the u boot has been burnt and the uConrol Platform boots from NAND Flash the above mentioned steps are finished restart the uConrol Platform and press any key during the boot delay to enter the u boot command menu Press and then click USB Port Transmit Transmit and open the Linux kernel at DVD Linux2 6 36 de
6. n u 4 Software Instalation 4 1 Installing Cross Compiler Cross compiling simply means to compile executable code for a platform on another platform a PC for instance Before cross compiling we have to install cross compiler tool chains first A cross compiler named as Cross 4 2 2 eabi tar bz2 has been enclosed in the DVD to install the cross compiler Transmit the file Cross 4 2 2 eabi tar bz2 to Ubuntu through FTP and execute the commands below cd ultragui mkdir usr local arm tar xjvf cross 4 2 2 eabi tar bz2 C usr local arm The cross compiler will be installed in usr local arm 4 2 2 eabi 4 2 Compiling u boot 1 1 6 U boot short for Universal Bootloader is an open source bootloader that boots Linux on the uConrol Platform The source code of u boot can be found in the folder linux 2 6 36 u boot 1 1 6 in the DVD Copy the source code uboot1 1 6 UltraGUI_v1 0 tgz to the directory ultragui and un zip it tar xzf u boot 1 1 6 2636 tgz The commands below compile the u boot bootloader cd uboot1 1 6 make smdk6410 config make When the compilation is done the u boot binary named as u boot bin will be found in the directory uboot1 1 6 which we can downloaded to the Platform and use as Linux bootloader Version 2 1 20 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U r M n u 4 3 Compiling Linux Kern
7. uConrol Platform for the users which includes 4 ADC input 2 DAC output 1 PWM 1 Clock output GND 3 3V output and others as normal IOs ADCIN3 GPEO ADCIN GPEI ADCINI GPE ADCING GPES GPKO DAC OUTO DAC OUTI OPES CLEOUT an PWM TGUTI 3 12 JTAG Version 2 1 www ultraflex net 2012 14 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING User Manua The JTAG interface Platform provides access to both the ARM11 core and S3C6410 in chip peripherals The DBGSEL signal determines which device to access When the power level of DBGSEL is high the JTAG interface provides access to the S3C6410 in chip peripherals when the power level of DBGSEL is low the JTAG interface provides access to the ARM11 core The power level of DBGSEL can be set by the jumper JP2 DBGSEL E i Lau TDI DetaultPos Closed tt NRESE 3 13 Mini USB The USB OTG interface Mini USB A B port supports USB 2 0 protocol with the maximum speed up to 480Mbps The USB OTG interface can be used for downloading programs Vbus gt 235 USB Mini AB 100nF 50V 3 14 Ethernet RJ45 DM9000 Ethernet chip is used on the uConrol Platform to implement 100M Ethernet During the development the Ethernet port can be used to download WinCE binaries mount NFS in Linux The interrupt signal takes the EINT7 on the S3C6410 Version 2 1 15 www ultrafl
8. 0 For WinCE COM1 115200bps USB x ADDR 0x5 e00000 Serial Pork USB Pork Configuration Help JE 3E 3E 3E 3E JE IE IE E JE 3E E 3E E 9E 3E 3E mkdir cannot create directory mnt disk File exists yaffs deu is 32505859 name is mtdblock3 rw Uatfs passed flags Try to bring ethB interface up eth link down Done Starting Qtopia please wait Please press Enter to activate this console touch new full speed USB device using s3c2418 ohci and address 2 device descriptor read 65 error 62 device descriptor read 65 error 62 new full speed USB device using s3c2418 ohci and address 3 deuice descriptor read 65 error 62 device descriptor read 64 error 62 new full speed USB device using s3c2418 ohci and address 4 device not accepting address 4 error 62 1 8 unable to enumerate USB device on port 2 root 0K6410 The SD card should be automatically mounted to sdcard we can check this by executing the command below Is sdcard We know it is mounted if files in the SD card are listed In case that it is not we can mount it with mount dev mmcblkO sdcard As soon as the SD card is mounted we can decompress the YAFFS2 filesystem to the NAND Flash tar zxvf sdcard OK6410_yaffs2_v3 0 tar C mnt disk The decompressing will take some time Please wait until the command line shows up again R
9. 1 83 GiB is off ssuming drive cache write through o CD CD ee 1 re ir OCI OJ OJ Version 2 1 34 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING User Manua The device file for the USB disk can be found at dev udisk we can unmount the disk typing the following commands umount udisk mkdir tmp udisk mount dev udisk tmp udisk Upto 32GB USB Disk is supported by uConrol Platform 5 5 Network Test Configuration Configure the IP address with the command ifconfig we can setup the IP address for example ifconfig ethO 192 168 1 99 up 192 168 1 99 in the command above is the IP address you may set it to your own one Configure Gateway route delete default route add default gw 192 168 1 12 Modify name server The name server is configured in the file etc resolv conf it should be something like this in the file nameserver 192 168 1 11 PING Test We can test the network connecting by using the ping command for example ping 192 168 1 100 10000 Version 2 1 35 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U r M n u 6 Writing simple applications We can create a simple application to control the User LEDs of the uConrol Platform board 6 1 Create a c file We are going to create a led c file and we will copy a
10. Control Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u v0 60C For WinCE COM41 115200bps USB OK ADDR 0x5 7e00000 EIE Look in demo images 1s u baot bin Mu A ecent Documents Desktop Network File name UltralaUl_ OT 2 cramfs Places Files of type All Files Cancel E The cramfs filesystem will be downloaded and automatically burned to the NAND Flash The burning of cramfs filesystem will take some time please wait in patience We will see the u boot menu again as soon as the burning is done By now we have burned everything needed for a Linux system bootloader kernel and filesystem We can now boot the Linux system by pressing b in the u boot menu Qtopia interface will be shown on the LCD as soon as the Linux is booted tap the LCD to enter the application interface Burning YAFFS2 Filesystem CRAMEFS filesystem is read only filesystem in case that we need to write something to the filesystem while using the uConrol Platform we can use the YAFFS2 filesystem YAFFS2 filesystem is provided at DVD Linux2 6 36 filesystem OK6410 yaffs2 v3 O tar Copy it to SD card and connect the SD card to uConrol Platform Version 2 1 30 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u Boot the Linux system on uConrol Platform and enter the Linux console DNW 0 6
11. XAMPLE uControl 1 5 O Operating system A Android 2 1 Linux Embedded 2 6 Wc Windows CE6 0 without OS M NAND RAM A Android 2 1 Linux Embedded 2 6 W Windows without OS Version 2 1 2 www ultraflex net 2012 UltraFlex THE ESSENCE OF ENGINEERING TABLE OF CONTENTS 1 General Description 2 Boot Mode 3 uControl Interface Board Schematics 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 3 10 3 11 3 12 3 13 3 14 3 15 3 16 3 17 3 18 3 19 DC Power Supply 1 USB Host Audio Line in and microphone CAN BUS UART Interfaces RS485 Keypad GPIO SPI amp I2C RTC Battery Connector GPIO1 JTAG Mini USB Ethernet RJ45 50 Key Inputs Reset Button LCD Connectors User LEDs 4 Software Instalation 4 1 Installing Cross Compiler 4 2 Compiling u boot 1 1 6 4 3 Compiling Linux Kernel 4 4 Burning U BOOT 4 5 Burning Linux Kernel 4 6 Burning File System Version 2 1 www ultraflex net 2012 uControl Platfrom L S User Manual 10 10 10 10 11 11 12 12 13 13 13 14 14 15 15 16 17 17 17 18 20 20 20 21 22 27 29 UltraFlex uControl Platfrom L S User Manual 5 Configuring and Testing functions in Linux 32 5 1 Configuring LCD Resolution 32 5 2 Recalibrating Touch Screen 32 5 3 Testing SD MMC Card 33 5 4 USB Host Test 33 5 5 Network Test 35 6 Writing simple applications 36 6 1 Create c fil
12. a SDHC card higher than 2GB in the folder Tools SDboot select the SD drive and then click the START button to start fusing the SDboot image to the SD card A dialog box as shown in the picture below indicates that the fusing is done Note that there are two SD bootloaders in the directory Sdboot Use 0 6410 SDboot nbO for 2GB or lower SD card TE6410 Sdboot sdhc nbO for SDHC card bigger than 2GB 7 IROM_Fusing_Tool 1987582 Drive START Setting Boot Mode Insert the micro SD card to uSD slot on the uConrol Platform m Set up the S1 Jumper block to SD card boot mode as shown chapter 2 Connect the RS232 P7 serial port cable USB cable and power supply to the uConrol Platform Find the DNW program in the DVD folder Tools copy it to a local folder and run it In the DNW window click the menu item Serial Port gt Connect to connect to the uConrol Platform via serial port when it is connected we will see something like COM1 115200bps on the DNW title bar Version 2 1 22 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u Power uConrol Platform we will see the SDboot message DNW window DNW v0 60C For WinCE COM1 115200bps USB OK ADDR 0x57e00000 Seles Serial Port USB Pork Configuration Help Reset AnRESET RSTSTRT 0 1 UVCO 1 864GH2 USB OTG Dow
13. as soon as it is downloaded Press the Space Bar during the boot delay to enter the u boot command menu As shown below Version 2 1 24 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u DNW v0 60C For WinCE COM1 115200bps USB x ADDR 0x57e00000 SE Serial Pork USB Pork Configuration Help SoC6418 3532HHz Felk 532HHz Hclk 133HHz Pclk 66HHz Serial CLKUART SHOK 128 kB 256 HB serial Serial serial Hit any key to stop autoboot HHHHHHHHHHHHHHHHHH User Menu for UltratisUI H HHHHHHHHHHHHHHHHHHHHHHHH Format the flash Download u boot bin Download zImage c Download cramfs b Boot the Linux system e Exit this menu Reboot the u boot Enter your Selection Inthe u boot command menu press f to format the NAND Flash Version 2 1 25 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u DAW 0 600 For WinCE COMT 115200bps USB OR Serial Port USB Pork Configuration Help b Boot the Linux system Exit this menu r Reboot the u boot Enter your Selection f scrub device whole chip Warning scrub option will erase all factory set bad blocks There is no reliable to recouer them Use this command only for testing purposes if you are sure of what you are doingt Really scrub this MAND flash
14. e 36 6 2 Cross compiling 37 Version 2 1 4 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u 1 General Description The uConrol Platform and its software package provide LCD touch interface for industrial medical and consumer appliances The board provides various physical means of communication as well as support for popular industrial and commercial protocols It is high performance Single Board Computer based on the ARM11 architecture micro processor Samsung S3C6410 The board support wide range of peripheries and interfaces such as USB SD LCD Ethernet RS485 industrial CAN Bus and powerful video controller The uConrol Platform is the ideal product for developing and implementing different types of industrial applications and controls uConrol Platform include S3C6410 CPU mobileDDR RAM NAND Flash and NOR Flash We provide BSP Board Support Packages for Android 2 1 Embedded Linux 2 6 and Windows CE6 0 which provide drivers for all the bottom interfaces devices and utility applications The S3C6410 is one of the highest performance 32bit RISC microprocessors designed to provide high performance and low power capabilities It includes powerful hardware accelerators for motion video processing audio processing 2D graphics acceleration display manipulation and scaling Integrated Multi Format Codec supports encoding and decoding of MPEG4 H 263 H 264 and decoding of VC1 The
15. el For the uConrol Platform we provide the Linux 2 6 36 2 kernel kernel source code named as linux2 6 36 2 tgz in the folder linux2 6 36 2 kernel in the shipped DVD copy it to the directory ultragui and un zip it tar xzf linux2 6 36 2 tgz Configurations We might need to install the libcurses5 before we can execute the make menuconfig command E sudo apt get install libncurses5 dev Restore the default configuration linux2 6 36 2 OK6410 config note the blank space between the G and Configure LCD type The uConrol Platform Linux system supports 3 5 4 3 5 6 7 and 8 LCDs The LCD types are selected in Device Drivers gt Graphics support gt Support for frame buffer devices Compiling Kernel The command below compiles the Linux kernel into zlmage binary make zlmage When the compilation completes the binary image zlmage will be found in the directory arch arm boot Version 2 1 21 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING User Manual 4 4 Burning U BOOT Fusing SDboot to SD card Insert a SD card formatted as FAT32 to a card reader and connect the card reader to the PC Find the IROM_Fusing_Tool exe in the folder Tools SDboot in the DVD double click to run it In the IROM Fusing Tool window click Browse and open the file OK6410 SDboot nbO or TE6410 Sdboot sdhc nbO if you are using
16. eset the uConrol Platform and press any key during the boot delay to enter the u boot Version 2 1 31 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U r M n u menu press the menu to enter the u boot command line and execute command below to configure the boot parameter setenv bootargs root dev mtdblock3 rootfstype yaffs2 consle dev ttySACO 115200 and the one below to save the modification Reset the uConrol Platform the YAFFS2 filesystem will be started 5 Configuring and Testing functions in Linux In this chapter we test the drivers and services in the Linux system Hyper Terminal is recommend to be taken as the serial port console 5 1 Configuring LCD Resolution In Linux 2 6 36 we can configure the LCD resolution by modifying the u boot parameter Press any key during the boot delay to enter the u boot menu press e in the menu to enter the u boot command line and execute the command below to configure the boot parameter setenv bootargs root dev mtdblock2 rootfstype cramfs console ttySACO 115200 Icdsize 35 The command above configures the LCD size to 3 5 inch Use the one below for 4 3 LCD setenv bootargs root dev mtdblock2 rootfstype cramfs console ttySACO 115200 Icdsize 43 For 5 6 LCD setenv bootargs root dev mtdblock2 rootfstype cramfs console ttySACO 115200 Icdsize 56 For 7 LCD setenv boota
17. ex net 2012 uControl L S UltraFlex THE ESSENCE OF ENGINEERING User 3 15 uSD The 4 wire SD card slot supports both SD Memory 2 0 and SDIO 1 0 protocol As SD memory interface it supports up to 8GB SD card as SDIO it can be used to connect WIFI module GPS module and etc MMCO CLK 23 MMCO_CMD MMCO DATAS DATA2 Ls MMCO DATA DATAO Ly MMCO CDN Version 2 1 16 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING User Manual 3 16 Key Inputs gt GPH1 GPH2 GPN4 19 GPN5 dq _ amp lei T b 2 ie 2 3 17 Reset Button Masked HW reset input SWT B3LI T00CP 3 18 LCD Connectors Version 2 1 17 www ultraflex net 2012 UltraFlex THE ESSENCE OF ENGINEERING NO JUMPER 3 UD LAS TNC L 2 A LL es Wu a d ch L ux LVD15 LVD14 LVD13 012 LVD10 LVD65 30 38 1 i 4 m EA pu i Dude ad nat caller di e n Da E ae su TS an 1 T ow 1 2 3 is m aL CIV a E Ty J b be 21 e
18. ia mouse amp to do this cd etc init d vi rcS an 4477 Move the cursor to character behind bin qtopia press i to insert mouse then ESC to quit the Insert Mode and then execute to save the modification The uConrol Platform needs to be restored in order to validate such modification USB Keyboard is Plug and Playable on the uConrol Platform we will see the information as shown in the picture below when a USB keyboard is connected to the uConrol Platform rootB TEG410 usb 1 1 new low speed USB device using s3c 410 ohci and addres usb 1 1 configuration 1 chosen from 1 choice input USB USB Keykoard as class input inpute generic usb 0003 1C4F 0002 0002 input USB HID v1 10 Keyboard USB USB Keykoard on usb s3c24xx 1 input dr ivers hid usbhid hid core c usb submit urbtctrlJ failed generic usb 0008 1 4 0002 0003 timeout initializing reports input USB USB Keykoard as class input input3 1 10 Device USB USB Kevkoard on usb s3c 4xx 1 input 1 Just like the SD card USB disk will be automatically mounted to the directory udisk as soon as it is connected new full configuration 1 chosen from 1 choice 5 51 emulation for USB Mass Storage devices 0 0 0 0 Direct Access USB 2 0 SO MMC Reader d 0 ANSI 0 CES 0 020 0 0 0 0 020 QOO UO sda 0 0 0 sda Attached SCSI removable disk 0 0 0 SCs 1 96 GB 1 83 GiB write through 1 96 GB
19. microprocessor includes ARM1176ZJF 667MHz VFP SIMD Java acceleration engine 16KB 16KB I D Cache and 16KB 16KB 1 0 65nm low power process 133MHz expansion bus frequency 32bit data bus and 32bit external address bus 32 channel controller Built in hardware and Multi Format Codec AC 97 audio codec interface and PCM serial audio interface SRAM ROM NOR Flash Interface with x8 or x16 data bus Muxed OneNAND Interface with x16 data bus Flash Interface with x8 data bus SDRAM Interface with x32 Port1 data bus Mobile SDRAM Interface with x32 Port1 data bus DDR Interface with x32 Port1 data bus Mobile DDR Interface with x32 Port1 data bus The uConrol Platform have 128MBytes DDR RAM NAND Flash audio USB UART and Ethernet Board introduces most signals that provided by the ARM11 S3C6410 like Matrix Keypad USB OTG USB HOST SDIO LCD Touch Screen Camera AC97 UART SPI I2C ADC DAC PWM EXT INT GPIO and so on Additional ISP protection is provided for the touchscreen USB and the ADCO 3 modules Version 2 1 5 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u Platform Features 667MHz Samsung S3C6410X microcontroller 128 256MBytes mDDR RAM 266MHz system bus 256 1024MBytes NAND Flash WMS9714 audio codec AC97 interface 10 100M DM9000A E
20. mo_images zlmage DNW v0L60C For WinCE COM41 115200bps USB OKI ADDR 0x5 7200000 4 Lookin Ej I u baot bin QT2 cramfs Recent Documents Desktop Mu Documents Computer My Network File name zImage T Flaces Files of type All Files The Linux kernel will be downloaded and automatically burned to the NAND Flash Version 2 1 28 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u DNW 0 60 For WinCE COM1 115200bps USB OK ADDR 0x57e00000 Sele Serial Pork USB Pork Configuration Help 824666608 62 mplete 82426688 65 mplete 6244566608 6o complete 6246606808 mplete 8088 72 mplete bx 4a 66608 mplete 624c 6688 ffcomplete G2 4e 6668 88 mplete 0x5 06668 82 mplete 0x52 0000 85 mplete 825466608 s complete 625660608 98 mplete 0x58 0000 9 mplete z5algBBH 95 mplete dx5cHBBH mplete xbLeHBHH 166 mplete HAND write device B offset Bxl BBBH size x5B8888H 5 242888 bytes written OK Writing zImage successed 4 6 Burning File System Two kinds of filesystems are provided for the uConrol Platform cramfs and yaffs2 Burning CRAMFS Filesystem uuu Press C in the U BOOT command menu and download the DVD Minux2 6 36Ndemo imagesNVOK6410 Qtopia47 cramfs Version 2 1 29 www ultraflex net 2012 UltraFlex u
21. nd save the following code int main void int on 1 int led int fd fd open dev leds 0 if fd lt 0 perror open device leds 1 printf leds test show press ctrl c to exit n while 1 for led 0 led lt 4 led ioctl fd on led usleep 60000 on close fd return 0 Version 2 1 36 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U r M n u 6 2 Cross compiling Cross compiling means to compile a program that targets another platform for example to compile the led c program on the PC and run it on Platform Use the cross compiler arm linux gcc 4 2 2 eabi installed in chapter 4 1 to cross compile the led c for uConrol Platform usr local arm 4 2 2 eabi usr bin arm linux gcc o leds arm led c The command above is executed on the Linux PC and compiles the led c into executable program leds arm copy the resulted executable to the uConrol Platform and execute leds arm command to run it Version 2 1 37 www ultraflex net 2012
22. nloader uB 1 2811 86 13 Ultraflex International uuuw Ultraflex net 532 88HHz HELKx2 266 88HHz 133 B8B8HHz 66 58HHz UIC mode Sync USB hast 15 not connected yet Waiting for USB host connection USB host 15 connected tt Bulk In EP 1 Bulk Out EP 2 Speed High DHA mode Download amp Run is selected Select a File to download in DHU Installing USB Driver We will get Found New Hardware Wizard if it is the first time that we run the SDboot Follow the wizard to install the USB driver for DNW DVD Drivers USB DriverNUSB Driver for DNW As soon as the USB driver is installed we will see the information like USB OK on the DNW title bar Burning U BOOT to NAND Flash Click the DNW menu Configuration gt Options and configure the download address to 0x57e00000 as shown in the picture below Version 2 1 23 www ultraflex net 2012 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u UART USB Options Serial Port Baud Rate COM Port 115200 t R7600 COM 38400 COM 3 19200 COM 4 14400 9600 USB Port Download Address 0 7 00000 Click USB Port gt Transmit gt Transmit and open the file u boot bin in the folder Linux2 6 36Ndemo images in the DVD The u boot boot loader will be downloaded to the uConrol Platform and booted
23. p ROM firmware reads the statues of EINT15 EINT14 and EINT13 then according to the statues of the pins selects the boot device OM1 OM4 are the pins that set the boot mode of the S3C6410 Version 2 1 9 www ultraflex net 2012 UltraFlex THE ESSENCE OF ENGINEERING 3 uControl Interface Board Schematics 3 1 DCPower Supply Vbp Y 173 5446 4 Pl DC POWER SUPPLY 5 14V de 3 4 1 Optional interface for WiFi 802 11 b g SD MMC adapter C35 JOOnF 50V MMCI MMC WEN MMC1DATAT i MMCTDATAQ 2 MMC1_CLK 4 CDN A 1 CMD DATAS K 1 DATAZ 2 d MZ 3 3 USB Host uControl Platfrom L S User Manual C37 mum ok 1OuF 6 3V The USB Host interface on the uConrol Platform supports USB1 1 protocol it can be used to connect USB keyboard USB hard disk USB mouse USB memory stick etc Version 2 1 www ultraflex net 2012 10 UltraFlex uControl Platfrom L S THE ESSENCE OF ENGINEERING U S e r M n u USBDP USBDN 3 4 Audio Line in and microphone The uConrol Platform SBC takes the 97 bus on S3C6410 to implement audio I O The 9714 sound chip realizes audio output Line and MIC input LINEinL MIC uF 10V AUDIO IN GNDAC 97 MICBIAS GNDACO 3 5 CAN BUS The CAN Bus on the uConrol Platform is implemented by the MCP2515 chip which supports 2 0 standard Cant C anH
24. rgs root dev mtdblock2 rootfstype cramfs console ttySACO 115200 Icdsize 70 The parameters need to be saved after making the configuration saveenv reset 5 2 Recalibrating Touch Screen A touch screen calibration program has been included in the filesystem we can run it to re calibrate the touch screen Before running the calibration program we have to terminate the Qtopia Version 2 1 32 www ultraflex net 2012 killall qpe Then execute calibrate to run the calibration program Five cross hairs will be shown on the LCD click the center of the cross hair to calibrate the touch screen TLIE calibration utility Touch crosshair to calibrate As soon as a SD card is inserted into the SD card slot it will be mounted automatically to the directory sdcard and we should be able to view the files in the card with File Manager We can also mount unmount the SD card using the commands below mount dev mmcbIkO sdcard umount sdcard Version 2 1 33 www ultraflex net 2012 USB mouse and the touch screen could not be supported at the same time the QTE The Filesystem installed on the uConro Platform supports touch screen by default by executing the command below we can switch to USB mouse mouseinput and touchinput switches back to the touch screen We can also modify the Filesystem to provide support to the USB mouse In the file etc init d tcS find the line bin qtopia amp to bin qtop
25. thernet chip One reset button implemented with specific reset chip 8 bit jumper for selecting boot mode Four serial ports including 1 5 wire RS232 P7 and 3 3 wire TTL P6 12 2 0mm pitch connecotr One RS485 One 2 0 Bus P5 One 100M Ethernet port with DM9000AEP and indicators One USB Host interface supporting USB1 1 protocol P3 One USB Slave MINI USB interface supporting USB2 0 protocol 45 One high speed SD card slot supporting SD Memory and SDIO J7 One 3 5mm standard Stereo audio jack J4 One conector with microphone and line in P4 LCD and touch screen interface supporting 3 5 4 3 5 6 5 7 7 8 TFT LCD and 10 LVDS LCD Built in RTC Real Time Clock with back up battery interface using 2 10pin connector 13 Six user buttons amp four user LEDs One 2 10pin expansion interface P12 4 ADC input 2 DAC output 1 PWM 1 Clock output 3 GND 3 3V output and others as normal IOs P12 1x SPl and 1 x 2 interfaces P10 1 Keypad connector P9 Version 2 1 6 www ultraflex net 2012 User Manual UltraFlex uControl Platfrom L S SW7 5W1 6 P11 J3 P2 S1 BOOT MODE CFG JUMPERS RTC Batt USB2 0 Slave MINI USB 4 4 L2 NT k Hn i i SD slot 4
Download Pdf Manuals
Related Search
Related Contents
Descargar Benutzerhandbuch für das Handlesegerät Istruzioni per l`uso Resipod Family Sony SVF14A16CXB Marketing Specifications Programming with Reflection: Visual Basic User Guide Ruflan(ルフラン)取扱説明書 製品環境技術標準 Please note Grandstream Networks, Inc. 楽習講師企画講座 Copyright © All rights reserved.
Failed to retrieve file