Commit 1a6098f5 authored by Hu Zhenyu's avatar Hu Zhenyu Committed by Fabio Baltieri
Browse files

doc: Modify the it8xxx2_evb overview document



1. Remove the obsoleted board
2. Add HW rework of the new it8xxx2_evb
3. Add Wiring of the new it8xxx2_evb
4. Update the Ubuntu flash guide

Signed-off-by: default avatarHu Zhenyu <zhenyu.hu@intel.com>
parent db50a7ac
Loading
Loading
Loading
Loading
+34 −28
Original line number Diff line number Diff line
@@ -8,9 +8,10 @@ Overview

The IT8XXX2 is a 32-bit RISC-V Micro-controller.
And a highly integrated embedded controller with system functions.
It is suitable for mobile system applications.
It is suitable for mobile system applications. The picture below is
the IT81302 MECC board (also known as it8xxx2_evb) and its debug card.

.. figure:: it81302_board.jpg
.. figure:: it8xxx2_evb_and_debug_card.jpg
     :align: center
     :alt: IT81302 EVB

@@ -73,6 +74,13 @@ Other hardware features are not currently supported by Zephyr.
The default configuration can be found in the
:zephyr_file:`boards/riscv/it8xxx2_evb/it8xxx2_evb_defconfig` Kconfig file.

Hardware reworks
****************

Before using the it8xxx2_evb, some hardware rework is needed. The HW rework
guide can be found in ITE's website.
https://www.ite.com.tw/uploads/product_download/IT81302_MECC_Rework_Guide_0927.pdf

Programming and debugging on it83202
************************************

@@ -82,17 +90,17 @@ You can get them at: `ITE's website`_.

Wiring
=======
#. Connect your Download Board to your host computer using the USB cable.
#. Connect the Download Board to your host computer using the USB cable.

   .. image:: ite_Downloadboard_setup.jpg
        :align: center
        :alt: ITE Download Board Connected
#. Connect the it8xxx2_evb to your host computer or a 5V1A USB power supply.

#. Connect the Download Board J5 to J8 on the it8xxx2_evb board.

#. Connect your Download Board to J145 on the it8xxx2_evb board.
#. Connect the USB to UART wire to it8xxx2_evb.

   .. image:: it8xxx2_evb_setup.jpg
   .. image:: it8xxx2_evb_wiring.jpg
        :align: center
        :alt: ITE Download Board Connected
        :alt: it8xxx2_evb wiring

   .. note:: Be careful during connection!
    Use separate wires to connect I2C pins with pins on the it8xxx2_evb board.
@@ -100,35 +108,28 @@ Wiring

    +-------------+---------------+
    |   J5        | it8xxx2_evb   |
    |   Connector | J145 Connector|
    |   Connector | J8 Connector  |
    +=============+===============+
    |      2      |       7       |
    |      2      |       1       |
    +-------------+---------------+
    |      3      |       9       |
    |      3      |       3       |
    +-------------+---------------+
    |      4      |       10      |
    |      4      |       5       |
    +-------------+---------------+

#. Connect UART0 port of the it8xxx2_evb board
   to your host computer using the usb cable.

   .. note:: Be careful during connection!
    Use separate wires to connect USB serial with pins on the it8xxx2_evb board.
    Wiring connection is described in the table below.
    For USB to UART cable, connect the it8xxx2_evb as below:

    +-------------+---------------+
    |   USB       |  it8xxx2_evb  |
    |   Connector |  Connector    |
    | USB to UART | it8xxx2_evb   |
    | cable       | J5 Connector  |
    +=============+===============+
    |      TX     |   UART0 5     |
    |     RX      |     J5.3      |
    +-------------+---------------+
    |      RX     |   UART0 7     |
    |     TX      |     J5.4      |
    +-------------+---------------+
    |      GND    |      J15      |
    |     GND     | eSPI Debug.10 |
    +-------------+---------------+

#. Apply power to the board via a USB cable.

Building
========

@@ -160,7 +161,6 @@ to the it8xxx2 board flash.
          :align: center

    .. figure:: WinFlashTool_P4.jpg
          :align: center

#. Using winflash tool flash zephyr.bin into your ITE board.
   First, click ``Load`` button and select your zephyr.bin file.
@@ -196,7 +196,13 @@ Ubuntu
      $ minicom -D /dev/ttyUSB0 -b 115200

#. Open a second terminal window and use linux flash tool to flash your board.
   You can find more details about tool usage from its document.

   .. code-block:: console

      $ sudo ~/itetool/ite -f build/zephyr/zephyr.bin

   .. note:: The source code of ITE tool can be downloaded here:
    https://www.ite.com.tw/uploads/product_download/itedlb4-linux-v106.tar.bz2

#. Split first and second terminal windows to view both of them.
   You should see ``"Hello World! it8xxx2_evb"`` in the first terminal window.
−63.8 KiB
Loading image diff...
+96.7 KiB
Loading image diff...
−39.7 KiB
Loading image diff...
+98.8 KiB
Loading image diff...
Loading