Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 2.5 or later installed on PC
Board settings
No special settings are required. By default this demo communicates over a virtual serial line interface of the debugger USB connection. With a proper RS232 transceiver and pin configuration, it may also connect to microcontroller UART peripheral.
Multi-core considerations
There are example applications prepared for both CM33 and CM7 cores of the RT118x target platform. The debugger is typically able to load and run the code on any of the cores, but only one core is default (CM33) and will run automatically after reset. This means that the flash-based targets (and both Debug and Release targets on MCUXpresso IDE) are only usable on the default core.
Note that you also need to create an AHAB (Advanced High-assurance Boot) package, put the executable application into the package and flash it to the board using SPSDK nxpimage and blhost tools.
Prepare the demo
Connect a USB cable between the host PC and the Debug USB port on the target board.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select serial communication, choose correct COMx port and connect at speed 115200 bps.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster