Asus AAEON UP Xtreme UP-WHL01 User Manual
Asus AAEON UP Xtreme UP-WHL01 User Manual

Asus AAEON UP Xtreme UP-WHL01 User Manual

Maker board
Table of Contents

Advertisement

UP Xtreme
Maker Board
UP-WHL01
User's Manual 1
Ed
st
Last Updated: November 18, 2019

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AAEON UP Xtreme UP-WHL01 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Asus AAEON UP Xtreme UP-WHL01

  • Page 1 UP Xtreme Maker Board UP-WHL01 User’s Manual 1 Last Updated: November 18, 2019...
  • Page 2 Copyright Notice This document is copyrighted, 2019. All rights are reserved. The original manufacturer reserves the right to make improvements to the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated, or transmitted in any form or by any means without the prior written permission of the original manufacturer.
  • Page 3 Acknowledgement All other product names or trademarks are properties of their respective owners. Microsoft Windows and Windows 10 are registered trademarks of Microsoft ⚫ Corp. Intel and Core are registered trademarks of Intel Corporation ⚫ ITE is a trademark of Integrated Technology Express, Inc. ⚫...
  • Page 4 Packing List Before setting up your product, please make sure the following items have been shipped: Item Quantity UP-WHL01 If any of these items are missing or damaged, please contact your distributor or sales representative immediately. Preface...
  • Page 5 About this Document This User’s Manual contains all the essential information, such as detailed descriptions and explanations on the product’s hardware and software features (if any), its specifications, dimensions, jumper/connector settings/definitions, and driver installation instructions (if any), to facilitate users in setting up their product. Users may refer to the product page at AAEON.com for the latest version of this document.
  • Page 6 Safety Precautions Please read the following safety instructions carefully. It is advised that you keep this manual for future references All cautions and warnings on the device should be noted. Make sure the power source matches the power rating of the device. Position the power cord so that people cannot step on it.
  • Page 7 If any of the following situations arises, please the contact our service personnel: Damaged power cord or plug Liquid intrusion to the device iii. Exposure to moisture Device is not working as expected or in a manner as described in this manual The device is dropped or damaged Any obvious signs of damage displayed on the device...
  • Page 8 FCC Statement This device complies with Part 15 FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received including interference that may cause undesired operation.
  • Page 9 China RoHS Requirements (CN) 产品中有毒有害物质或元素名称及含量 AAEON Main Board/ Daughter Board/ Backplane 有毒有害物质或元素 部件名称 铅 汞 镉 六价铬 多溴联苯 多溴二苯醚 (Pb) (Hg) (Cd) (Cr(VI)) (PBB) (PBDE) 印刷电路板 ○ ○ ○ ○ ○ ○ 及其电子组件 外部信号 ○ ○ ○ ○ ○ ○ 连接器及线材...
  • Page 10 China RoHS Requirement (EN) Poisonous or Hazardous Substances or Elements in Products AAEON Main Board/ Daughter Board/ Backplane Poisonous or Hazardous Substances or Elements Hexavalent Polybrominated Polybrominated Component Lead Mercury Cadmium Chromium Biphenyls Diphenyl Ethers (Pb) (Hg) (Cd) (Cr(VI)) (PBB) (PBDE) PCB &...
  • Page 11: Table Of Contents

    Table of Contents Chapter 1 - Product Specifications..................1 Specifications ......................2 Chapter 2 – Hardware Information ..................5 Dimensions ....................... 6 Jumpers and Connectors ..................7 List of Jumpers and Connectors ................9 2.3.1 Power Button (SW2) ................... 10 2.3.2 RTC (CN1) ......................
  • Page 12 Driver Download and Installation............... 32 Appendix A – UP Framework SDK Installation ..............33 Introduction ......................34 Installation for Windows 10.................. 34 Installation for Windows IoT Core ..............37 Appendix B – Cables and Connectors ................39 Cables and Connectors ..................40 Appendix C –...
  • Page 13: Chapter 1 - Product Specifications

    Chapter 1 Chapter 1 - Product Specifications...
  • Page 14: Specifications

    Specifications System Intel® WHL-UE (Core i3/5/7 Ultra Low Power - 15 W) Intel® Celeron™ 4305UE (up to 2.0 GHz) Memory Onboard Single/Dual Channel DDR4 memory, Max 16GB Graphics Intel® Graphics , GEN 9 Display Out HDMI 2.0 x1 (CEC support) DP 1.2 x 1 eDP x 1 Storage...
  • Page 15 System Expansion Slot Minicard x 1 (PCIe [x1] Gen 3 x 1 (mSATA optional), USB 2.0 x 1) with SIM card M.2 2230 E Key x 1 (PCIe [x1] Gen 3 x 1, USB 2.0 x 2, CNVI x 1) M.2 2280 (double fixing hole) B/M Key x1 (PCIe Gen 3 x 2 / SATA x 1) Expansion HAT (40pin)
  • Page 16 Internal I/O Connectors eDP with Backlight control Header x 1 10 pin x 1 for USB 2.0 x 1 / HSUART (TTL) x 1 SATA Connector with power connector x 1 4 pin Fan connector x 1 Power Button header x 1 Reset Pin header x 1 M.2 2230/ E Key x 1 M.2 2280 B+M Key x 1...
  • Page 17: Chapter 2 - Hardware Information

    Chapter 2 – Hardware Information Chapter 2 Chapter 1 – Product Specifications...
  • Page 18: Dimensions

    Dimensions Chapter 2 – Hardware Information...
  • Page 19: Jumpers And Connectors

    Jumpers and Connectors Top: Chapter 2 – Hardware Information...
  • Page 20 Bottom: Chapter 2 – Hardware Information...
  • Page 21: List Of Jumpers And Connectors

    List of Jumpers and Connectors Please refer to the table below for all of the board’s jumpers that you can configure for your application Label Function PWR button MINI-CARD M.2_2230_E-KEY M.2 SLOT_M key SATA Connector SATA POWER LAN1 LAN2 CN10 HDMI/DP CN11 DOCKING I...
  • Page 22: Power Button (Sw2)

    2.3.1 Power Button (SW2) Signal Signal PWR_SW#_CTL_R PWR_SW#_CTL_R SW1_LED_P SW1_LED_N Chapter 2 – Hardware Information...
  • Page 23: Rtc (Cn1)

    2.3.2 RTC (CN1) Signal RTC_VCC 2.3.3 Mini-Card (CN2) Signal Signal WAKE_MINI_N VCC3_MINIPCIE V1.5S P_UIM_PWR P_UIM_DAT PCIE_REFCLK5_P2_N P_UIM_CLK Chapter 2 – Hardware Information...
  • Page 24 Signal Signal PCIE_REFCLK5_P2_P P_UIM_RST P_UIM_VPP 3G_EN 3G_RST PERN0_MSATA_R+ VCC3_MINIPCIE PERP0_MSATA_R- V1.5S PETN0_MSATA_T- PETP0_MSATA_T+ USB2_DN_R USB2_DP_R VCC3_MINIPCIE VCC3_MINIPCIE MSATA_PCIE_SEL_C V1.5S VCC3_MINIPCIE Chapter 2 – Hardware Information...
  • Page 25: 2230 E-Key (Cn3)

    2.3.4 M.2 2230 E-Key (CN3) Signal Signal +3.3VAUX_WIFI BT_DP +3.3VAUX_WIFI BT_DM CNV_WR_LANE1_DN CNV_RF_RST# CNV_WR_LANE1_DP CNV_PCMOUT_CLKREQ_R CNV_WR_LANE0_DN CNV_WR_LANE0_DP CNV_WR_CLK_DN CNV_RGI_RSP_R CNV_WR_CLK_DP GPP_F6_CNV_RGI_DT_UAR T0_TXD CNV_BRI_DT_R Chapter 2 – Hardware Information...
  • Page 26 Signal Signal PCIE_C_TXP10 CNV_BRI_DT PCIE_C_TXN10 PCIE_P10_RX_DP PCIE_P10_RX_DN PCIE_REFCLK5_P1_P PCIE_REFCLK5_P1_N SUS_CLK_CPU WIFI_RST# PCIE_M2_CLKREQ# BT_EN WAKE_M2_N WIFI_EN CNV_WT_LANE1_DN CNV_WT_LANE1_DP CLKIN_XTAL_LCP_R CNV_WT_LANE0_DN CNV_WT_LANE0_DP CNV_WT_CLK_DN 3.3VAUX_WIFI CNV_WT_CLK_DP 3.3VAUX_WIFI Chapter 2 – Hardware Information...
  • Page 27: Slot M-Key (Cn4)

    2.3.5 M.2 Slot M-Key (CN4) Signal Signal +3.3V SOC_I2C1_SCL PCIE_TXN0 +3.3V SOC_I2C1_SDA PCIE_TXP0 FULL_CARD_PWR_OFF# PCIE_RXN0 PCIE_RXP0 PLT_RST# PCIE_CLKREQ# PCIE_CLK_N WAKE_M2 PCIE_CLK_P Chapter 2 – Hardware Information...
  • Page 28 Signal Signal PCIE_P15_SATA_P1B_RXN PCIE_P15_SATA_P1B_RXP +3.3V +3.3V PCIE_P15_SATA_P1B_TXN +3.3V PCIE_P15_SATA_P1B_TXP VPU_EN Chapter 2 – Hardware Information...
  • Page 29: Sata Connector (Cn5)

    2.3.6 SATA Connector (CN5) Signal Signal SATA_TXP0_C SATA_TXN0_C SATA_RXN0_C SATA_RXP0_C 2.3.7 SATA Power (CN6) Signal Signal +V5S Chapter 2 – Hardware Information...
  • Page 30: Lan1/ Lan2 (Cn7/ Cn8)

    2.3.8 LAN1/ LAN2 (CN7/ CN8) Signal Signal LAN1_TMDI0+ LAN1_TMDI2- LAN1_TMDI0- LAN1_TMDI1- LAN1_TMDI1+ LAN1_TMDI3+ LAN1_TMDI2+ LAN1_TMDI3- Chapter 2 – Hardware Information...
  • Page 31: Hdmi/ Dp (Cn10)

    2.3.9 HDMI/ DP (CN10) Signal Signal DDI0_TXP_DP_0 DDI0_TXN_DP_0 DDI0_TXP_DP_1 DDI0_TXN_DP_1 DDI0_TXP_DP_2 DDI0_TXN_DP_2 PORT0_CLK+ PORT0_CLK- CONFIG1 CONFIG2 DP_AUX_P DP_AUX_N DDI0_TYPE_C_HPD 3.3V DDI1_TXP_HDMI_0 DDI1_TXN_HDMI_0 DDI1_TXP_HDMI_1 DDI1_TXN_HDMI_1 DDI1_TXP_HDMI_2 DDI1_TXN_HDMI_2 DDI1_CLK+_HDMI DDI1_CLK-_HDMI HDMI1_CEC_D Chapter 2 – Hardware Information...
  • Page 32: Docking I (Cn11)

    Signal Signal DDC_CLK DDC_DATA DDI1_TYPE_C_HPD 2.3.10 DOCKING I (CN11) Signal Signal +12V PCIE_REFCLK2_N +12V PCIE_P3_TXN +12V +12V +12V PCIE_TXP2 +12V PCIE_P3_RXP_SWITCH +12V PCIE_TXN2 +12V PCIE_P3_RXN_SWITCH PCIE_RXP2 SATA_P1_USB3_P5_RXN PCIE_RXN2 SATA_P1_USB3_P5_RXP Chapter 2 – Hardware Information...
  • Page 33 Signal Signal SATA_P1_USB3_P5_TXN SATA_P1_USB3_P5_TXP SATA_RXN0 SATA_RXP0 USB2_DP3 SATA_TXP0 PCIE_REFCLK0_P USB2_DN3 PCIE_REFCLK1_P SATA_TXN0 PCIE_REFCLK0_N PCIE_REFCLK1_N PCIE_RXP0 PCIE_RXP1 PCIE_RXN0 PCIE_RXN1 Chapter 2 – Hardware Information...
  • Page 34 Signal Signal SATA_LED_N PCIE_TXP0 PLTRST_PNLBKLEN PCIE_TXP1 PCIE_TXN0 PCIE_WAKE0_N PCIE_TXN1 PCIE_CLKREQ0# PCIE_WAKE1_N PCIE_CLKREQ1# PCIE_REFCLK2_P PCIE_WAKE2_N PCIE_P3_TXP PCIE_CLKREQ2# Chapter 2 – Hardware Information...
  • Page 35: Edp (Cn13)

    2.3.11 EDP (CN13) Signal Signal data positive 0 data negative 0 data positive 1 data negative 1 data positive 2 data negative 2 data positive 3 data negative 3 AUX positive AUX negative Hot Plug Detect Back Light Control VDD Enable Back Light Enable I2C_CLK I2C_DAT...
  • Page 36: Usb Type A Connector (Cn14/ Cn15)

    Signal Signal 3.3V 3.3V 3.3V 3.3V 3.3V 2.3.12 USB Type A Connector (CN14/ CN15) Signal Signal USB2_D1- USB2_D1+ USB3_RX1- USB3_RX1+ USB3_TX1- USB3_TX1+ USB2_D2- USB2_D2+ USB3_RX2- USB3_RX2+ USB3_TX2- USB3_TX2+ Chapter 2 – Hardware Information...
  • Page 37: Usb 2.0 1X10P Wafer (Cn16)

    2.3.13 USB 2.0 1x10P Wafer (CN16) Signal Signal USB2_D1- USB2_D1+ UART_RX UART_TX 2.3.14 FAN (CN19) Signal Signal VCC_FAN_CPU_CON FAN_TAC_CPU_CON FAN_CTL_CPU_CON Chapter 2 – Hardware Information...
  • Page 38: Dc Jack (Dc: 24~50V) (Cn20)

    2.3.15 DC Jack (DC: 24~50V) (CN20) Signal Signal DC_IN 2.3.16 HAT 40 (CN22) Signal Signal 3.3V I2C1_DAT I2C1_CLK ANALOG_DATA1 UART_TX UART_RX ANALOG_DATA2 I2S_BCLK Chapter 2 – Hardware Information...
  • Page 39 Signal Signal ANALOG_DATA3 ANALOG_DATA4 SPI1_CS1 3.3V SPI1_RX SPI0_TX SPI0_RX SPI1_TX SPI0_CLK SPI0_CS0 SPI0_CS1 I2C0_DAT I2C0_CLK GPIO SPI1_CLK PWM0 PWM1 I2S_WS_SYNC UART_CTS SPI1_CS0 I2S_SDI I2S_SDO Chapter 2 – Hardware Information...
  • Page 40: Audio Jack (Cn24)

    2.3.17 Audio Jack (CN24) Signal Signal MIC_LR_CN AGND LOUT_R LOUT_L 2.3.18 ADUINO (CN25) Signal Signal +3V_MCU +3V_MCU STM32_PB1 STM32_VBAT STM32_PB7 STM32_PC8 Chapter 2 – Hardware Information...
  • Page 41 Signal Signal STM32_PB6 STM32_PB9 STM32_PB5 STM32_PC15 STM32_PB4 MCU_NRST_R STM32_PB3 MCU_WKUP_R USB_RENUMn STM32_PA1 SWDCLK_R STM32_PA2 SWDIO_R STM32_PA3 STM32_PA4 STM32_PA5 STM32_PA10 STM32_PA6 STM32_PA9 STM32_PA7 STM32_PA8 HDMI1_CEC_D STM32_PB15 STM32_PB2 STM32_PB14 HOST_I2C_SCL STM32_PB13 HOST_I2C_SDA MCU_INT_R +V5S Chapter 2 – Hardware Information...
  • Page 42: Docking Ii (Cn26)

    2.3.19 DOCKING II (CN26) Signal Signal SLP_S3# V1.8S STACK_GPIO1 V1.8S STACK_GPIO2 LPC_AD0 STACK_GPIO3 LPC_AD1 STACK_GPIO4 LPC_AD2 STACK_GPIO5 LPC_AD3 STACK_GPIO6 LPC_FRAME_R BUF_PLT_RST# LPC_R_CLKOUT1 STACK_GPIO7 SMB_CLK_A I2C_SCL4_1V8 SMB_DATA_A I2C_SDA4_1V8 INT_SERIRQ_3P3 +V3.3S +V3.3S +V5S +V5S Chapter 2 – Hardware Information...
  • Page 43: Chapter 3 - Drivers Installation

    Chapter 3 Chapter 3 – Drivers Installation Chapter 2 – Hardware Information...
  • Page 44: Driver Download And Installation

    Driver Download and Installation * Please access https://www.up-community.org and go to the Downloads section>UP Xtreme to find the relevant drivers. Chapter 3 – Drivers Installation...
  • Page 45: Appendix A - Up Framework Sdk Installation

    Appendix A Appendix A – UP Framework SDK Installation...
  • Page 46: Introduction

    Introduction This section provides instructions for the installation of the UP Framework SDK. Instructions are provided for Windows 10 and Windows IoT Core. You can download the latest version of UP Framework SDK from the UP community: https://downloads.up-community.org/download/up-sdk-for-windows-10-and-windows-iot/ Installation for Windows 10 Step 1 Locate the downloaded file UpFrameworkSetup.msi and run the installer.
  • Page 47 Step 2 Select the installation folder. Default destination path is C:\Program Files(x86)\AAEON\ You may also choose to install the UP Framework SDK for all users or only the current user. Press “Next” to continue installation. Step 3 Press “Next” to confirm the installation. Appendix A –...
  • Page 48 Step 4 Press “Close” to exit once setup is complete. Appendix A – UP Framework SDK Installation...
  • Page 49: Installation For Windows Iot Core

    Installation for Windows IoT Core Before you begin, make sure you have downloaded and installed the latest version of the Windows IoT Core image from the UP community. Installation requires using a connected PC with the UP Framework SDK software downloaded and saved.
  • Page 50 Step 2 Download the UP Framework SDK to your PC and unzip the files. Open PowerShell as an Administrator. Run the command RemoteInstallation.ps1 to install the UP Framework SDK. Enter the IP address of the UP IoT Core device when prompted. Appendix A –...
  • Page 51: Appendix B - Cables And Connectors

    Appendix B Appendix B – Cables and Connectors Appendix B – Cables and Connectors...
  • Page 52: Cables And Connectors

    Cables and Connectors This table provides detailed information about the cables and connectors used by the UP Xtreme (UP-WHL01). If you have any questions about the configuration of your board, please contact your AAEON sales representative. Connector Mating Cable Mating Cable Connector PN Description Label...
  • Page 53 Connector Mating Cable Mating Cable Connector PN Description Label Description 12 ~ 60 VDC Input CN20 165250320K (Lockable, OD/ID: 5.1/2.5 mm) 40-pin HAT CN22 165302020L Connector CN25 1655840030 STM32 I/O Header CN26 1653215200 STM32 I/O Header 10-pin COM Cable.D-SUB COM1 1655901000 RS-232/422/485 1701100180...
  • Page 54: Appendix C - Cec-Client Installation

    Appendix C Appendix C – CEC-Client Installation Appendix C – CEC-Client Installation...
  • Page 55: Cec-Client Installation Manual

    CEC-Client Installation Manual The CEC-Client Installation Manual is attached to this manual. It provides information for setting up the CEC-Client to allow the UP Xtreme to communicate with CEC enabled devices through the HDMI port. If you have any questions, please contact your AAEON Sales Representative.
  • Page 56 CEC Client Installation Supplemental Appendix for UP Xtreme CEC Client Installation...
  • Page 57 Table of Contents Chapter 1 Introduction ......................4 About this Document ..................... 4 Chapter 2 CEC-Client Installation ................... 4 Introduction ......................4 Windows Installation ....................4 2.2.1 Kodi Installation on Windows ..............8 libCEC and USB-CEC Installation for Ubuntu on UP Xtreme ....... 8 Flashing DFU Firmware on STM Board –...
  • Page 58 5.1.2 Routing Control .................... 35 5.1.3 System Standby .................... 35 5.1.4 One Touch Record ..................35 5.1.5 Timer Programming ..................36 5.1.6 System Information ..................38 5.1.7 Deck Control ....................40 5.1.8 Tuner Control ....................41 5.1.9 Vendor Specific Commands ..............43 5.1.10 OSD Display ....................
  • Page 59: Chapter 1 Introduction

    Chapter 1 Introduction About this Document This document is included as a supplement to the product manual for the UP Xtreme (UP-WHL01). If you do not have the product manual for your device, please visit the product page on AAEON.com to download the full version. This document is intended for use only with the UP Xtreme product manual and is not for use as a separate document nor for use with any other product.
  • Page 60 Image 1: Select Installation Path (default path shown) Image 2: Create Shortcut CEC Client Installation...
  • Page 61 Image 3: Installing Visual Studio Runtime Libraries Image 4: Finish Installation CEC Client Installation...
  • Page 62 After installation is complete, open the folder location where you installed libCEC- AAEON. The default path location is shown in the image below. Image 5: CEC-Client File Location CEC Client Installation...
  • Page 63: Kodi Installation On Windows

    Open a Command Prompt window in the file location. Run cec-client.exe -h to display all program options. Image 6: CEC-Client Command Prompt 2.2.1 Kodi Installation on Windows Before running Kodi on Windows, copy cec.dll from the CEC-Client folder (Image 5) to the Kodi installation folder.
  • Page 64: Flashing Dfu Firmware On Stm Board - Windows

    CEC-Client and libCEC-AAEON require installing GDebi in order to run on Ubuntu. This step is performed in Terminal (Command Line). In Terminal, enter the command: sudo apt-get install gdebi After the process is completed, libCEC can be installed. Run the installer libcec4_4.0.4.1~bionic_amd64.deb from the deliverables folder.
  • Page 65: Installation Procedure For Dfuse Demo

    Download the .dfu file from the deliverables folder. Extract the files, then connect the board to the PC with a USB-C cable. Flashing the firmware file on board requires it to be transferred using a DFU Bootloader program. The steps show below use DfuSe USB Device Firmware Upgrade to perform these actions.
  • Page 66 The DfuSe application drivers for Windows 10 should be installed automatically. If they are not, follow the procedures below to install DfuSe drivers. When starting driver installation for target device, the “Found New Hardware Wizards” should appear as shown: Image 9: New Hardware Wizard Choose “Install from a list or specific location (Advanced)”...
  • Page 67 In the next window, select “Don’t search. I will choose the driver to install.” Image 10: Choose Install Options If the DfuSe drivers are installed, you will see a list of compatible hardware models. Image 11: DfuSe Drivers are installed CEC Client Installation...
  • Page 68 If there are no models listed, the drivers are not installed. Click on “Have Disk…” to select the drivers. In the Install from Disk dialog box, select browse and select the folder where the drivers are located and press “OK”. Default location is C:/Program Files/STMicroelectronics/DfuSe/Driver Image 12: Install from Disk The installer will automatically find and select the .INF and the hardware model will be...
  • Page 69 Image 13: Installation During installation, the following error message will appear. Click “Continue Anyway” to finish installing DfuSe drivers. Image 14: Continue Anyway CEC Client Installation...
  • Page 70: Installing Dfu-Util On Windows

    Image 15: Installation Finished DfuSe Installation will complete automatically. Click “Finish” once it is complete. Installing dfu-util on Windows This section details how to install dfu-util for programming the flash memory. It can be used to program both the Device OS and application firmware, as well as save and restore configurations.
  • Page 71: Switching Device In Dfu Mode

    Next, open Windows 10 Settings. In the top search field, type “environment” and select “Edit the system environment variables” when it appears. Click the “Environment Variables…” button at the bottom of the page. In the Environment Variables window, select “Path” in the System Variables list (bottom list) and click “Edit”.
  • Page 72: Flashing Dfu Firmware File On Stm Board On Linux

    Flashing DFU firmware file on STM board on Linux 2.8.1 STM32f042k6 This section details how to load the DFU firmware file onto STM32f042k6 MCU on Linux. First, install the required software tool from Terminal using the command: sudo apt-get install dfu-util After installing the dfu-util software tool, use the following procedure to conduct the firmware upgrade and load the upgraded firmware file using dfu-util onto the board’s MCU on Linux software platform.
  • Page 73: Installing Stm32Cubeprogrammer On Windows

    The following software needs to be downloaded before begining: Official Java JRE from the Oracle website, version 8 or higher: https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads- 2133155.html STM32CubeProgrammer from the official ST site: https://www.st.com/en/development-tools/stm32cubeprog.html For Windows, the driver for ST-Link is also needed: https://www.st.com/en/development-tools/stsw-link009.html 2.9.1 Installing STM32CubeProgrammer on Windows Install Java JRE: Run setup program “jre-8u221-windows-x64.exe”...
  • Page 74: Installing Stm32Cubeprogrammer On Linux

    2.9.2 Installing STM32CubeProgrammer on Linux Install Java Runtime Environment: Unpack Java JRE archive into your home directory tar -xf jre-8u221-linux-x64.tar.gz -C ~ Rename directory "jre1.8.0_221" to "jre" Install STM32CubeProgrammer: Unpack archive "en.stm32cubeprog.zip" with command unzip: unzip en.stm32cubeprog.zip Set permissions for executing using command chmod: chmod +x SetupSTM32CubeProgrammer-2.1.0.linux Run installer using command: JAVA_HOME=~/jre ./SetupSTM32CubeProgrammer-2.1.0.linux...
  • Page 75: Flashing Bootloader Or Combined Image

    Edit file ~/STM32CubeProgrammer/util/openJFXScript.csh Change line 4 from: JAVA_PATH=`which java` JAVA_PATH=~/jre/bin/java Edit file ~/STM32CubeProgrammer/bin/STM32CubeProgrammer Below first line: #!/bin/bash Insert the line: export JAVA_HOME=~/jre 2.9.3 Flashing Bootloader or Combined Image The steps for using STM32CubeProgramer to flash bootloader or combined image is the same for both Windows and Linux.
  • Page 76 Click on "Start Programming" button Restart is needed after flashing combined image to be operative Note: If you are unable to connect to the device, try changing ST-Link configuration option Mode from “Normal” to “Under reset”. CEC Client Installation...
  • Page 77: Chapter 3 Api

    Chapter 3 API Image 17: CEC Network STM32F10xxx device should be connected to Host CPU through USB (Communication Device Class) and HDMI CEC pin of baseboard. Firmware application should re-use already available CEC library from ST and provide adaptation layer which should enable access to CEC bus operation from USB host.
  • Page 78 STM32 device should be detected on USB host as a USB CDC serial device. Each of the API functions and input/output arguments should be serialized in the following way: ● Sending a cec command is executed by sending a string in the following format via CDC: send <address>...
  • Page 79 Image 18: Firmware Sending/Receiving Messages Firmware Command Description help View list of available commands get <name> Returns value of variable with specified name.† set <name> [value] Set value of variable.‡ send <address> [data] Send data over CEC network to specified address. bootloader Call STM bootloader and switch device to DFU mode.
  • Page 80: Chapter 4 Libcec

    Chapter 4 libCEC CEC (Consumer Electronics Control) allows for control of devices through the HDMI port. With the right hardware, libCEC allows control of the device with a TV remote. libCEC is an enabling platform for the CEC bus in HDMI. It allows developers to interact with other HDMI devices without having to worry about communication overhead, handshaking, and various ways of sending a message for each vendor.
  • Page 81 ● CAAEONAdapterCommands is a class that is used to send and receive data from the CDC, as well as for parsing and serializing data between firmware and libCEC format. libCEC Driver for Windows is the standard driver for serial communication included with the Windows installation.
  • Page 82: Demo Application Cec-Client.exe

    Demo Application cec-client.exe To send custom CEC commands from PC to TV through libCEC-AAEON adapter, you will need to install the cec-client. This is an .exe file that is included in the libCEC and Windows driver package. A new CEC-Client was made with libCEC-AAEON adapter and compiled libCEC in which a new adapter was added (3.2.1 Compile libCEC) 4.2.1 CEC-Client...
  • Page 83: Testing Cec-Client

    4.2.2 Testing CEC-Client CEC-Client must be run from Terminal. Type cec-client.exe to run it. After CEC-Client starts, it will open CEC-Client Terminal Application. From CEC-Client Terminal Application, you can send commands for testing. Some CEC-Client commands for testing libCEC are listed in the following table. Command Description tx 10:44:41...
  • Page 84: Chapter 5 Supported Commands

    Chapter 5 Supported Commands This section describes the message transfer and additional details for a number of common features enabled by CEC. Note that where a feature is supported, all messages within that feature should be implemented. Limitations Firmware Limitations: ●...
  • Page 85 CEC Client Installation...
  • Page 86 † Supported by all devices except TVs. CEC Client Installation...
  • Page 87 CEC Client Installation...
  • Page 88 ‡ Some models require you to turn on “Auto-Standby” in the Anynet+settings to enable this feature. CEC Client Installation...
  • Page 89: One Touch Play

    5.1.1 One Touch Play Command Feature: The One Touch Play feature allows a device to be played and become the active source with a single button press. The following messages are used for the One Touch Play feature: <Active Source>, <Image View On>, <Text View On>. OpCode Value Description...
  • Page 90: Routing Control

    5.1.2 Routing Control Command Feature: This feature is used to control the routing of the HDMI network by controlling CEC Switches. The following messages are used for the Routing Control feature: <Active Source>, <Inactive Source>, <Request Active Source>, <Set Stream Path>, <Routing Change>, <Routing Information>.
  • Page 91: Timer Programming

    OpCode Value Description Parameters Response Supported <Record 0x09 Attempt to [Record Enter ‘Recording’ On> record the Source] state and start specified source. recording if possible. Send the initiator <Record Status>. <Record 0x0A Used by a [Record Status> Recording Status Info] Device to inform the initiator of the message...
  • Page 92 OpCode Value Description Parameters Response Supported <Set 0x34 Used to set a [Day of Month] <Timer Status> Analogue single timer [Month of message Timer> block on an Year] Analogue [Start Time] Recording [Duration] Device. [Recording Sequence] [Analogue Broadcast Type] [Analogue Frequency] [Broadcast System]...
  • Page 93: System Information

    OpCode Value Description Parameters Response Supported <Set Timer 0x67 Used to set the [Program Title Recording device Program name of a String] stores title for Title> program future reference. associated with Ignore message if a timer block. it is not the Sent directly immediate next after sending a...
  • Page 94 OpCode Value Description Parameters Response Supported <CEC 0x9E Used to indicate the [CEC Version> supported CEC Version] version, in response to a <Get CEC Version> <Get CEC 0x9F Used by a device to None The source Version> enquire which responds with a version of CEC the <CEC Version>...
  • Page 95: Deck Control

    5.1.7 Deck Control Command Feature: This feature allows a Playback Device (a deck or disc player or recorder) to be controlled by another device (e.g. TV). The following messages are used for the Deck Control feature: <Deck Status>, <Give Deck Status>, <Deck Control>, <Play>. OpCode Value Description...
  • Page 96: Tuner Control

    OpCode Value Description Parameters Response Supported <Play> 0x41 Used to [Play Perform the specified control the Mode] actions, or return a playback <Feature Abort> behavior of a message. If media is source device. available the device enters ‘Deck Active’ state. If the device is in standby, has media available and the parameter is [“Play...
  • Page 97 OpCode Value Description Parameters Response Supported <Select 0x92 Directly selects [Analogue Change to the Analogue an Analogue TV Broadcast selected analogue Service> service Type] service and [Analogue stream its output Frequency] on the HDMI [Broadcast connection. If the System] tuner device is not capable of selecting this service, respond...
  • Page 98: Vendor Specific Commands

    5.1.9 Vendor Specific Commands Command Feature: This feature allows a set of vendor specific commands to be used to communicate between devices. The following messages are used for the Vendor Specific Commands feature: <Device Vendor ID>, <Give Device Vendor ID>, <Vendor Command>, <Vendor Command With ID>, <Vendor Remote Button Down>, <Vendor Remote Button Up>...
  • Page 99: Device Osd Name Transfer

    OpCode Value Description Parameters Response Supported <Set OSD 0x64 Used to send a [Display TV displays the String> text message to Control] message. output on a TV. [OSD String] 5.1.11 Device OSD Name Transfer Command Feature: This feature is used to request the preferred name of a device to be used in any on screen display (e.g.
  • Page 100: Remote Control Passthrough

    OpCode Value Description Parameters Response Supported <User 0x45 Indicates that user None Update display or Control released a remote perform an action, Released> control button (the as required. last one indicated by the <User Control Pressed> message) <Menu 0x8D A request from the [Menu May enter or exit Request>...
  • Page 101: Give Device Power Status

    OpCode Value Description Parameters Response Supported <User 0x44 Used to indicate Update display Control that the user Command] or perform an Pressed> pressed a remote action, as control button or required. switched from one remote control button to another. <User 0x45 Indicates that user None...
  • Page 102 The following messages are used for the System Audio Control feature: <Give Audio Status>, <Give System Audio Mode Status>, <Report Audio Status>, <Set System Audio Mode>, <System Audio Mode Request>, <System Audio Mode Status>, <User Control Pressed>, <User Control Released>. OpCode Value Description...
  • Page 103 OpCode Value Description Parameters Response Supported <System 0x70 A device [Physical The amplifier comes Audio implementing Address] out of standby (if Mode System Audio necessary) and Request> Control and which switches to the has volume relevant connector control RC buttons for device specified (eg TV or STB) by [Physical...
  • Page 104: Audio Rate Control

    5.1.16 Audio Rate Control Command Feature: This feature allows the audio playback rate of a Source Device to be controlled by another device, e.g. an Audio System. The following messages are used for the Audio Rate Control Feature: <Set Audio Rate>...

Table of Contents