Hide thumbs Also See for Embest SBC-PH8700:

Advertisement

Quick Links

SBC-PH8700 User Manual
User Manual
[SBC-PH8800]
1
Embest Technology Co. Ltd
|
http://www.embest-tech.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Embest SBC-PH8700 and is the answer not in the manual?

Questions and answers

Summary of Contents for Premier Farnell Embest SBC-PH8700

  • Page 1 SBC-PH8700 User Manual User Manual [SBC-PH8800] Embest Technology Co. Ltd http://www.embest-tech.com...
  • Page 2: Revision History

    SBC-PH8700 User Manual Revision History Rev. Note Author 20160902 Initial Sandy Embest Technology Co. Ltd http://www.embest-tech.com...
  • Page 3: Table Of Contents

    SBC-PH8700 User Manual Catalog Revision History ................................2 Catalog ..................................3 Release Note ................................5 Images Version ............................. 5 Feature List ..............................5 Known Issues ............................... 6 Chapter 1 Quick Start ............................... 7 Burn the System Images to the SD Card ....................7 System Boot from SD Card ........................
  • Page 4 SBC-PH8700 User Manual 2.16 Camera ..............................21 2.16.1 Video ............................21 2.16.2 Photo ............................21 Chapter 3 System Compilation ..........................22 Building Development Environment ...................... 22 Compiling U-Boot ........................... 22 3.2.1 Get the U-Boot Source Code ...................... 22 3.2.2 Compile and Burn the Images to SD Card .................. 22 3.2.3 Compile and Burn the Images to SPI Flash ................
  • Page 5: Release Note

    SBC-PH8700 User Manual Release Note 1. Images Version SBC-PH8800_Shipment_Image_SDCard_Rev01.img SBC-PH8800_Shipment_Image_EMMC_Rev01.img 2. Feature List SBC-PH8800 Schematic On-Chip On-Board Feature List Detail Functions(existing) Page# Peripherals Peripherals u-boot version 2015.09 Supports kernel boot kernel version 4.1.6 Supports all below functionality Default root file system used by Filesystem Debian debian...
  • Page 6: Known Issues

    SBC-PH8700 User Manual System can send and receive data CAN-1 SPH1800-p8-J61 CAN1 MC33901WEF between two board System can send and receive data CAN-2 SPH1800-p8-J61 CAN0 MC33901WEF between two board System can send and receive data UART-0 SPH1800-p7-CN4 UART0 NUll in loopback mode System can send and receive data UART-1 SPH1800-p7-J4...
  • Page 7: Chapter 1 Quick Start

    SBC-PH8700 User Manual Chapter 1 Quick Start 1.1 Burn the System Images to the SD Card  Firstly, you should prepare a SD card, which is no less than 2GB.  Then, download and install “Win32 Disk Imager” from https://sourceforge.net/projects/win32diskimager/. ...
  • Page 8: System Boot From Sd Card

    SBC-PH8700 User Manual 1.2 System Boot from SD Card  Install the Serial Communication software (e.g. SecureCRT), select the corresponding port number, baudrate as 115200, data bits as 8, stop bits as 1, parity as none.  Connect the DEBUG interface (CN4) to the serial interface of PC with a USB to TTL module. ...
  • Page 9: System Boot From Spi Flash

    SBC-PH8700 User Manual 1.3 System Boot from SPI Flash Refer to 1.2, boot the system from SD Card, press “Enter” when the serial terminal prints the following info: U-Boot SPL 2015.07 (Sep 27 2016 - 11:42:48) SPL: Please implement spl_start_uboot() for your board SPL: Direct Linux boot not active! reading u-boot.img reading u-boot.img...
  • Page 10 SBC-PH8700 User Manual 288632 bytes read in 17 ms (16.2 MiB/s) device 0 offset 0x20000, size 0x46778 SF: 288632 bytes @ 0x20000 Written: OK U-Boot# Enter following instruction to boot from SD Card first: U-Boot# boot Copy the SBC-PH8800_Shipment_Image_EMMC_Rev01.img to a U-disk, then plug the U-disk to P3; Execute the following instructions on the serial terminal: root@ SOM-PH8800:~# ls /dev/sd* /dev/sda /dev/sda1...
  • Page 11: Chapter 2 Function Test

    SBC-PH8700 User Manual Chapter 2 Function test First of all, please refer to Chapter 1.1 and boot up the system. Then test the functions according to the following guidance. 2.1 LED User can control LED (D3, D4) indicators on SOM-PH8800 Board. After the system boot up, please execute the following instructions in serial terminal to implement the test;...
  • Page 12: Eeprom

    SBC-PH8700 User Manual 2.3 EEPROM Execute the following instructions on the serial terminal: root@embest:~# ./eeprom_test data will write to EEPROM at 0x400 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f...
  • Page 13: Emmc

    SBC-PH8700 User Manual f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff If write and read data are the same, the test passes. 2.4 EMMC Execute the following instructions on the serial terminal: root@embest:~# touch emmc_read emmc_write Modify emmc_write value: root@embest:~# vi emmc_write...
  • Page 14: Hdmi

    SBC-PH8700 User Manual 2.6 HDMI Open the uEnv.txt file from SD card, modify fdtfile=embest-SOM_PH8800-BB_SPH1800-HDMI.dtb Connect the display with HDMI cable, then reboot the system; 2.7 HDMI Audio Connect the HDMI device, execute the following instruction to play the default audio file: root@embest:~# aplay /boot/firmware/audio_sample.wav Playing WAVE '/boot/firmware/audio_sample.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo 2.8 LCD...
  • Page 15: Serial

    SBC-PH8700 User Manual 2.11 Serial The board has 4 serial interfaces, while the UART0 (CN4) is the debug interface. Execute the following instructions on the serial terminal to test UART 1, UART2 and UART4: 2.11.1 UART1 Short Pin 2 and 3 in J4: root@embest:~# ./uart_test -d /dev/ttyS5 -b 115200 /dev/ttyS5 SEND: 1234567890 /dev/ttyS5 RECV 1 total...
  • Page 16: Uart4

    SBC-PH8700 User Manual /dev/ttyS3 RECV 1 total /dev/ttyS3 RECV: 3 /dev/ttyS3 RECV 1 total /dev/ttyS3 RECV: 4 /dev/ttyS3 RECV 1 total /dev/ttyS3 RECV: 5 /dev/ttyS3 RECV 1 total /dev/ttyS3 RECV: 6 /dev/ttyS3 RECV 1 total /dev/ttyS3 RECV: 7 /dev/ttyS3 RECV 1 total /dev/ttyS3 RECV: 8 /dev/ttyS3 RECV 1 total /dev/ttyS3 RECV: 9...
  • Page 17: Rs485-2 And Rs485-3

    SBC-PH8700 User Manual /dev/ttyS1 RECV: 9 /dev/ttyS1 RECV 1 total /dev/ttyS1 RECV: 0 Note: Press “CTRL+C” to exit the serial test. 2.12 RS485 2.12.1 RS485-2 and RS485-3 Short connect Pin 7 and 9, Pin 8 and 10 in J62 (That is RS485-A3 to RS485-A2, RS485-B3 to RS485-B2): Execute the following instructions on the serial terminal (in the background): root@embest:~# ./uart_test -d /dev/ttySC1 -b 9600 -s "a"...
  • Page 18: Network

    SBC-PH8700 User Manual Use ps and kill command to exit the candump program, change to CAN0 receive, CAN1 send data to CAN0: root@embest:~# candump can0& root@embest:~# cansend can1 123#11121314151617 root@embest:~# can0 123 [7] 11 12 13 14 15 16 17 3.
  • Page 19: Usb

    SBC-PH8700 User Manual 2.15 USB 2.15.1 USB Host Insert the U disk to the USB Host interface (P3); serial terminal will display the disk information: [ 937.902749] usb 1-1.2: new high-speed USB device number 4 using xhci-hcd [ 938.023750] usb 1-1.2: New USB device found, idVendor=058f, idProduct=6366 [ 938.030999] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 938.039779] usb 1-1.2: Product: Flash Card Reader/Writer [ 938.046076] usb 1-1.2: Manufacturer: Generic...
  • Page 20 SBC-PH8700 User Manual [ 880.207218] hub 3-0:1.0: USB hub found [ 880.218080] hub 3-0:1.0: 1 port detected [ 880.222687] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 880.233442] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4 [ 880.241707] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 880.252038] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 880.260133] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 880.268622] usb usb4: Product: xHCI Host Controller...
  • Page 21: Camera

    SBC-PH8700 User Manual 2.16 Camera 2.16.1 Video Connect Camera module to J8, execute the following instructions on the serial terminal: root@embest:~# ./mxc_v4l2_capture –iw1280 -ih 720 -ow 1280 -oh 720 -c 25 -f UYVY /boot/firmware/test.yuv root@embest:~# sync Camera will record a video with1280*720 resolution, rate 25, generate the video file test.yuv in SD card folder. Connect SD card to PC, open it with Pyuv.exe.
  • Page 22: Chapter 3 System Compilation

    SBC-PH8700 User Manual Chapter 3 System Compilation 3.1 Building Development Environment Copy the content of release folder to Linux’s $HOME directory. (You may need to extract all rar files first). The compilation tool gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf located under path S5_tool. Use the following instructions to extract it: $xz -d gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz $tar –xvf gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar...
  • Page 23: Compiling Kernel

    SBC-PH8700 User Manual 1. u-boot.bin under path $HOME/S4_Sourcecode/u-boot 2. u-boot-spl.bin under path $HOME/S4_Sourcecode/u-boot/spl Copy the two files to SD card; Boot from SD card, execute the following instructions in U-Boot phase: U-Boot# run update_qspi_flash Wait for the execute finished, the two files are burn into SPI flash. (Refer to 1.3 System Boot from SPI Flash)

Table of Contents