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
1943
+
tested on the LPCXpresso55S69 board (LPC55S69-EVK), with the on-board LINK2 configured in
1944
+
the default CMSIS-DAP mode.
1945
+
1946
+
This requires the NXP MCUXpresso SDK. We tested using
1947
+
[mcuxsdk-manifests](https://github.com/nxp-mcuxpresso/mcuxsdk-manifests) and
1948
+
[CMSIS_5](https://github.com/nxp-mcuxpresso/CMSIS_5) placed under "../NXP".
1949
+
1950
+
To set up the MCUXpresso SDK:
1951
+
1952
+
```
1953
+
cd ../NXP
1954
+
1955
+
# Install west
1956
+
python -m venv west-venv
1957
+
source west-venv/bin/activate
1958
+
pip install west
1959
+
1960
+
# Set up the repository
1961
+
west init -m https://github.com/nxp-mcuxpresso/mcuxsdk-manifests.git mcuxpresso-sdk
1962
+
cd mcuxpresso-sdk
1963
+
west update_board --set board lpcxpresso55s69
1964
+
1965
+
deactivate
1966
+
```
1967
+
1968
+
### LPC55S69: Configuring and compiling
1969
+
1970
+
Copy the example configuration file and build with make:
1971
+
1972
+
```sh
1973
+
cp config/examples/lpc55s69.config .config
1974
+
make
1975
+
```
1976
+
1977
+
We also provide a TrustZone configuration at `config/examples/lpc55s69-tz.config`.
1978
+
1979
+
### LPC55S69: Loading the firmware
1980
+
1981
+
Download and install the LinkServer tool:
1982
+
[@NXP: LinkServer for microcontrollers](https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/linkserver-for-microcontrollers:LINKERSERVER#downloads)
1983
+
1984
+
NOTE: The LPCXpresso55S69's on-board LINK2 debugger comes loaded with CMSIS-DAP protocol, but it can be
1985
+
optionally updated to use JLink protocol instead. See the EVK user manual for how to do this, if desired.
1986
+
The below examples were tested with the default CMSIS-DAP protocol. CMSIS-DAP is supported by default in
1987
+
the MCUXpresso IDE for debugging purposes.
1988
+
1989
+
Connect a USB cable from your development PC to P6 on the dev board.
1990
+
1991
+
Open a terminal to the virtual COM port with putty or similar app, settings 115200-N-8-1.
1992
+
1993
+
### LPC55S69: Testing firmware factory.bin
1994
+
1995
+
1) Erase the entire flash:
1996
+
1997
+
```sh
1998
+
LinkServer flash LPC55S69 erase
1999
+
```
2000
+
2001
+
2) Program the factory.bin, which contains both wolfBoot and the test-app version 1:
2002
+
2003
+
```sh
2004
+
LinkServer flash LPC55S69 load factory.bin:0
2005
+
```
2006
+
2007
+
3) The LED will light up blue to indicate version 1 of the firmware is running. You should also see output
2008
+
like this in the terminal window:
2009
+
2010
+
```sh
2011
+
lpc55s69 init
2012
+
Boot partition: 0xA000 (sz 24016, ver 0x1, type 0x601)
2013
+
Partition 1 header magic 0xFFFFFFFF invalid at 0x15000
2014
+
Boot partition: 0xA000 (sz 24016, ver 0x1, type 0x601)
0 commit comments