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
We also provide a TrustZone configuration at `config/examples/mcxw-tz.config`.
2878
+
2876
2879
### MCX W: Loading the firmware
2877
2880
2878
2881
The NXP Freedom MCX W board debugger comes loaded with MCU Link, but it can be updated to JLink.
@@ -2947,6 +2950,117 @@ c
2947
2950
```
2948
2951
2949
2952
2953
+
## NXP MCXN947
2954
+
2955
+
The NXP MCXN947 is a dual-core Cortex-M33 microcontroller. The support has been
2956
+
tested on the FRDM-MCXN947 board, with the on-board MCU-Link configured in
2957
+
JLink mode.
2958
+
2959
+
This requires the NXP MCUXpresso SDK. We tested using
2960
+
[mcuxsdk-manifests](https://github.com/nxp-mcuxpresso/mcuxsdk-manifests) and
2961
+
[CMSIS_5](https://github.com/nxp-mcuxpresso/CMSIS_5) placed under "../NXP".
2962
+
2963
+
To set up the MCUXpresso SDK:
2964
+
2965
+
```
2966
+
cd ../NXP
2967
+
2968
+
# Install west
2969
+
python -m venv west-venv
2970
+
west-venv/bin/activate
2971
+
pip install west
2972
+
2973
+
# Set up the repository
2974
+
west init -m https://github.com/nxp-mcuxpresso/mcuxsdk-manifests.git mcuxpresso-sdk
2975
+
cd mcuxpresso-sdk
2976
+
west update_board --set board frdmmcxn947
2977
+
2978
+
deactivate
2979
+
```
2980
+
2981
+
### MCX N: Configuring and compiling
2982
+
2983
+
Copy the example configuration file and build with make:
2984
+
2985
+
```sh
2986
+
cp config/examples/mcxn.config .config`
2987
+
make
2988
+
```
2989
+
2990
+
We also provide a TrustZone configuration at `config/examples/mcxn-tz.config`.
2991
+
2992
+
### MCX N: Loading the firmware
2993
+
2994
+
The NXP Freedom MCX N board debugger comes loaded with MCU Link, but it can be updated to JLink.
2995
+
- Download and install the tool to update MCU Link to support jlink:
2996
+
[@NXP: LinkServer for microcontrollers](https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/linkserver-for-microcontrollers:LINKERSERVER#downloads)
2997
+
2998
+
- put the rom bootloader in'dfu' mode by adding a jumper in J21
2999
+
3000
+
- run `scripts/program_JLINK` to update the onboard debugger
3001
+
3002
+
- when the update is complete, remove the jumper in J21
3003
+
3004
+
Use JLinkExe tool to upload the initial firmware: `JLinkExe -if swd -Device MCXN947_M33_0`
3005
+
3006
+
At the Jlink prompt, type:
3007
+
3008
+
```
3009
+
loadbin factory.bin 0
3010
+
```
3011
+
3012
+
Reset or power cycle the board.
3013
+
3014
+
The RGB will light up blue to indicate version 1 of the firmware has been
0 commit comments