|
| 1 | +.. _secureiot1702: |
| 2 | + |
| 3 | +Microchip SecureIoT1702 |
| 4 | +####################### |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +This demo board features a Microchip CEC1702 cryptographic |
| 10 | +embedded controlled based on an ARM Cortex-M4. |
| 11 | + |
| 12 | +Highlights of the board: |
| 13 | + |
| 14 | +- CEC1702 32-bit ARM® Cortex®-M4F Controller with Integrated Crypto |
| 15 | +- Compact, high-contrast, serial graphic LCD Display Module with back-light |
| 16 | +- 2x4 matrix of push buttons inputs |
| 17 | +- USB-UART Converter as debug interface |
| 18 | +- Potentiometer to ADC channel |
| 19 | +- Serial Quad I/O (SQI) flash |
| 20 | +- OTP programmable in CEC1702 |
| 21 | +- Two expansion headers compatible with MikroElektronika mikroBUS™ Expansion interface |
| 22 | + |
| 23 | +More information can be found on the `SecureIoT1702 website`_ and |
| 24 | +`CEC1702 website`_, and SoC programming information is available |
| 25 | +in the `CEC1702 datasheet`_. |
| 26 | + |
| 27 | +Supported Features |
| 28 | +================== |
| 29 | + |
| 30 | +The following devices are supported: |
| 31 | + |
| 32 | +- Nested Vectored Interrupt Controller (NVIC) |
| 33 | +- System Tick System Clock (SYSTICK) |
| 34 | +- Serial Ports (NS16550) |
| 35 | + |
| 36 | + |
| 37 | +Connections and IOs |
| 38 | +=================== |
| 39 | + |
| 40 | +Please refer to the `SecureIoT1702 schematics`_ for the pin routings. |
| 41 | +Additional devices can be connected via mikroBUS expansion interface. |
| 42 | + |
| 43 | +Programming and Debugging |
| 44 | +************************* |
| 45 | + |
| 46 | +This board comes with a 10-pin Cortext Debug port and a separate SPI |
| 47 | +flash programming header. |
| 48 | + |
| 49 | +Applications for the ``secureiot1702`` board configuration can be |
| 50 | +built the usual way (see :ref:`build_an_application` for more details) which |
| 51 | +is then programmed directly to the external SPI flash chip. |
| 52 | + |
| 53 | +Flashing |
| 54 | +======== |
| 55 | + |
| 56 | +# Add extra configuration :code:`CONFIG_BOOT_DELAY=4000` in :code:`prj.conf`. |
| 57 | + This is needed for the host USB drivers to be ready to see the boot messages. |
| 58 | + Build :ref:`hello_world` application. The build will result |
| 59 | + in :code:`zephyr_spi_image.bin`. |
| 60 | + |
| 61 | + .. zephyr-app-commands:: |
| 62 | + :zephyr-app: samples/hello_world |
| 63 | + :board: secureiot1702 |
| 64 | + :goals: build |
| 65 | + |
| 66 | +#. Connect your SPI programmer to SecureIoT1702 connector X12 in order to flash. |
| 67 | + Then proceed to flash using flashrom v1.1 or a similar tool for flashing |
| 68 | + SPI chip with :code:`zephyr_spi_image.bin`. |
| 69 | + |
| 70 | + .. code-block:: console |
| 71 | +
|
| 72 | + $ flashrom -w zephyr_spi_image.bin |
| 73 | +
|
| 74 | +#. Run your favorite terminal program to listen for output. Under Linux the |
| 75 | + terminal should be :code:`/dev/ttyUSB0`. For example: |
| 76 | + |
| 77 | + .. code-block:: console |
| 78 | +
|
| 79 | + $ minicom -D /dev/ttyUSB0 -o -b 115200 |
| 80 | +
|
| 81 | + The -o option tells minicom not to send the modem initialization |
| 82 | + string. Connection should be configured as follows: |
| 83 | + |
| 84 | + - Speed: 115200 |
| 85 | + - Data: 8 bits |
| 86 | + - Parity: None |
| 87 | + - Stop bits: 1 |
| 88 | + |
| 89 | +#. Connect the SecureIoT1702 to your host computer using the USB connector. |
| 90 | + |
| 91 | + You should see "Hello World! secureiot1702" in your terminal. |
| 92 | + |
| 93 | +Debugging |
| 94 | +========= |
| 95 | + |
| 96 | +You can debug an application in the usual way. Here is an example for the |
| 97 | +:ref:`hello_world` application. |
| 98 | + |
| 99 | +.. zephyr-app-commands:: |
| 100 | + :zephyr-app: samples/hello_world |
| 101 | + :board: mec15xxevb_assy6853 |
| 102 | + :maybe-skip-config: |
| 103 | + :goals: debug |
| 104 | + |
| 105 | + |
| 106 | +References |
| 107 | +********** |
| 108 | + |
| 109 | +.. target-notes:: |
| 110 | + |
| 111 | +.. _CEC1702 website: |
| 112 | + http://www.microchip.com/CEC1702 |
| 113 | + |
| 114 | +.. _CEC1702 datasheet: |
| 115 | + http://www.microchip.com/p/207/ |
| 116 | + |
| 117 | +.. _CEC1702 quick start guide: |
| 118 | + http://ww1.microchip.com/downloads/en/DeviceDoc/50002665A.pdf |
| 119 | + |
| 120 | +.. _SecureIoT1702 website: |
| 121 | + http://www.microchip.com/Developmenttools/ProductDetails.aspx?PartNO=DM990012 |
| 122 | + |
| 123 | +.. _SecureIoT1702 schematics: |
| 124 | + http://microchipdeveloper.com/secureiot1702:schematic |
0 commit comments