Embest SBC6300x User Manual

Arm9 based single board computer
Hide thumbs Also See for SBC6300x:

Advertisement

Quick Links

SBC6300x
ARM9 Based Single Board Computer
WinCE Development Guide
Version 1.2
th
20
Jan 2014

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SBC6300x and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Embest SBC6300x

  • Page 1 SBC6300x ARM9 Based Single Board Computer WinCE Development Guide Version 1.2 Jan 2014...
  • Page 2: Revision History

    Copyright Statement:  SBC6300x and its related intellectual property are owned by Shenzhen Embest Technology Co., Ltd.  Shenzhen Embest Technology has the copyright of this document and reserves all rights. Any part of the document should not be modified, distributed or duplicated in any approach and form without prior written permission issued by Embest Technology Co., Ltd...
  • Page 3: Table Of Contents

    2.1 Image files related to SBC6300X WinCE 6.0 system ......2 2.2 Working principles of SBC6300X WinCE 6.0 system ......2 2.3 The address of SBC6300X WinCE 6.0 system image files in flash ..4 Chapter III. Burning of WinCE system ........7 3.1 Introduction to burning of SBC6300X WinCE 6.0 system image files ...
  • Page 4: 1.1 Terms And Definitions

    1 Overview This Manual mainly expounds the burning of WinCE 6.0 system image files of the SBC6300X main board and system customization based on the SBC6300X WinCE 6.0 BSP. 1.1 Terms and definitions Development Workstation: Development Workstation means X86 PC installed with Windows XP operating system, Microsoft Visual Studio 2005 and Windows Embedded CE 6.0 development environment.
  • Page 5: Chapter Ii. Introduction Of Wince 6.0 System

    2.1 Image files related to the SBC6300X WinCE 6.0 system If the WinCE system is customized using the SBC6300X WinCE 6.0 BSP that we provide and the compilation is successfully finished, the system will generate 6 image files, i.e.: FIRSTBOOT.nb0,...
  • Page 6 DataFlash 0x00100000 address of the SBC6300X main board to SDRAM. In its default state, EBOOT will automatically copy the WinCE system image NK from the NAND flash 0x00200000 address to the SDRAM on the SBC6300X main board, and hand over system control operating system.
  • Page 7: The Address Of Sbc6300X Wince 6.0 System Image Files In Flash

    0x00020000 address to SDRAM on the SBC6300X main board and execute it; FIRSTBOOT also copies the Logo from the NAND flash 0x00080000 address of the SBC6300X main board to SDRAM. In its default state, EBOOT will automatically copy the WinCE system image NK from the NAND flash 0x00200000 address to the SDRAM on the SBC6300X main board, and hand over system control to the operating system.
  • Page 8 Figure 2: DataFlash Structure 2.3.2 When booted from NAND flash If you choose to boot from NAND flash:  FIRSTBOOT is located at the beginning of the 0x00000000 address of the NAND Flash, the capacity of FIRSTBOOT is 4KB;  EBOOT is located at the beginning of the 0x00020000 address of the NAND flash, the capacity of EBOOT is 200KB;...
  • Page 9 Figure 3: NAND Flash Structure Page | 6...
  • Page 10: Chapter Iii. Burning Of Wince System

    NK.bin). Note:  If you use EBOOT as the user booting code on the SBC6300X main board to WinCE system image file NK, the actual process will be, EBOOT, the user booting code on SBC6300X main board will first download WinCE system image file NK.bin that VS2005 WinCE 6.0 generates from TFTP server running...
  • Page 11 1. Make sure the three-way DIP switch is set to the OFF state and make sure there is no SD card in the SD slot of the SBC6300X. 2. Connect the USB device port (J9) of the SBC6300X to the USB Host of the development workstation using the supplied USB cable.
  • Page 12 DataFlash AT45DB/DCB tab). 8. Select Enable DataFlash (SPI0 CS0) in the Scripts box, and click the Execute button to enable SPI DataFlash on the SBC6300X main board. After this is successful, the SAM-BA interface will resemble the following: Page | 9...
  • Page 13 Figure 7: SAM-BA Interface After DataFlash is Enabled 9. As shown above, select Send Boot File in the Scripts menu and click the Execute button. An open file dialog box as shown below will display: Comment [ML1]: Chinese Figure 8: Open File Dialog Box Page | 10...
  • Page 14 10. As shown below, select the file under FIRSTBOOT_SPIDATAFLASH.nb0 the directory in the SBC6300X CD. In \03 WinCE 6.0 Kit\00 Image\ the open file dialog box click the open button, SAM-BA will automatically start burning the file to FIRSTBOOT_SPIDATAFLASH.nb0 the beginning of the 0x00000000 address of SPI DataFlash on the SBC6300X main board.
  • Page 15 12. Enter the address 0x5000 in the Address field in the Download/Upload File section, select file EBOOT_SPIDATAFLASH.nb0 under the path on the SBC6300X CD \03 WinCE 6.0 Kit\00 Image\ in the Send File Name text box. Then click the Send File button Download/Upload File...
  • Page 16 Figure 11: Information to be Entered into SAM-BA 13. After the burning is successful, the interface as shown below will appear: Page | 13...
  • Page 17 Send File Name text box. Then click the Send File button Download/Upload File area. software will automatically start burning the Logo.bin file to the beginning of the 0x00100000 address of SPI DataFlash on the SBC6300X main board. Page | 14...
  • Page 18 Figure 13: SAM-BA Logo Settings 15. As shown below, select the NAND Flash tab. In the Scripts menu select Enable NAND Flash, and click the Execute button to enable NAND Flash on the SBC6300X main board. Page | 15...
  • Page 19 Figure 14: Enabling NAND Flash 16. After the enabling operation is successful, the interface as shown below will appear: Page | 16...
  • Page 20 Figure 15: Operation Successful 17. Select the file in the SBC6300X CD \03 WinCE 6.0 Kit\00 Image \NK.nb0 Send File Name area, then click the Send File button in the Download/Upload File section. The software will start burning file to the beginning of the 0x00200000 address of NK.nb0...
  • Page 21 Figure 16: SAM-BA NK.nb0 Settings 18. After the burning is successful, the interface (below) will appear. It takes 3-10 minutes to burn the NK.nb0 file. Page | 18...
  • Page 22: Flash)

    Figure 17: Burning was Successful 3.3 Booting from NAND Flash 3.3.1 Burn SBC6300X system image through SAM-BA software 1. For installation of the SAM-BA software please refer to Section 3.2.1 , and finish steps 1-6 referring to Section 3.2.2. 2. Set the core board second DIP switch to the ON state. Then as shown below, select the NAND Flash tab in the software window.
  • Page 23 Figure 18: SAM-BA NAND Flash Tab 3. In the Scripts menu, select Enable NAND Flash, and click the nearby Execute button to enable NAND flash on the SBC6300X main board. After the Enable operation is successful, the following interface will appear:...
  • Page 24 Figure 19: NAND Flash Enabled 4. As shown below in the Scripts menu, select Erase All and click the Execute button; the software will automatically erase the entire NAND flash. Page | 21...
  • Page 25 Figure 20: Erasing NAND Flash 5. After the erasing operation is successful, the interface as shown in below will appear: Page | 22...
  • Page 26 Figure 21: NAND Flash Erased 6. Select the Send Boot File button in the Scripts menu and click the Execute button. An open file dialog box as shown below will appear. Page | 23...
  • Page 27 Figure 22: Open File Dialog Box 7. As shown below, select the file under the path FIRSTBOOT_NAND.nb0 on the SBC6300X CD in the open file \03 WinCE 6.0 Kit\00 Image\ dialog box, then click the Open button. The software will automatically start burning the file to the FIRSTBOOT_NAND.nb0...
  • Page 28 Figure 23: File Selection 8. After the burning is successful, the interface (below) will appear. Page | 25...
  • Page 29 Send File Name:, then Image \EBOOT_NAND.nb0 click the Send File button. The software will start burning the EBOOT_NAND.nb0 file to the beginning of the 0x20000 address of the NAND Flash on the SBC6300X main board. Page | 26...
  • Page 30 Figure 25: Burning EBOOT_NAND.nb0 10. After the burning is successful, the following interface will appear. Page | 27...
  • Page 31 SBC6300X CD \03 WinCE 6.0 Kit\00 Image \Logo.bin in the Send File Name box, then click the Send File button. The software will start burning the Logo.bin file to the beginning of the 0x80000 address of the NAND flash on the SBC6300X main board. Page | 28...
  • Page 32 (on the CD) in the Send File Name box, then click the Send File button. The software will start burning the NK.nb0 file to the beginning of the 0x00200000 address of the NAND Flash on the SBC6300X main board. Page | 29...
  • Page 33 Figure 28: Burning NK.nb0 13. After the burning is successful, the following interface will appear. It takes 3-10 minutes to burn the NK.nb0 file. Page | 30...
  • Page 34 Figure 29: Burning Successful Page | 31...
  • Page 35: Chapter Iv. Boot Wince 6.0 System

    4 Booting the WinCE 6.0 system 1. Refer to section 3; select the option to boot from DataFlash or NAND flash then burn the WinCE 6.0 system image files. 2. Set the power SWITCH to the ON state, the WinCE system will be booted.
  • Page 36: Bsp

    Once this is complete, the installation of SBC6300X WinCE 6.0BSP is finished. Compilation of a WinCE system based on the SBC6300X WinCE 6.0 BSP Here we will not describe how to customize a WinCE project based on the BSP in a VS2005 WinCE 6.0 development environment, the user can...
  • Page 37 Figure 30: Starting a New Project 2. Select Platform Builder for CE 6.0 from Other project types in New Project wizard, enter SBC6300X as the name, (see below) Figure 31: Enter Project Name Page | 34...
  • Page 38 3. Click the OK button, the system will progress to the next step of the Windows Embedded CE 6.0 OS Design Wizard. Figure 32: OS Design Wizard 4. Click the Next button and select SBC6300X:ARMV4I in Board Support Packages (BSPs): Comment [ML3]: Chinese...
  • Page 39 5. Click the Next button and select PDA Device in the newly opened Design Templates window: Figure 34: Select Design Template 6. Click Next and select Mobile Handheld: Figure 35: Select Design Template Variant Page | 36...
  • Page 40 7. Click Next to open the Applications & Media window, add Internet Explorer 6.0 (under the Internet Browser checkbox) and WordPad in addition to the preselected default options: Figure 36: Add IE 6 and WordPad 8. Click the Next button to open Networking & Communications, remove Personal Area Network(PAN)->Bluetooth and Personal Area Network(PAN)->IraDA from the existing default options.
  • Page 41 9. Click the Next button, then click finish in the OS Design Project Wizard Complete window shown below: Figure 38: Wizard Complete 10. Click Acknowledge to finish the initial customization of the WinCE 6.0 OS. Figure 39: I/O Protocol Driver Security Warning Page | 38...
  • Page 42 11. Tick the following options under View->other windows->Catalog Items View->SBC6300X->Core OS->CEBASE->Core Services->USB HOST in the Catalog Items window. Support USB Function Driver USB Host Support USB Human Input Device (HID) Class Driver->USB HID Keyborad and Mouse USB Storage Class Driver Figure 40: Adding USB Host Support 12.
  • Page 43 Device Drivers->SDIO->SDIO Host->SDIO Standard Host Controller Device Drivers->SDIO->SDIO Memory->SD Memory Device Drivers->USB Function->USB Function Clients->Mass Storage Device Drivers->USB Function->USB Function Clients->serial 13. Set compilation type as SBC6300X ARMV4I Release: Figure 41: Setting Compilation Type 14. Click in VS2005: Project->properties Page | 40...
  • Page 44 15. Tick Enable eboot space in memory (IMAGE=1) in Build Options, as below, click OK to finish editing the compilation settings. Figure 43: Enable EBOOT Space in Memory 16. Tick the driver of the module you need SBC6300X main board, in View->Other window->Catalog Items View->SBC6300X->Third...
  • Page 45 Figure 44: Select USB Storage Class Driver 17. Click in VS2005 to start Build->Advanced Build Commands->Sysgen compiling: Figure 45: Start Compiling 18. As the compilation may take a long time (depends on the hardware of the development workstation), please wait. After Page | 42...
  • Page 46 NK.bin, generated under F:\WINCE600\OSDesigns\SBC6300X\SBC6300X\RelDir\SBC6300X_ARMV4I_Releas\ older. 5.2 WinCE 6.0 BSP Driver Modules After the SBC6300X WinCE 6.0 BSP is installed and a project based on the BSP is initially customized following the instructions in Section 0, click View->Other window->Catalog Items View->SBC6300X->Third...
  • Page 47 Module Function Buzzer driver. Display driver. Ethernet driver. GPIO driver. I2C driver. I2C EEPROM driver. IO driver. IO key driver. DM9000 driver 6X6 matrix keyboard driver PWM driver. SD card SDIO driver. AT91SAM9263 serial driver TFTLCD driver Touch screen driver. Page | 44...
  • Page 48 Module Function USB device driver. USB host driver. Bootloader Hive registry. NAND Flash driver. SD card 4 cable SPI driver. Note: SD card SDIO driver and SD card 4 cable SPI driver can only be selected once. Page | 45...
  • Page 49 Appendix 1: ESD Precautions & Handling Procedures Please note that the board comes without any case/box and all components are exposed. Therefore, extra attention must be paid to ESD (electrostatic discharge) precautions. To effectively prevent electrostatic damage, please follow the steps below: ...
  • Page 50: Technical Support Service

    Appendix 2: Technical support & Warranty Embest Technology Co., Ltd. established in March of 2000, is a global provider of embedded hardware and software. Embest aims to help customers reduce time to market with improved quality by providing the most effective total solutions for the embedded industry. In the rapidly...
  • Page 51  Products purchased from unauthorized merchants;  Embest Technology takes no responsibility for fulfilling any warranty (verbal or written) that is not made by Embest Technology and not included in the scope of our warranty. Page | 48...
  • Page 52 Note:  Embest do not supply a maintenance service for LCDs. We suggest the customer immediately checks the LCD once in receipt of the goods. In the event that the LCD does not run or shows no display, the customer should inform Embest within 7 business days of delivery.
  • Page 53  Driver development based on Embest embedded platforms for devices such as: serial ports, USB interface devices, and LCD screens.  Control system transplantation, BSP driver development, API software development.  Other value added services including supply of power adapters and LCD parts.

Table of Contents