Samsung s3c6410-TFA Manual

Android development started

Advertisement

Quick Links

S3C6410-TFA Android development started

Advertisement

Table of Contents
loading

Summary of Contents for Samsung s3c6410-TFA

  • Page 1 S3C6410-TFA Android development started...
  • Page 4: Table Of Contents

    TABLE OF CONTENTS Introduction to S3C6410-TFAAndroid development ..................- 1 - 1 .Installation and use Android ........................- 5-- 1.1 Install Android ............................- 5-- 1.2 touch screen calibration ..........................- 6-- 1.3 Rotate the screen display .........................- 7-- 1.4 Android shortcut icon on the status bar shows..................
  • Page 5: Installation And Use Android

    S3C6410-TFAAndroid development started S3C6410-TFAsoftware and S3C6410-TFA is fully compatible, so the path is set, the default configuration file, have followed the S3C6410-TFA of manuals, based on the actual situation may be slightly different, if in doubt, please contact us: Info@Esys.ir Before, for the Android system, we mainly used to solve the Android file system UBIFS fast programming, and provides a running Android through SD card method, and their steps are very simple to use.
  • Page 6: Touch Screen Calibration

    The development board a total of eight user key, which is defined in the android system in the following table: Key Number Function defined Key Number Function defined next Cancel left Right Menu (long press menu to rotate the screen display) Home 1.2 touch screen calibration When you install the Android system, the first time, there will be a calibration interface, as shown, the...
  • Page 7: Android Shortcut Icon On The Status Bar Shows

    As you can see the front, Android 2.3 is a cross in the startup screen display, to switch to vertical screen display, you can press the Menu key development board (that is, K2) can, portrait and landscape screen display as shown below: 1.4 Android shortcut icon on the status bar shows Operation We Android2.2 the status bar added four shortcut icons, easy to use touch screen to be able to complete all...
  • Page 8: Adjust The Volume

    You can use the arrow keys on the board selection, and OK, Cacel keys and other open or close the program, the following is the playback interface. 1.6 adjust the volume Any time, you can click the status bar on the two small speakers for volume control, as shown below:...
  • Page 9: Recording

    1.7 Recording We built in Android DroidRecord recording software, you can use it for recording and playback, the program icon as shown in the picture below on the left, click on it to start the recording process, recording the program starts, the interface as shown: Please refer to the following steps to start the recording, and the recovery record:...
  • Page 10: To Use Wifi Wireless Internet Access

    1.8 use WiFi wireless Internet access S3C6410-TFAand S3C6410-TFAsupport SD-WiFi as well as most USB WiFi wireless LAN market, following the SD-WiFi WiFi is set up as an example, USB WiFi setup is basically the same: Before turning it on, the SD-WiFi module is first received the SDIO pin development board seat, that is, CON11, Fig.
  • Page 11 Then boot into the Android system, according to the Menu (K2) Setting key points Enter the System Setup main menu: Interface appears as shown in Figure menu, point wireless network settings option "Wireless & network", can also use the arrow keys to select, and point the OK button (K8) to enter Click on "Wi-Fi"...
  • Page 12 Point "Wi-Fi settings", or use the arrow keys to select it, press the OK key (K8) to enter This can be seen already in search of wireless access point, select the connection you want, set a password window, enter the password, click "Connect" to connect the beginning Connection is successful, will appear in the top task bar icon for WiFi...
  • Page 13: Graphical Interface Cable Network Settings

    @as shown in the following picture Then press the Home button to return to the main Android interface, point the browser, enter the URL, you can browse the Internet, and 1.9 graphical interface cable network settings Development board pre-installed Android system, the desktop has an Ethernet Setup, as shown: Click to enter, it will automatically connect to the network (by default to use DHCP), wait a moment will be connected to complete a successful connection to, click the green ICON, you can view the network information, as shown below:...
  • Page 14 (Connection ...) (connection success) (see web for details) 1. Manually set the IP address and other network parameters at the interface point "Settings" button to begin setting up the network parameters. You can see the first line "Ethernet Network" is checked, indicating that Ethernet is enabled. The second line "Use static IP"...
  • Page 15 Followed by the same method set up other network parameters: Gateway, Netmask, DNS, note that if you want on the Internet, be sure to set up DNS. After setting, press K1 key development board (Back) to return on an interface, it will automatically reconnect to the network.
  • Page 16: Using The 3G Card On The Dial-Up

    1.10 using the 3G card on dial-up For your convenience, we designed and developed specifically for the Android platform a 3G dial-up program that can automatically detect and support the 100 kinds of models of USB card, which is mainly based on internal use of the chip on the card depending on the model, covering WCDMA, CDMA2000, TD- SCDMA and other standard network.Here we use the WCDMA Unicom customized version of the card, for example on the use of steps to explain it, other models or your own network authentication standard.
  • Page 17 Step4 the dialer interface, you can see an orange icon with a minus sign, which means that networks are not connected, the following text also "Disconnected", points dialer button below "Connect" start the connection. A window will pop up in this choose your 3G wireless network standard used for some models we've tested, such as HUAEI E1750, etc., the dialer will automatically identify and select the appropriate network standard, click Continue.
  • Page 18 Step6 connection is successful, the orange icon with a hook into the green, the following text into the "Connected", while there will be a system status bar at the top of 3G icon will appear, as shown in Figure . Step7 tap the green icon to view the current network connection information, as shown in Figure Step8 After networking in order to meet other network applications, you can point "Hide"...
  • Page 19 Step9 any time in the connection, you can slide down through the top status bar to return to the dialer interface, you can dial interface in the mid-point of "Disconnect" button to disconnect from the network. Step10 on Youku look at it, speed is good Here are S3C6410-TFAand S3C6410-TFAsupport USB 3G card model list.
  • Page 20 Huawei E169 (CDMA2000) Huawei E1750/E1550 (WCDMA) ZTE AC581 (CDMA2000) ZTE AC8710 (CDMA2000) ZTE MU351 (TD-SCDMA) Other support for USB 3G card type: ZTE 6535-Z ZTE AC2710 (EVDO) ZTE AC2726 ZTE K3520-Z ZTE K3565 ZTE MF110 (Variant) ZTE MF112 ZTE MF620 (aka "Onda MH600HS") ZTE MF622 (aka "Onda MDC502HS") ZTE MF628 ZTE MF638 (aka "Onda MDC525UP") ZTE WCDMA Stick from BNSL HuaXing E600 (NXP Semiconductors "Dragonfly") Huawei E1612 Huawei E1690...
  • Page 21 Atheros Wireless / Netgear WNDA3200 BSNL Capitel BandLuxe C120 BandRich BandLuxe C170, BandLuxe C270 Beceem BCSM250 C-motech CGU-628 (aka "Franklin Wireless CGU-628A" aka "4G Systems XS Stick W12") C-motech CHU-629S C-motech D-50 (aka "CDU-680") Cricket A600 EpiValley SEC-7089 (featured by Alegro and Starcomms / iZAP) Franklin Wireless U210 Hummer DTM5731 InfoCert Business Key (SmartCard / Reader emulation) Kyocera W06K CDMA modem LG HDM-2100 (EVDO Rev.A USB modem) LG L-05A...
  • Page 22: Using A Usb Bluetooth

    Q110 - UNCONFIRMED! ST Mobile Connect HSUPA USB Modem Sagem F @ ST 9520-35-GLR Samsung GT-B3730 Samsung SGH-Z810 USB (with microSD card) Samsung U209 Sierra Wireless AirCard 881U (most likely 880U too) Sierra Wireless Compass 597 Siptune LM-75 ("LinuxModem") Solomon S3Gm-660...
  • Page 23 At this time, the system will not have any reaction, according to the development board of the K2 buttons appear Settings, click on the main interface to enter the system settings: Point "Wireless & networks" to enter the wireless network settings screen, as shown:...
  • Page 24 Point Bluetooth settings, you can enter the settings related to Bluetooth interface, set interface, if Bluetooth is not marked with the right hook, then Bluetooth is not open, click the check box on the right Bluetooth Bluetooth, open Bluetooth devices will automatically search and automatically to the equipment listed in the search (the two devices shown in the figure): 1.11.1 to pair with Bluetooth devices To share files via Bluetooth phone, for example, the first of your phone's Bluetooth feature is turned on,...
  • Page 25 Click on the name in the phone can be paired with the phone, the interface will pop up the password input window, in which we enter 1234 and click OK to continue: Confirm At this time, please refer to your mobile phone, a password input window will pop up in your phone can also enter 1234, and Done, in the Bluetooth settings screen, under the name of your phone display "Paired but not connected "indicates that the pairing is successful, as shown below, I successfully paired the device is"...
  • Page 26 1.11.2 transfer files to your phone using Bluetooth Please refer to the previous section to your mobile phone to pair with the development board, pairing is complete, Android applications into the list, as shown in the list, click on "Bluetooth File Transfer" icon (upper right corner of the icon): Will start the Bluetooth File Transfer application, the interface is as follows:...
  • Page 27 Bluetooth File Transfer program automatically lists the SD card files in the file list, you will be transferred to the phone's files on the tick on the right, as shown below, I selected the 1.png file: Development board by K2 key (Menu Key), the following menu in the menu, click More, will start the next level menu:...
  • Page 28 In the menu, click "Send via Bluetooth (1 file)", the following interface will pop up to let you choose where to send the file a Bluetooth device, the interface lists all Bluetooth devices to search, including matching or paired, the paired right of the icon is a blue tick will state, as shown in A760 BT device: Click on the screen of your mobile devices, Please Wait will pop up the following dialog box, do not ignore it, and click "OK"...
  • Page 29 After clicking OK, the following window will pop up and display the file being sent to the mobile phone of your choice:...
  • Page 30 At this time, please refer to your phone, you should be prompted to receive the file from S3C6410-TFA, click "Yes" or "receiver" will begin receiving, receiving process, the interface shows as follows: File transfer is complete, it will display the following screen, now, the file transmission is complete:...
  • Page 31 Please refer to the previous section to your mobile phone to pair with the development board, pairing is complete, Android applications into the list, as shown in the list, click on "Bluetooth File Transfer" icon (upper right corner of the icon): Will start the Bluetooth File Transfer application, the interface is as follows:...
  • Page 32 Development board by K2 key (Menu Key), the following menu in the menu, click More, will start the next level menu: In the menu, click "Discoverable", will pop up the following screen, prompting you to S3C6410- TFABluetooth will open "can be to find" function to 300 seconds, click "Yes" to enter the next step:...
  • Page 33 Now pick up your phone, you can send files to the board, and send the completed interface display as shown below, prompts you to receive a file and save it to / mnt / sdcard directory:...
  • Page 34 1.12 using the USB The development board comes with the Android system can support USB Plug and Play, USB can support up to 32G (note the need for FAT32 USB format can only be). Insert the USB development board's USB Host port, note the status bar message, wait a moment, a flash drive will appear in the upper left corner of the picture, as shown: Sliding down the top task bar, as shown:...
  • Page 35 You can see the flash drive has been mounted status information, click on it to enter, as shown: In this interface, the point "Umount USB mass storage" USB flash drives can be safely unloaded, point "Open folder brower" Open File Manager can browse through the contents of flash drive, click Open as shown:...
  • Page 36 ES File Browser default display is the / sdcard under the file, click the left-most icon to switch to the root directory, click the icon to the right to switch the view to List view, on the list to find udisk folder, open it there is U disk's contents:...
  • Page 37: Backlight Adjustment Settings

    1.13 backlight adjustment setting In the above process using the Android system, perhaps you have noticed, when a period of time did not click on the screen, the backlight will gradually turn off the system main interface, the point of "Sound & display"...
  • Page 38: Serial Assistant

    1.14 Serial Assistant To use the serial assistant can be on the home page click the icon to start iTest iTest program: Then click the Serial Port Assistant start serial assistant, started, on the left to set the serial port baud rate and other parameters:...
  • Page 39: Led Test

    After setting, click on the Connect button to connect the serial port, the connection is successful, will scroll information sent from the serial port, such as Shown below: To send data to the serial port can be left in the Send text box for input, then send. Pause point is to suspend the message scroll, point Clean the received message is clear.
  • Page 40: Pwm Buzzer Test

    Then click on LED Testing LED test screen will appear, as shown below, just click the button to switch the LED corresponding to: 1.16 PWM buzzer test To test the PWM, can be on the home page click the icon to start iTest iTest program:...
  • Page 41 Then click PWM PWM Testing testing interface will appear as shown below:...
  • Page 42: I2C-Eeprom Test

    At the interface, you can manually enter the frequency, then Start to make the buzzer sound, but also by the + and - buttons to adjust the frequency. Click Stop to stop the sound. 1.17 ADC test ADC to be tested, that is, see A / D conversion results, click on the Home icon iTest iTest program start: Then click the A / D Convert the ADC conversion results will appear display interface, as shown below: 1.18 I2C-EEPROM test To conduct I2C-EEPROM read and write tests, you can click on Home icon iTest iTest program start:...
  • Page 43: Create Android Build Environment

    Then click the IIC / EEPROM Testing testing EEPROM interface will appear, as shown below: First click on the left of the "Write Data below into EEPROM" button to the left of the text box to write to the EEPROM in the text, then click on the right side of the "Read EEPROM Data via IIC" button you can read the text in the EEPROM out and kept in the right text box.
  • Page 44: Extracting Installer Source Code

    /android At the command line # Mkdir-p / opt/Pardazesh Sabz/S3C6410-TFA/android step behind all the source code will extract the installation this directory, which currently it is empty. (1) Android source code package ready In Fedora9 system / tmp directory, create a temporary directory / tmp / android...
  • Page 45: Configure And Compile U-Boot

    In the working directory / opt/Pardazesh Sabz/S3C6410-TFA/android perform: # Cd / opt/Pardazesh Sabz/S3C6410-TFA/android # Tar xvzf / tmp / android / rootfs_android-20110215.tar.gz Will create rootfs_android directory.
  • Page 46: From Source Code To Create Android

    Linux kernel configuration, I suggest you use our default kernel configuration. To compile the LCD for N43 model kernel, so use the default kernel configuration: # Cd / opt/Pardazesh Sabz/S3C6410-TFA/android / linux-2.6.36-android # Cp config_android_n43. Config; attention in front of a config "." # Make...
  • Page 47: Production Yaffs2 Format File System Image

    # Cd / opt/Pardazesh Sabz/S3C6410-TFA/android/Android-2.3 #. / Build-android Began to compile Android-2.3 system, you need to wait a long time, it is recommended not to use the Android system developed virtual machine compiler, use the multi-core CPU plus a real Linux system will be faster.
  • Page 48: Production Ubifs File System Format Image

    Nand Flash, the entire root file system format will be yaffs2 exist, the default Android kernel has support the file system, the command line type: # Cd / opt/Pardazesh Sabz/S3C6410-TFA/android/Android-2.3 # Mkyaffs2image-128M rootfs_dir rootfs_android.img Will be generated in the current directory rootfs_android.img file, you can refer to Chapter III of the step...
  • Page 49 64M of the target file system, places 64M as the basic capacity calculation, that is, the smallest image of ext3 file 64M x 1.3 = 83.2M. Tip: If you use a serial touch screen controller, you need to use rootfs_android-s target file system package.

Table of Contents