You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The NXP LPC55S69 is a dual-core Cortex-M33 microcontroller. The support has been
1738
+
tested on the LPCXpresso55S69 board (LPC55S69-EVK), with the on-board LINK2 configured in
1739
+
the default CMSIS-DAP mode.
1740
+
1741
+
This requires the NXP MCUXpresso SDK. We tested using
1742
+
[mcuxsdk-manifests](https://github.com/nxp-mcuxpresso/mcuxsdk-manifests) and
1743
+
[CMSIS_5](https://github.com/nxp-mcuxpresso/CMSIS_5) placed under "../NXP".
1744
+
1745
+
To set up the MCUXpresso SDK:
1746
+
1747
+
```
1748
+
cd ../NXP
1749
+
1750
+
# Install west
1751
+
python -m venv west-venv
1752
+
source west-venv/bin/activate
1753
+
pip install west
1754
+
1755
+
# Set up the repository
1756
+
west init -m https://github.com/nxp-mcuxpresso/mcuxsdk-manifests.git mcuxpresso-sdk
1757
+
cd mcuxpresso-sdk
1758
+
west update_board --set board lpcxpresso55s69
1759
+
1760
+
deactivate
1761
+
```
1762
+
1763
+
### LPC55S69: Configuring and compiling
1764
+
1765
+
Copy the example configuration file and build with make:
1766
+
1767
+
```sh
1768
+
cp config/examples/lpc55s69.config .config
1769
+
make
1770
+
```
1771
+
1772
+
We also provide a TrustZone configuration at `config/examples/lpc55s69-tz.config`.
1773
+
1774
+
### LPC55S69: Loading the firmware
1775
+
1776
+
Download and install the LinkServer tool:
1777
+
[@NXP: LinkServer for microcontrollers](https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/linkserver-for-microcontrollers:LINKERSERVER#downloads)
1778
+
1779
+
NOTE: The LPCXpresso55S69's on-board LINK2 debugger comes loaded with CMSIS-DAP protocol, but it can be
1780
+
optionally updated to use JLink protocol instead. See the EVK user manual for how to do this, if desired.
1781
+
The below examples were tested with the default CMSIS-DAP protocol. CMSIS-DAP is supported by default in
1782
+
the MCUXpresso IDE for debugging purposes.
1783
+
1784
+
Connect a USB cable from your development PC to P6 on the dev board.
1785
+
1786
+
Open a terminal to the virtual COM port with putty or similar app, settings 115200-N-8-1.
1787
+
1788
+
### LPC55S69: Testing firmware factory.bin
1789
+
1790
+
1) Erase the entire flash:
1791
+
1792
+
```sh
1793
+
LinkServer flash LPC55S69 erase
1794
+
```
1795
+
1796
+
2) Program the factory.bin, which contains both wolfBoot and the test-app version 1:
1797
+
1798
+
```sh
1799
+
LinkServer flash LPC55S69 load factory.bin:0
1800
+
```
1801
+
1802
+
3) The LED will light up blue to indicate version 1 of the firmware is running. You should also see output
1803
+
like this in the terminal window:
1804
+
1805
+
```sh
1806
+
lpc55s69 init
1807
+
Boot partition: 0xA000 (sz 24016, ver 0x1, type 0x601)
1808
+
Partition 1 header magic 0xFFFFFFFF invalid at 0x15000
1809
+
Boot partition: 0xA000 (sz 24016, ver 0x1, type 0x601)
0 commit comments