|
| 1 | +.. zephyr:board:: egis_et171 |
| 2 | +
|
| 3 | +Overview |
| 4 | +******** |
| 5 | + |
| 6 | +The et171 development board is used for development and verification, |
| 7 | +and can be used for application development through interfaces such |
| 8 | +as UART, GPIO, SPI, and I2C. |
| 9 | + |
| 10 | +Hardware |
| 11 | +******** |
| 12 | + |
| 13 | +The platform provides following hardware components: |
| 14 | + |
| 15 | +- 32-bit RISC-V CPU |
| 16 | +- 384KB embedded SDRAM |
| 17 | +- UART |
| 18 | +- I2C |
| 19 | +- SPI |
| 20 | +- GPIO |
| 21 | +- PWM |
| 22 | +- DMA |
| 23 | +- USB |
| 24 | + |
| 25 | +.. figure:: img/et171_snapshot.webp |
| 26 | + :align: center |
| 27 | + :alt: EGIS_ET171_SOC |
| 28 | + |
| 29 | +Supported Features |
| 30 | +================== |
| 31 | + |
| 32 | +.. zephyr:board-supported-hw:: |
| 33 | +
|
| 34 | +Connections and IOs |
| 35 | +=================== |
| 36 | + |
| 37 | +The et171 platform has 1 GPIO controller. It providing 17 bits of IO. |
| 38 | +It is responsible for pin input/output, pull-up, etc. |
| 39 | + |
| 40 | +The et171 platform has 3 SPI controllers, 2 of which can |
| 41 | +additionally support QSPI and XIP mode. |
| 42 | + |
| 43 | +The et171 platform has one USB 2.0 controller that supports up to |
| 44 | +USB 2.0 high-speed mode. |
| 45 | + |
| 46 | +Except USB DP/DM, all et171 peripheral I/O devices are mapped to 31 |
| 47 | +I/O pins through the multiplexer controller. |
| 48 | + |
| 49 | +System Clock |
| 50 | +------------ |
| 51 | + |
| 52 | +The et171 platform has a multi-stage frequency divider with a maximum |
| 53 | +speed of 200 MHz. |
| 54 | + |
| 55 | +Programming and debugging |
| 56 | +************************* |
| 57 | + |
| 58 | +.. zephyr:board-supported-runners:: |
| 59 | +
|
| 60 | +The et171 is compatible with Andes ae350, so you can use Andes ICE |
| 61 | +for debugging. For debugging zephyr applications or upload them into |
| 62 | +a RAM, you will need to connect ICE from host computer to et171 board |
| 63 | +and execute the ICE management software, ICEman, on this host computer. |
| 64 | + |
| 65 | +Connecting Andes ICE (AICE) |
| 66 | +=========================== |
| 67 | + |
| 68 | +AICE is used for debugging and uploading RAM code to the board. |
| 69 | + |
| 70 | +Building |
| 71 | +======== |
| 72 | + |
| 73 | +You can build applications in the usual way. Here is an example for |
| 74 | +the :zephyr:code-sample:`hello_world` application. |
| 75 | + |
| 76 | +.. zephyr-app-commands:: |
| 77 | + :zephyr-app: samples/hello_world |
| 78 | + :board: egis_et171 |
| 79 | + :goals: build |
| 80 | + |
| 81 | +Flashing |
| 82 | +======== |
| 83 | + |
| 84 | +Since this is a B2B prototype, there is no publicly available |
| 85 | +flashing tool. If you have any development needs, please contact |
| 86 | +the contact window of `Egis Technology Inc. <https://www.egistec.com/>`_ |
| 87 | +. |
| 88 | + |
| 89 | +If you has a debugger (`AICE-MICRO`_) with ICEman (`Andes Development Kit`_) |
| 90 | +, set the ``CONFIG_XIP=n`` to enable running the program in RAM mode via |
| 91 | +the ICE debugger. |
| 92 | + |
| 93 | +At first, you should run ICEman before load program. |
| 94 | + |
| 95 | +.. code-block:: console |
| 96 | +
|
| 97 | + # Enable execute file permission of ICEman |
| 98 | + $ chmod a+x ./ICEman |
| 99 | +
|
| 100 | + # Running the ICEman server |
| 101 | + $ sudo ./ICEman -Z v5 |
| 102 | +
|
| 103 | +.. code-block:: console |
| 104 | +
|
| 105 | + # When your ICEman server is running |
| 106 | + # You can load the program into RAM and execute it via gdb |
| 107 | + $ riscv64-zephyr-elf-gdb build/zephyr/zephyr.elf |
| 108 | + (gdb) target remote :1111 |
| 109 | + (gdb) monitor reset halt |
| 110 | + (gdb) load |
| 111 | + (gdb) quit |
| 112 | +
|
| 113 | +References |
| 114 | +********** |
| 115 | + |
| 116 | +.. target-notes:: |
| 117 | + |
| 118 | +.. _AICE-MICRO: http://www.andestech.com/en/products-solutions/andeshape-platforms/aice-micro/ |
| 119 | + |
| 120 | +.. _Andes Development Kit: https://github.com/andestech/Andes-Development-Kit/releases |
0 commit comments