Hardware requirements
2x Mini/micro USB cables
Target microcontroller board
Personal Computer
FreeMASTER 2.5 or later installed on PC
Board settings
No special settings are required. The demo communicates over a virtual serial line (CDC) interface implemented by the microcontroller application and available at the device USB port. Two USB cables are required, one for the debugger session and the other for the microcontroller device USB port connection.
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
Connect the 2nd USB cable between host PC and the microcontroller USB port on the target board.
Wait for the operating system to configure the new USB serial device and assigns the COMx port.
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select serial communication, choose the newly installed 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