Hardware requirements
Type-C USB cable
FRDM-MCXN947 board
Personal Computer
Software requirements
BLHost 2.6.7 or later
Board settings
Prepare the Demo
Connect a type-c USB cable between the PC host and the MCU-Link USB port (J17) on the board
Determine the COM port number (See Appendix A in Getting started guide for description how to determine serial port number).
Open a command prompt and navigate to the BLHost executables folder (
\bin<OS environment>). Configure the BOOT_SRC in CMPA @0x01004000 using blhost. 4.1 Enter ISP mode so that the blhost could program the CMPA. Press and hold SW3(ISP key) => Press and release SW1 (N9 RST key) => Release SW3 Another way to enter ISP mode. nxpdebugmbox.exe -i pyocd ispmode -m 0 4.2 Type the following command into the command prompt blhost -p COMxx write-memory 0x01004000 <SDK_root>\boards<EVK name>\demo_apps\hello_world_qspi_xip\cm33_core0\bootfromflexspi.bin Note: “xx” in the command above should be replaced with the COM port number of your EVK.
After successfully running the script above, press and release the reset button (SW1 - N9 RST key).
Open a serial terminal with the following settings :
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The file bootfromflash.bin is used to reset the boot source to internal flash, follow step 4.1,4.2 to program the bootfromflash.bin to 0x01004000
Running the demo
The log below shows the output of the hello world demo in the terminal window:
hello world.