The Target for TI HERCULES RM48 MCUs package is dependent on a number of other Mathworks and TI software products. Before continuing, please make sure that all required prerequisites are installed. The System Requirements section of the Getting Started Guide contains information about installing the prerequisite software packages.
You must customize the TI_HERCULES_RM48_setup.m script and then execute it before this target support package will function properly. Complete instructions for performing this step can be found in the help file for the setup script: TI_HERCULES_RM48_setup
When you customize the setup script, you will need to know which serial
port will be used to communicate with the target board during PIL
For RM48 development kits that include an on-board XDS100v2 emulator, there is a virtual COM port associated with the emulator that can be used for PIL simulation. The virtual COM port may enumerate anywhere from COM1 to COM99 on your PC so the following tips may be helpful in determining the COM port number.
NOTE: Before you try either of these methods - you must plug your XDS100v2 emulator into the PC and allow it to enumerate.
One method to determine the COM port number of an XDS100v2 is to check the Device Manager tool under the Windows Control Panel. You can start this tool by opening Windows Control Panel and double clicking on the Device Manager icon, or by issuing the OS command 'devicemanager'.
After you start Device Manager, you can expand the 'Ports (COM & LPT)' node in the Device Manager tree and see the available USB Serial Ports and their COM port numbers. For example, you might see something like this:
Since there may be more than one COM port listed, you can double click on the COM port that you think is tied to the XDS100v2 to display its properties. If the COM port is tied to an XSD100v2 emulator you will see this in the 'Location' property, for example:
An alternative to Device Manager is the Devices and Printers tool under Windows Control Panel. If you open this tool and look under the 'Unspecified' category, you will see any XDS100v2 emulators that are currently enumerated.
You can double click on the emulator icon to display the same
properties window as in the device manager example.
The Hardware tab of the Properties Window lists the COM port
number associated with this emulator.
As a final alternative, we have included a simple script that lists the virtual COM ports from the windows registry. This script is 'list_serialports.m' located in the root directory of the RM48 target package. If you have already run the script TI_HERCULES_RM48_setup.m once, you can run this script by clicking on the link below.
Run Now: list_serialports.m
Running the script will produce an output similar to this:
1 Serial Ports Found