Run an example application
To download and run the application, perform these steps:
See Table 1 to determine the debug interface that comes loaded on your specific hardware platform.
For boards with CMSIS-DAP/mbed/DAPLink interfaces, visit developer.mbed.org/handbook/Windows-serial-configuration and follow the instructions to install the Windows operating system serial driver. If running on Linux OS, this step is not required.
For boards with P&E Micro interfaces, visit www.pemicro.com/support/downloads_find.cfm and download the P&E Micro Hardware Interface Drivers package.
If using J-Link either a standalone debug pod or OpenSDA, install J-Link software (drivers and utilities) from https://www.segger.com/downloads/jlink/.
If using J-Link either a standalone debug pod or J-link firmware programmed into the on-board debug probe, install the J-Link software (drivers and utilities) from https://www.segger.com/downloads/jlink/.
For boards with the OSJTAG interface, install the driver from https://www.keil.com/download/.
Connect the development platform to your PC via USB cable.
Open the terminal application on the PC, such as PuTTY or TeraTerm, and connect to the debug COM port (to determine the COM port number, see How to determine com port. Configure the terminal with the MCX-N9XX-EVK settings:
115200 or 9600 baud rate, depending on your board (reference
BOARD_DEBUG_UART_BAUDRATE
variable in theboard.h
file)No parity
8 data bits
1 stop bit
In μVision, click the Download and Debug button to download the application to the target.
The application is then downloaded to the target and automatically runs to the
main()
function.Run the code by clicking the Go button.
The
hello_world
application is now running and a banner is displayed on the terminal. If it does not appear, check your terminal settings and connections.
Parent topic:Run a demo using Keil MDK/μVision