boards: microchip: mec_assy6941: Add MEC5 evaluation board 6941
We added the mec_assy6941 an evaluation board for MEC5 HAL based MEC174x and MEC175x parts. We support these Microchip chips: mec1743_qlj, mec1743_qsz, mec1753_qlj, and mec1753_qsz. LJ refers to 176-pin and SZ to 144-pin WFGA packages. Q refers to total SRAM of 480KB. Building the board with one of the SoC's requires passing mec_assy9641/<soc_name>. For example: mec_assy6941/mec1753_qlj is passed to west via the "-b" command line option. The SoC's are configured to use Microchip's 32-bit 32KHz RTOS timer as the kernel tick. Refer to the board DTS rtimer node. If the user wishes to use ARM SYSTICK as the kernel timer then disable the rtimer node in the application overlay. Signed-off-by: Scott Worley <scott.worley@microchip.com>
This commit is contained in:
parent
059ee104fa
commit
b32eaa7add
25 changed files with 1015 additions and 0 deletions
59
boards/microchip/mec_assy6941/CMakeLists.txt
Normal file
59
boards/microchip/mec_assy6941/CMakeLists.txt
Normal file
|
@ -0,0 +1,59 @@
|
|||
#
|
||||
# Copyright (c) 2025 Microchip Technology Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
if(CONFIG_SOC_SERIES_MEC174X)
|
||||
set(PART_PREFIX mec174x)
|
||||
elseif(CONFIG_SOC_SERIES_MEC175X)
|
||||
set(PART_PREFIX mec175x)
|
||||
else()
|
||||
message(NOTICE "Unknown SoC series! No SPI image will be generated")
|
||||
endif()
|
||||
|
||||
if(DEFINED ENV{MEC5_SPI_GEN})
|
||||
# Grab it from environment variable if defined
|
||||
set(MEC5_SPI_GEN $ENV{MEC5_SPI_GEN})
|
||||
else()
|
||||
# Else find the tool in PATH
|
||||
if(CMAKE_HOST_APPLE)
|
||||
# CMAKE_HOST_UNIX is also true for Apple,
|
||||
# but there is no tool for Apple. So
|
||||
# we need to skip it.
|
||||
message(NOTICE "There is no SPI image generation tool for MacOS.")
|
||||
elseif(CMAKE_HOST_UNIX)
|
||||
set(MEC5_SPI_GEN_FILENAME ${PART_PREFIX}_spi_gen_linux_x86_64)
|
||||
elseif(CMAKE_HOST_WIN32)
|
||||
set(MEC5_SPI_GEN_FILENAME ${PART_PREFIX}_spi_gen.exe)
|
||||
endif()
|
||||
|
||||
find_file(MEC5_SPI_GEN_FINDFILE ${MEC5_SPI_GEN_FILENAME})
|
||||
if(MEC5_SPI_GEN_FINDFILE STREQUAL MEC5_SPI_GEN_FINDFILE-NOTFOUND)
|
||||
message(WARNING "Microchip SPI Image Generation tool (${MEC5_SPI_GEN_FILENAME}) is not available. SPI Image will not be generated.")
|
||||
else()
|
||||
set(MEC5_SPI_GEN ${MEC5_SPI_GEN_FINDFILE})
|
||||
endif()
|
||||
|
||||
unset(MEC5_SPI_GEN_FINDFILE)
|
||||
unset(MEC5_SPI_GEN_FILENAME)
|
||||
endif()
|
||||
|
||||
if(DEFINED MEC5_SPI_GEN)
|
||||
if(DEFINED ENV{MEC5_SPI_CFG})
|
||||
set(MEC5_SPI_CFG $ENV{MEC5_SPI_CFG})
|
||||
else()
|
||||
set(MEC5_SPI_CFG ${BOARD_DIR}/support/${PART_PREFIX}_spi_cfg.txt)
|
||||
endif()
|
||||
|
||||
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
|
||||
COMMAND ${MEC5_SPI_GEN}
|
||||
-i ${MEC5_SPI_CFG}
|
||||
-o ${PROJECT_BINARY_DIR}/${SPI_IMAGE_NAME}
|
||||
)
|
||||
|
||||
unset(MEC5_SPI_GEN)
|
||||
unset(MEC5_SPI_CFG)
|
||||
endif()
|
||||
|
||||
unset(PART_PREFIX)
|
8
boards/microchip/mec_assy6941/Kconfig.mec_assy6941
Normal file
8
boards/microchip/mec_assy6941/Kconfig.mec_assy6941
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2025 Microchip Technology Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_MEC_ASSY6941
|
||||
select SOC_MEC1743_QLJ if BOARD_MEC_ASSY6941_MEC1743_QLJ
|
||||
select SOC_MEC1743_QSZ if BOARD_MEC_ASSY6941_MEC1743_QSZ
|
||||
select SOC_MEC1753_QLJ if BOARD_MEC_ASSY6941_MEC1753_QLJ
|
||||
select SOC_MEC1753_QSZ if BOARD_MEC_ASSY6941_MEC1753_QSZ
|
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_MEC_ASSY6941_MEC1743_QLJ
|
||||
select SOC_MEC1743_QLJ
|
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_MEC_ASSY6941_MEC1743_QSZ
|
||||
select SOC_MEC1743_QSZ
|
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_MEC_ASSY6941_MEC1753_QLJ
|
||||
select SOC_MEC1753_QLJ
|
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_MEC_ASSY6941_MEC1753_QSZ
|
||||
select SOC_MEC1753_QSZ
|
14
boards/microchip/mec_assy6941/board.cmake
Normal file
14
boards/microchip/mec_assy6941/board.cmake
Normal file
|
@ -0,0 +1,14 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
set(SPI_IMAGE_NAME spi_image.bin)
|
||||
|
||||
board_set_flasher_ifnset(dediprog)
|
||||
|
||||
# --vcc=0 - use 3.5V to flash
|
||||
board_finalize_runner_args(dediprog
|
||||
"--spi-image=${PROJECT_BINARY_DIR}/${SPI_IMAGE_NAME}"
|
||||
"--vcc=0"
|
||||
)
|
||||
|
||||
# This allows a custom script to be used for flashing the SPI chip.
|
||||
include(${ZEPHYR_BASE}/boards/common/misc.board.cmake)
|
9
boards/microchip/mec_assy6941/board.yml
Normal file
9
boards/microchip/mec_assy6941/board.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
board:
|
||||
name: mec_assy6941
|
||||
full_name: MEC17xxEVB ASSY6941
|
||||
vendor: microchip
|
||||
socs:
|
||||
- name: mec1743_qlj
|
||||
- name: mec1743_qsz
|
||||
- name: mec1753_qlj
|
||||
- name: mec1753_qsz
|
394
boards/microchip/mec_assy6941/doc/index.rst
Normal file
394
boards/microchip/mec_assy6941/doc/index.rst
Normal file
|
@ -0,0 +1,394 @@
|
|||
.. zephyr:board:: mec_assy6941
|
||||
|
||||
Overview
|
||||
********
|
||||
|
||||
The MEC5 Assembly 6941 EVB kit is a development platform to evaluate the Microchip
|
||||
MEC174x and MEC175x series microcontrollers. This board requires a CPU daughter card:
|
||||
DC 176WFBGA DC ASSY 6942 for MEC1743Q-LJ or MEC1753Q-LJ (176-pin package)
|
||||
|
||||
Hardware
|
||||
********
|
||||
|
||||
- MEC174xQ-LJ/SZ or MEC175xQ-LJ/SZ ARM Cortex-M4 Processor
|
||||
- 480 KB total SRAM (416 KB code, 64 KB data) and 128 KB boot ROM
|
||||
- Keyboard interface
|
||||
- ADC & GPIO headers
|
||||
- Four DB9 UART connectors
|
||||
- FAN0, FAN1, FAN2 headers
|
||||
- FAN PWM interface
|
||||
- JTAG/SWD, ETM and MCHP Trace ports
|
||||
- PECI interface 3.0
|
||||
- I2C voltage translator
|
||||
- 10 SMBUS headers
|
||||
- VCI interface
|
||||
- Two Hardware Driven PS/2 Port
|
||||
- eSPI header
|
||||
- 2 Sockets for SPI NOR chips
|
||||
- One reset and VCC_PWRDGD pushbuttons
|
||||
- One external PCA9555 I/O port with jumper selectable I2C address.
|
||||
- One external LTC2489 delta-sigma ADC with jumper selectable I2C address.
|
||||
- Board power jumper selectable from +5V 2.1mm/5.5mm barrel connector or USB Micro A connector.
|
||||
- MEC175x has one I3C Host controller and one I3C secondary controller each with multiple ports.
|
||||
|
||||
For more information about the MEC174x please see `MEC174x Data Brief`_
|
||||
For more information about the MEC175x please see `MEC175x Data Brief`_
|
||||
|
||||
Supported Features
|
||||
==================
|
||||
|
||||
.. zephyr:board-supported-hw::
|
||||
|
||||
Connections and IOs
|
||||
===================
|
||||
|
||||
This evaluation board kit is comprised of the following HW blocks:
|
||||
|
||||
- MEC174x EVB ASSY 6941 Rev B
|
||||
- MEC174x 176WFBGA SOLDER DC ASSY 6942 with MEC1743Q-LJ or MEC1753Q-LJ silicon
|
||||
- SPI DONGLE ASSY 6791
|
||||
|
||||
System Clock
|
||||
============
|
||||
|
||||
The MEC174x/MEC175x MCU is configured to use the 96Mhz internal oscillator with the
|
||||
on-chip PLL to generate a resulting EC clock rate of 96 MHz. See Processor clock
|
||||
control register in chapter 4 "4.0 POWER, CLOCKS, and RESETS" of the data sheet in
|
||||
the references at the end of this document.
|
||||
|
||||
Serial Port
|
||||
===========
|
||||
|
||||
UART1 is configured for serial logs.
|
||||
|
||||
Jumper settings
|
||||
***************
|
||||
|
||||
Please follow the jumper settings below to properly demo this
|
||||
board. Advanced users may deviate from this recommendation.
|
||||
|
||||
Jumper settings for EVB Assy 6941 Rev B
|
||||
=======================================
|
||||
|
||||
Power-related jumpers
|
||||
---------------------
|
||||
|
||||
If you wish to power from +5V power brick, then connect to barrel connector ``P1``
|
||||
(5.5mm OD, 2.1mm ID) and set the jumper ``J1 5-6``.
|
||||
|
||||
If you wish to power from the Host USB micro-USB type A/B connector ``J62``, move the
|
||||
jumper to ``J1 9-10`` ``J59 1-2`` and ``J61 1-2``.
|
||||
|
||||
|
||||
.. note:: A single jumper is required in ``J1``.
|
||||
|
||||
Required power jumpers on:
|
||||
|
||||
* ``JP42 1-2``, ``JP43 1-2``, ``JP45 1-2``, ``JP47 1-2``, ``JP48 1-2``
|
||||
* ``JP50 1-2``, ``JP53 1-2``, ``JP56 1-2``, ``JP58 1-2``, ``JP60 1-2``
|
||||
* ``JP62 1-2``, ``JP65 1-2``, ``JP66 1-2``, ``JP68 1-2``
|
||||
|
||||
Select board +3.3V_STBY for:
|
||||
|
||||
* ``JP161 1-2`` VBAT_CHIP power rail
|
||||
* ``J67 1-2`` VCHIP_VTR_REG power rail
|
||||
* ``JP157 1-2`` VCHIP_VTR_PLL power rail
|
||||
* ``JP158 1-2`` VCHIP_VTR_ANALOG power rail
|
||||
* ``JP159 1-2`` VCHIP_VTR1 power rail
|
||||
|
||||
VCHIP_VTR2 power rail can be +3.3V or +1.8V affecting the pins on VTR2.
|
||||
NOTE: QSPI shared port pins are on the VTR2 power rail.
|
||||
Select one only:
|
||||
|
||||
* ``J68 1-2`` VTR2 is connected to +3.3V_STBY
|
||||
* ``J68 3-4`` VTR2 is connected to +1.8V_STBY
|
||||
|
||||
VCHIP_VTR3 power rail in normal operation is connected to +1.8V.
|
||||
* ``JP160 1-2`` VTR3 is connected to +1.8V_STBY
|
||||
|
||||
Jumper selection for VCC_PWRGD
|
||||
VCC_PWRGD is connected to a 4.75K pull-up to VTR1, switch S1 to ground it,
|
||||
and reset generator U2.
|
||||
|
||||
* ``JP17 3x7 19-20``
|
||||
* ``JP19 3x6 8-9``
|
||||
* ``JP36 1-2``
|
||||
* ``JP34 1-2``
|
||||
|
||||
Jumper selection for nRESET_IN
|
||||
nRESET_IN is connected to a 4.75K pull-up to VTR1, switch S2 to ground it,
|
||||
and reset generator U3.
|
||||
|
||||
* ``JP37 1-2``
|
||||
* ``JP35 1-2``
|
||||
|
||||
Boot-ROM Straps
|
||||
---------------
|
||||
|
||||
These jumpers configure MEC174x/MEC175x Boot-ROM straps.
|
||||
|
||||
* ``JP1 1-2`` UART_BSTRAP Normal Boot
|
||||
* ``JP2 1-2`` CR_STRAP Normal Boot
|
||||
* ``JP3 2-3`` JTAG_STRAP JTAG/SWD interface is not held in reset
|
||||
* ``JP4 2-3`` CMP_STRAP GPIO207 is available as a GPIO
|
||||
* ``JP5 1-2`` PWRGD_STRAP
|
||||
* ``JP7 1-2`` BSS_STRAP Select eSPI CAF vs G3 if enabled in OTP
|
||||
* ``JP8 1-2`` BSS_STRAP Default BSS_STRAP. Select load from Shared SPI
|
||||
* ``JP6 1-2`` VTR2_STRAP
|
||||
* ``JP9 1-2`` CRISIS_RECOVERY_STRAP
|
||||
|
||||
Peripheral Routing Jumpers
|
||||
--------------------------
|
||||
|
||||
UART0 to P19A DB9(top)
|
||||
|
||||
* ``JP89 No jumper`` RS-232 transceiver U8 not in reset.
|
||||
* ``JP21 2-3, 8-9`` Select UART0_TX and UART0_RX from GPIOs.
|
||||
* ``JP22 1-2, 4-5`` Select UART0_TX and UART0_RX to U8.
|
||||
|
||||
UART1 to P19B DB9(bottom)
|
||||
|
||||
* ``JP90 No jumper`` RS-232 transceiver U9 not in reset.
|
||||
* ``JP91 1-2, 4-5`` Connect UART1_TX and UART1_RX to U9.
|
||||
* ``JP24 2-3, 5-6`` Select UART1_TX and UART1_RX from GPIOs.
|
||||
|
||||
Shared SPI on J18 2x10 header.
|
||||
|
||||
* ``JP18 14-15`` Select SHD_nCS0.
|
||||
* ``JP18 17-18`` Select SHD_CLK.
|
||||
* ``JP18 2-3`` Select SHD_IO0.
|
||||
* ``JP18 5-6`` Select SHD_IO1.
|
||||
* ``JP18 8-9`` Select SHD_IO2(nWP).
|
||||
* ``JP18 11-12`` Select SHD_IO3(nHOLD).
|
||||
|
||||
Second chip select for accessing SPI dongle flash U7.
|
||||
* ``JP18 20-12`` Select SHD_nCS1.
|
||||
|
||||
JTAG/SWD ARM JTAG 2x10 J29.
|
||||
|
||||
* ``JP80 1-2`` No jumper. This jumper holds JTAG/SWD interface in reset.
|
||||
* ``JP12 2-3`` Select JTAG_TDO or SWO.
|
||||
* ``JP12 5-6`` Select JTAG_TDI Not required for ARM SWD.
|
||||
* ``JP12 8-9`` Select JTAG_TMS or SWDIO.
|
||||
* ``JP12 11-12`` Select JTAG_CLK or SWCLK.
|
||||
|
||||
NOTE:
|
||||
ARM SWD is a two pin interface using JTAG_TMS as a bidirectional I/O pin and JTAG_CLK.
|
||||
The ARM Serial Wire Output Trace feature is on a third pin, JTAG_TDO.
|
||||
Configuration options are:
|
||||
|
||||
1. 4-pin JTAG or SWD plus SWO. Connect all four JP12 jumpers shown above.
|
||||
2. 2-pin SWD plus SWO. Connect JP12 jumpers for JTAG_TDO, JTAG_TMS, and JTAG_CLK. JTAG_TDI is available to use as GPIO145.
|
||||
3. 2-pin SWD only. Connect JP12 jumpers for JTAG_TMS and JTAG_CLK. JTAG_TDI and JTAG_TDO are available as GPIO145 and GPIO146 respectively
|
||||
|
||||
Jumper settings for MEC174x/MEC175x 176WFBGA Socket DC Assy 6942 Rev A0p1
|
||||
=========================================================================
|
||||
|
||||
The jumper configuration explained above covers the base board. The ASSY
|
||||
6942 MEC174x/MEC175x CPU board provides capability for an optional, external 32KHz
|
||||
clock source. The card includes a 32KHz crystal oscillator. The card can
|
||||
also be configured to use an external 50% duty cycle 32KHz source on the
|
||||
XTAL2/32KHZ_IN pin. Note, firmware must set the MEC174x/MEC175x clock enable
|
||||
register to select the external source matching the jumper settings. If
|
||||
using the MEC174x/MEC175x internal silicon oscillator then the 32K jumper settings
|
||||
are don't cares. ``JP1`` on DC is for scoping test clock outputs. Please
|
||||
refer to the schematic in reference section below.
|
||||
|
||||
Parallel 32KHz crystal configuration
|
||||
------------------------------------
|
||||
``JP1 1x2 ON``
|
||||
``JP2 1x3 2-3``
|
||||
|
||||
External 32KHz 50% duty cycle configuration
|
||||
-------------------------------------------
|
||||
``JP1 1x2 NC``
|
||||
``JP2 1x3 1-2``
|
||||
|
||||
NOTE: EVB ``JP117 3-4`` Connects 32KHz OSC U15 output to DC.
|
||||
|
||||
Building
|
||||
========
|
||||
|
||||
#. Build :zephyr:code-sample:'hello_world` application as you normally do.
|
||||
|
||||
#. The file :file:`spi_image.bin` will be created if the build system
|
||||
can find the image generation tool. This binary image can be used
|
||||
to flash the SPI chip.
|
||||
|
||||
Programming and Debugging
|
||||
=========================
|
||||
|
||||
Setup
|
||||
=====
|
||||
|
||||
#. Example programming the SPI flash on the Assy6791 SPI dongle.
|
||||
|
||||
#. We use a low cost USB-to-GPIO device based on the FTDI FT232H device.
|
||||
|
||||
The FT232H device used here is the `AdaFruit FT232H`_
|
||||
The AdaFruit FT232H supports both 5V and 3.3V parts.
|
||||
|
||||
The linux flashrom tool supports FT232H USB-to-GPIO used as an SPI programmer.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ sudo /usr/sbin/flashrom -V -p ft2232_spi:type=232H,divisor=30 -w spi_image.bin
|
||||
|
||||
#. Clone the `MEC174x SPI Image Gen`_ or `MEC175x SPI Image Gen`_ repository or download the
|
||||
files within that directory.
|
||||
|
||||
#. Make the image generation available for Zephyr, by making the tool
|
||||
searchable by path, or by setting an environment variable
|
||||
``MEC5_SPI_GEN``, for example:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
export MEC5_SPI_GEN=<path to tool>/mec174x_spi_gen_linux_x86_64
|
||||
or
|
||||
export MEC5_SPI_GEN=<path to tool>/mec175x_spi_gen_linux_x86_64
|
||||
|
||||
|
||||
#. The default configuration file is mec174x_spi_cfg.txt or mec175x_spi_cfg.txt located in
|
||||
${BOARD_DIR}/support. If needed, a custom SPI image configuration file can be specified
|
||||
to override the default one.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
export MEC5_SPI_CFG=custom_spi_cfg.txt
|
||||
|
||||
Wiring
|
||||
========
|
||||
|
||||
#. Connect the SPI Dongle ASSY 6791 to ``J18`` in the EVB.
|
||||
|
||||
.. image:: spi_dongle_assy6791.webp
|
||||
:align: center
|
||||
:alt: SPI DONGLE ASSY 6791 Connected
|
||||
|
||||
#. IMPORTANT: Temporarily remove the jumper from JP87 to isolate SPI dongle power from EVB power rails.
|
||||
This will prevent the SPI programmer from back driving voltage to the EVB.
|
||||
|
||||
#. Connect programmer to the header J6 on the Assy6791 board, it will flash the SPI NOR chip
|
||||
``U3``.
|
||||
|
||||
.. note:: The AdaFruit FT232H board supports +5V or +3.3V SPI flash devices. It has
|
||||
separate +3V and +5V pins. You should connect the appropriate voltage rail to the
|
||||
Assy6791 flash dongle's J6-1 power pin. It is recommended to remove the Assy6791
|
||||
dongle from the EVB when flashing. If the dongle is attached to an unpowered EVB then
|
||||
then the SPI programmer will back drive all the components. Back driving voltage can
|
||||
be avoided by removing the jumper on EVB JP87 disconnecting VTR1/VTR2 from the 2x10
|
||||
header J18.
|
||||
|
||||
+------------+---------------+
|
||||
| AdaFruit | Assy6791 |
|
||||
| Connector | J6 Connector |
|
||||
+============+===============+
|
||||
| 3V or 5V | 1 |
|
||||
+------------+---------------+
|
||||
| GND | 2 |
|
||||
+------------+---------------+
|
||||
| D3 | 3 |
|
||||
+------------+---------------+
|
||||
| D0 | 4 |
|
||||
+------------+---------------+
|
||||
| D2 | 6 |
|
||||
+------------+---------------+
|
||||
| D1 | 5 |
|
||||
+------------+---------------+
|
||||
|
||||
#. The AdaFruit FT232H has USB type-C connector. Connect it to your
|
||||
development system with the appropriate USB cable. The FT232H board and
|
||||
Assy6791 dongle will be powered.
|
||||
|
||||
|
||||
Flashing
|
||||
========
|
||||
|
||||
#. Run your favorite terminal program
|
||||
|
||||
#. Flash the SPI image created by Microchip SPI image generator during the
|
||||
zephyr build process. The divisor option flashrom passes to the linux
|
||||
FT232 driver divides down the 60 MHz SPI clock. You can read the current
|
||||
SPI image by changing the '-w' option to '-r'.
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ sudo /usr/sbin/flashrom -V -p ft2232_spi:type=232H,divisor=30 -w spi_image.bin
|
||||
|
||||
|
||||
#. When flashrom completes.
|
||||
Disconnect USB cable to remove power from the AdaFruit FT232H programmer.
|
||||
Disconnect FT232H from Assy6791 dongle.
|
||||
Replace the jumper on EVB JP87.
|
||||
|
||||
# Power on the EVB.
|
||||
|
||||
#. You should see ``"Hello World! <board name>"`` in the first terminal window.
|
||||
If you don't see this message, press the Reset button and the message should appear.
|
||||
|
||||
Debugging
|
||||
=========
|
||||
|
||||
This board comes with a Cortex ETM port which facilitates tracing and debugging
|
||||
using a single physical connection. In addition, it comes with sockets for
|
||||
JTAG only sessions.
|
||||
|
||||
Troubleshooting
|
||||
===============
|
||||
|
||||
#. In case you don't see your application running, please make sure ``LED1`` and ``LED2``
|
||||
are lit. If one of these is off, then check the power-related jumpers again.
|
||||
|
||||
#. If you suspect the SPI image was not programmed remove the SPI dongle from the EVB
|
||||
and try flashing it again.
|
||||
|
||||
PCA9555 Enabling
|
||||
================
|
||||
#. To enable PCA9555PW and test the I2C on mec172xevb_assy6906, additional works are needed:
|
||||
|
||||
As the I2C slave device NXP pca95xx on mec172xevb_assy6906 is connected to I2C00 port,
|
||||
however, I2C00 port is shared with UART2 RS232 to TTL converter used to catch serial log,
|
||||
so it's not possible to use UART2 and I2C00 port simultaneously. We need to change to use
|
||||
I2C01 port by making some jumpers setting as below:
|
||||
|
||||
+---------+---------+------------------------------------------+
|
||||
| Pin 1 | Pin 2 | Comment |
|
||||
+=========+=========+==========================================+
|
||||
| JP49.1 | JP49.2 | Connect PCA9555 VCC to +3.3V_STBY |
|
||||
+---------+---------+------------------------------------------+
|
||||
| JP53.1 | JP53.2 | Select address 0100b, which means 0x26 |
|
||||
+---------+---------+------------------------------------------+
|
||||
| JP12.13 | JP12.14 | Connect I2C01_SDA from CPU to header J20 |
|
||||
+---------+---------+------------------------------------------+
|
||||
| JP12.4 | JP12.5 | Connect I2C01_SCL from CPU to header J20 |
|
||||
+---------+---------+------------------------------------------+
|
||||
| JP77.7 | JP77.8 | External pull-up for I2C01_SDA |
|
||||
+---------+---------+------------------------------------------+
|
||||
| JP77.9 | JP77.10 | External pull-up for I2C01_SCL |
|
||||
+---------+---------+------------------------------------------+
|
||||
| JP58.1 | JP20.1 | Connect NXP PCA9555 SCL to I2C01 |
|
||||
+---------+---------+------------------------------------------+
|
||||
| JP58.3 | JP20.3 | Connect NXP PCA9555 SDA to I2C01 |
|
||||
+---------+---------+------------------------------------------+
|
||||
|
||||
References
|
||||
**********
|
||||
|
||||
.. target-notes::
|
||||
|
||||
.. _MEC174x Data Brief:
|
||||
https://github.com/MicrochipTech/CPGZephyrDocs/blob/main/MEC174x/MEC174x_DataBrief.pdf
|
||||
.. _MEC175x Data Brief:
|
||||
https://github.com/MicrochipTech/CPGZephyrDocs/blob/main/MEC175x/MEC175x_DataBrief.pdf
|
||||
.. _EVB Schematic:
|
||||
https://github.com/MicrochipTech/CPGZephyrDocs/blob/main/schematics/EVB_Assy6941.pdf
|
||||
.. _SOC Daughter Card Schematic:
|
||||
https://github.com/MicrochipTech/CPGZephyrDocs/blob/main/schematics/MEC174x_176WFBGA_DC_6942.pdf
|
||||
.. _SPI Dongle Schematic:
|
||||
https://github.com/MicrochipTech/CPGZephyrDocs/blob/main/schematics/SPI_Flash_and_EEPROM_Dongle_Assy6791_Rev_B1p0.pdf
|
||||
.. _MEC174x SPI Image Gen:
|
||||
https://github.com/MicrochipTech/CPGZephyrDocs/tree/main/MEC174x/SPI_image_gen
|
||||
.. _MEC175x SPI Image Gen:
|
||||
https://github.com/MicrochipTech/CPGZephyrDocs/tree/main/MEC175x/SPI_image_gen
|
||||
.. _AdaFruit FT232H:
|
||||
https://www.adafruit.com/product/2264
|
BIN
boards/microchip/mec_assy6941/doc/mec_assy6941_evb.webp
Normal file
BIN
boards/microchip/mec_assy6941/doc/mec_assy6941_evb.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
boards/microchip/mec_assy6941/doc/spi_dongle_assy6791.webp
Normal file
BIN
boards/microchip/mec_assy6941/doc/spi_dongle_assy6791.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 55 KiB |
67
boards/microchip/mec_assy6941/mec_assy6941_mec1743_qlj.dts
Normal file
67
boards/microchip/mec_assy6941/mec_assy6941_mec1743_qlj.dts
Normal file
|
@ -0,0 +1,67 @@
|
|||
/*
|
||||
* Copyright (c) 2025, Microchip Technology Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <microchip/mec5_mec1743qlj.dtsi>
|
||||
#include <microchip/mec5/mec1743qlj-a0-pinctrl.dtsi>
|
||||
|
||||
/ {
|
||||
model = "Microchip MEC ASSY6941 MEC1743-QLJ evaluation board";
|
||||
compatible = "microchip,mec_assy6941-mec1743_qlj";
|
||||
|
||||
chosen {
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,console = &uart1;
|
||||
rtimer-busy-wait-timer = &timer5;
|
||||
};
|
||||
|
||||
power-states {
|
||||
idle: idle {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
min-residency-us = <1000000>;
|
||||
};
|
||||
|
||||
suspend_to_ram: suspend_to_ram {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-ram";
|
||||
min-residency-us = <2000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
clock-frequency = <96000000>;
|
||||
status = "okay";
|
||||
cpu-power-states = <&idle &suspend_to_ram>;
|
||||
};
|
||||
|
||||
/* Disable ARM SysTick kernel timer driver */
|
||||
&systick {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/* Enable MCHP kernel timer driver using 32KHz RTOS timer and 1MHz basic timer */
|
||||
&rtimer {
|
||||
compatible = "microchip,mec5-ktimer";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* We chose 32-bit basic timer 5 for use by ktimer */
|
||||
&timer5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
compatible = "microchip,mec5-uart";
|
||||
status = "okay";
|
||||
clock-frequency = <1843200>;
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&uart1_tx_gpio170 &uart1_rx_gpio171>;
|
||||
pinctrl-names = "default";
|
||||
};
|
27
boards/microchip/mec_assy6941/mec_assy6941_mec1743_qlj.yaml
Normal file
27
boards/microchip/mec_assy6941/mec_assy6941_mec1743_qlj.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
#
|
||||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
identifier: mec_assy6941/mec1743_qlj
|
||||
name: MEC174X EVB ASSY 6941 with MEC1743-QLJ
|
||||
type: mcu
|
||||
arch: arm
|
||||
toolchain:
|
||||
- zephyr
|
||||
- gnuarmemb
|
||||
ram: 60
|
||||
flash: 416
|
||||
supported:
|
||||
- gpio
|
||||
- pinctrl
|
||||
- i2c
|
||||
- spi
|
||||
testing:
|
||||
binaries:
|
||||
- spi_image.bin
|
||||
ignore_tags:
|
||||
- bluetooth
|
||||
- net
|
||||
vendor: microchip
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
67
boards/microchip/mec_assy6941/mec_assy6941_mec1743_qsz.dts
Normal file
67
boards/microchip/mec_assy6941/mec_assy6941_mec1743_qsz.dts
Normal file
|
@ -0,0 +1,67 @@
|
|||
/*
|
||||
* Copyright (c) 2025, Microchip Technology Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <microchip/mec5_mec1743qlj.dtsi>
|
||||
#include <microchip/mec5/mec1743qlj-a0-pinctrl.dtsi>
|
||||
|
||||
/ {
|
||||
model = "Microchip MEC ASSY6941 MEC1743-QSZ evaluation board";
|
||||
compatible = "microchip,mec_assy6941-mec1743_qsz";
|
||||
|
||||
chosen {
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,console = &uart1;
|
||||
rtimer-busy-wait-timer = &timer5;
|
||||
};
|
||||
|
||||
power-states {
|
||||
idle: idle {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
min-residency-us = <1000000>;
|
||||
};
|
||||
|
||||
suspend_to_ram: suspend_to_ram {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-ram";
|
||||
min-residency-us = <2000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
clock-frequency = <96000000>;
|
||||
status = "okay";
|
||||
cpu-power-states = <&idle &suspend_to_ram>;
|
||||
};
|
||||
|
||||
/* Disable ARM SysTick kernel timer driver */
|
||||
&systick {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/* Enable MCHP kernel timer driver using 32KHz RTOS timer and 1MHz basic timer */
|
||||
&rtimer {
|
||||
compatible = "microchip,mec5-ktimer";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* We chose 32-bit basic timer 5 for use by ktimer */
|
||||
&timer5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
compatible = "microchip,mec5-uart";
|
||||
status = "okay";
|
||||
clock-frequency = <1843200>;
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&uart1_tx_gpio170 &uart1_rx_gpio171>;
|
||||
pinctrl-names = "default";
|
||||
};
|
27
boards/microchip/mec_assy6941/mec_assy6941_mec1743_qsz.yaml
Normal file
27
boards/microchip/mec_assy6941/mec_assy6941_mec1743_qsz.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
#
|
||||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
identifier: mec_assy6941/mec1743_qsz
|
||||
name: MEC174X EVB ASSY 6941 with MEC1743-QSZ
|
||||
type: mcu
|
||||
arch: arm
|
||||
toolchain:
|
||||
- zephyr
|
||||
- gnuarmemb
|
||||
ram: 60
|
||||
flash: 416
|
||||
supported:
|
||||
- gpio
|
||||
- pinctrl
|
||||
- i2c
|
||||
- spi
|
||||
testing:
|
||||
binaries:
|
||||
- spi_image.bin
|
||||
ignore_tags:
|
||||
- bluetooth
|
||||
- net
|
||||
vendor: microchip
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
67
boards/microchip/mec_assy6941/mec_assy6941_mec1753_qlj.dts
Normal file
67
boards/microchip/mec_assy6941/mec_assy6941_mec1753_qlj.dts
Normal file
|
@ -0,0 +1,67 @@
|
|||
/*
|
||||
* Copyright (c) 2025, Microchip Technology Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <microchip/mec5_mec1753qlj.dtsi>
|
||||
#include <microchip/mec5/mec1753qlj-a0-pinctrl.dtsi>
|
||||
|
||||
/ {
|
||||
model = "Microchip MEC ASSY6941 MEC1753-QLJ evaluation board";
|
||||
compatible = "microchip,mec_assy6941-mec1753_qlj";
|
||||
|
||||
chosen {
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,console = &uart1;
|
||||
rtimer-busy-wait-timer = &timer5;
|
||||
};
|
||||
|
||||
power-states {
|
||||
idle: idle {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
min-residency-us = <1000000>;
|
||||
};
|
||||
|
||||
suspend_to_ram: suspend_to_ram {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-ram";
|
||||
min-residency-us = <2000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
clock-frequency = <96000000>;
|
||||
status = "okay";
|
||||
cpu-power-states = <&idle &suspend_to_ram>;
|
||||
};
|
||||
|
||||
/* Disable ARM SysTick kernel timer driver */
|
||||
&systick {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/* Enable MCHP kernel timer driver using 32KHz RTOS timer and 1MHz basic timer */
|
||||
&rtimer {
|
||||
compatible = "microchip,mec5-ktimer";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* We chose 32-bit basic timer 5 for use by ktimer */
|
||||
&timer5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
compatible = "microchip,mec5-uart";
|
||||
status = "okay";
|
||||
clock-frequency = <1843200>;
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&uart1_tx_gpio170 &uart1_rx_gpio171>;
|
||||
pinctrl-names = "default";
|
||||
};
|
27
boards/microchip/mec_assy6941/mec_assy6941_mec1753_qlj.yaml
Normal file
27
boards/microchip/mec_assy6941/mec_assy6941_mec1753_qlj.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
#
|
||||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
identifier: mec_assy6941/mec1753_qlj
|
||||
name: MEC174X EVB ASSY 6941 with MEC1753-QLJ
|
||||
type: mcu
|
||||
arch: arm
|
||||
toolchain:
|
||||
- zephyr
|
||||
- gnuarmemb
|
||||
ram: 60
|
||||
flash: 416
|
||||
supported:
|
||||
- gpio
|
||||
- pinctrl
|
||||
- i2c
|
||||
- spi
|
||||
testing:
|
||||
binaries:
|
||||
- spi_image.bin
|
||||
ignore_tags:
|
||||
- bluetooth
|
||||
- net
|
||||
vendor: microchip
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
67
boards/microchip/mec_assy6941/mec_assy6941_mec1753_qsz.dts
Normal file
67
boards/microchip/mec_assy6941/mec_assy6941_mec1753_qsz.dts
Normal file
|
@ -0,0 +1,67 @@
|
|||
/*
|
||||
* Copyright (c) 2025, Microchip Technology Inc.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <microchip/mec5_mec1753qsz.dtsi>
|
||||
#include <microchip/mec5/mec1753qsz-a0-pinctrl.dtsi>
|
||||
|
||||
/ {
|
||||
model = "Microchip MEC ASSY6941 MEC1753-QSZ evaluation board";
|
||||
compatible = "microchip,mec_assy6941-mec1753_qsz";
|
||||
|
||||
chosen {
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,console = &uart1;
|
||||
rtimer-busy-wait-timer = &timer5;
|
||||
};
|
||||
|
||||
power-states {
|
||||
idle: idle {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
min-residency-us = <1000000>;
|
||||
};
|
||||
|
||||
suspend_to_ram: suspend_to_ram {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-ram";
|
||||
min-residency-us = <2000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
clock-frequency = <96000000>;
|
||||
status = "okay";
|
||||
cpu-power-states = <&idle &suspend_to_ram>;
|
||||
};
|
||||
|
||||
/* Disable ARM SysTick kernel timer driver */
|
||||
&systick {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/* Enable MCHP kernel timer driver using 32KHz RTOS timer and 1MHz basic timer */
|
||||
&rtimer {
|
||||
compatible = "microchip,mec5-ktimer";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* We chose 32-bit basic timer 5 for use by ktimer */
|
||||
&timer5 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
compatible = "microchip,mec5-uart";
|
||||
status = "okay";
|
||||
clock-frequency = <1843200>;
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&uart1_tx_gpio170 &uart1_rx_gpio171>;
|
||||
pinctrl-names = "default";
|
||||
};
|
27
boards/microchip/mec_assy6941/mec_assy6941_mec1753_qsz.yaml
Normal file
27
boards/microchip/mec_assy6941/mec_assy6941_mec1753_qsz.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
#
|
||||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
identifier: mec_assy6941/mec1753_qsz
|
||||
name: MEC174X EVB ASSY 6941 with MEC1753-QSZ
|
||||
type: mcu
|
||||
arch: arm
|
||||
toolchain:
|
||||
- zephyr
|
||||
- gnuarmemb
|
||||
ram: 60
|
||||
flash: 416
|
||||
supported:
|
||||
- gpio
|
||||
- pinctrl
|
||||
- i2c
|
||||
- spi
|
||||
testing:
|
||||
binaries:
|
||||
- spi_image.bin
|
||||
ignore_tags:
|
||||
- bluetooth
|
||||
- net
|
||||
vendor: microchip
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2025, Microchip Technology Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
51
boards/microchip/mec_assy6941/support/mec174x_spi_cfg.txt
Normal file
51
boards/microchip/mec_assy6941/support/mec174x_spi_cfg.txt
Normal file
|
@ -0,0 +1,51 @@
|
|||
; MEC174x SPI Image Generator configuration file
|
||||
[SPI]
|
||||
SPISizeMegabits = 128
|
||||
|
||||
[DEVICE]
|
||||
TagAddr0 = 0
|
||||
TagAddr1 = 0
|
||||
; BoardID is used by a Boot-ROM feature named PlatformID. By default PlatformID
|
||||
; is disabled. If PlatformID is enabled in OTP Boot-ROM will check the image
|
||||
; BoardID value with an OTP PlatformID value. Load is aborted if the ID's do
|
||||
; not match.
|
||||
BoardID = 0x316
|
||||
|
||||
[IMAGE "0"]
|
||||
ImageLocation = 0x2000
|
||||
SpiFreqMHz = 24
|
||||
SpiReadCommand = slow
|
||||
SpiDriveStrength = 4
|
||||
SpiSlewFast = false
|
||||
SpiSignalControl = 0x00
|
||||
IMG1BinFile = zephyr.bin
|
||||
ImageRevision = 0
|
||||
FwOffset = 0
|
||||
IMG1LoadAddress = 0xB0000
|
||||
IMG1EntryAddress = 0
|
||||
UseECDSA = false
|
||||
AuthenticateKeySelt = 5
|
||||
AutoKeyRevEn = true
|
||||
KeyRevPermission = 0xff
|
||||
AutoRollBackProtEn = false
|
||||
RollbackProtPerm031000 = 0
|
||||
RollbackProtPerm063032 = 0
|
||||
RollbackProtPerm095063 = 0
|
||||
RollbackProtPerm127096 = 0
|
||||
ECDSAPrivKeyFile = ECC384r.pem
|
||||
ECDSAPrivKeyPassword = MCHPECC384r
|
||||
FwEncrypt = false
|
||||
AesGenECPubKeyFile = ECC384r_crt.pem
|
||||
TagBuildNumber= 0
|
||||
Comp0ProgDrvStrenEN = false
|
||||
Comp0WritCmdTotByts = 0
|
||||
Comp0ReadCmdByte = 0
|
||||
Comp0WritCmdByte = 0
|
||||
Comp0DrvValue = 0
|
||||
Comp0DrvMask = 0
|
||||
Comp1ProgDrvStrenEN = false
|
||||
Comp1WritCmdTotByts = 0
|
||||
Comp1ReadCmdByte = 0
|
||||
Comp1WritCmdByte = 0
|
||||
Comp1DrvValue = 0
|
||||
Comp1DrvMask = 0
|
52
boards/microchip/mec_assy6941/support/mec175x_spi_cfg.txt
Normal file
52
boards/microchip/mec_assy6941/support/mec175x_spi_cfg.txt
Normal file
|
@ -0,0 +1,52 @@
|
|||
; MEC175x SPI Image Generator configuration file
|
||||
[SPI]
|
||||
SPISizeMegabits = 128
|
||||
|
||||
[DEVICE]
|
||||
DeviceSel = A
|
||||
TagAddr0 = 0
|
||||
TagAddr1 = 0
|
||||
; BoardID is used by a Boot-ROM feature named PlatformID. By default PlatformID
|
||||
; is disabled. If PlatformID is enabled in OTP Boot-ROM will check the image
|
||||
; BoardID value with an OTP PlatformID value. Load is aborted if the ID's do
|
||||
; not match.
|
||||
BoardID = 0x316
|
||||
|
||||
[IMAGE "0"]
|
||||
ImageLocation = 0x2000
|
||||
SpiFreqMHz = 24
|
||||
SpiReadCommand = slow
|
||||
SpiDriveStrength = 4
|
||||
SpiSlewFast = false
|
||||
SpiSignalControl = 0x00
|
||||
IMG1BinFile = zephyr.bin
|
||||
ImageRevision = 0
|
||||
FwOffset = 0
|
||||
IMG1LoadAddress = 0xB0000
|
||||
IMG1EntryAddress = 0
|
||||
UseECDSA = false
|
||||
AuthenticateKeySelt = 5
|
||||
AutoKeyRevEn = true
|
||||
KeyRevPermission = 0xff
|
||||
AutoRollBackProtEn = false
|
||||
RollbackProtPerm031000 = 0
|
||||
RollbackProtPerm063032 = 0
|
||||
RollbackProtPerm095063 = 0
|
||||
RollbackProtPerm127096 = 0
|
||||
ECDSAPrivKeyFile = ECC384r.pem
|
||||
ECDSAPrivKeyPassword = MCHPECC384r
|
||||
FwEncrypt = false
|
||||
AesGenECPubKeyFile = ECC384r_crt.pem
|
||||
TagBuildNumber= 0
|
||||
Comp0ProgDrvStrenEN = false
|
||||
Comp0WritCmdTotByts = 0
|
||||
Comp0ReadCmdByte = 0
|
||||
Comp0WritCmdByte = 0
|
||||
Comp0DrvValue = 0
|
||||
Comp0DrvMask = 0
|
||||
Comp1ProgDrvStrenEN = false
|
||||
Comp1WritCmdTotByts = 0
|
||||
Comp1ReadCmdByte = 0
|
||||
Comp1WritCmdByte = 0
|
||||
Comp1DrvValue = 0
|
||||
Comp1DrvMask = 0
|
Loading…
Add table
Add a link
Reference in a new issue