- Issues with XDS Virtual COM Port
- Issues with GPIO Pin Assignment for SCI-A
- Issues with Board Jumper/Switch settings
- Issues with Serial Baud Rate Settings
- Issues with Memory Overflow
- Extra Tips
- Tips on Improving Performance Issues
- General issues
- Right-click on node "XDS100 Channel A" or "XDS100 Class Debug Port" on newer versions.
- Select 'Update Driver Software' > 'Browse my computer for driver software'.
- Select 'Let me pick from a list of device drivers on my computer'. If the drivers are already installed, the XDS100 Class Debug Port drivers will show. Select this one. Otherwise, repeat but skip this step.
- Click on Browse and select the directory: C:\ti\ccsv7\ccs_base\emulation\windows\xds100_drivers
- Repeat for "XDS100 Channel B".
- Right-click on node "XDS100 Channel A".
- Select 'Uninstall...'.
- Check the box 'Delete the driver software for this device' and click OK.
- Repeat for "XDS100 Channel B".
- Do the procedure above to reinstall the drivers.
- Ensure MATLAB is started in admin mode and no other applications such as Code Composer Studio (CCS) are connected to the board.
- Ensure the model is configured to run in external mode and the simulation time is set to a large value (such as ‘Inf’, which means infinity) as highlighted in the figure below. If the value is not 'Inf', the external mode simulation runs till the specified simulation time and then stops. It may not work for lower simulation times like 10-15 seconds. Click the green 'Run' button to run the model in external mode.
- Parameter tuning and signal logging for 8-bit data types is not supported over serial external mode for Texas Instruments C2000 processors.
- An error stating "Attempting to establish connection with hostname 127.0.0.1 through port ..." indicates that either the COM port or the TCP/IP port 17725 on the local loopback are held by some other application. Ensure that the ports are available before launching external mode. External mode uses a process in the background to buffer data and improve data logging. This process needs port 17725.
- When using a serial connection like DB9 connector on Spectrum eZDSP boards, use the COM1 port of Host PC for external mode connection.
- If you observe breaks in the scope traces, you can try the following to improve logging performance:
- Increase serial baud rate
- Decrease the number of signals selected for logging
- Decrease the model base rate
- When running external mode, be careful not to increase the acquisition frequency beyond the functional range of 10kHz. Please refer to the MATLAB Answer post below which gives details on modeling workarounds using Rate Transition block and DSP buffer blocks that can help step the acquisition frequency up to 50KHz on a F28379D board. The same underlying concept can be used on any board. The link below also contains information on the 2model approach which is seen as an alternative to external mode simulation for fast data logging up to 200kHz.
- If you cannot run your model in CCP external mode, please compare the model configuration settings from our example model with your model. For example: As CAN external mode is dependent on custom storage class canlib.signal, we should not select ‘Ignore custom storage class’ in the Interface pane under Code Generation. For details on custom storage class canlib.signal please refer the documentation page:
- Signals that are coming out of function call (triggered) subsystems or signals inside function call subsystems are currently not supported for logging due to asynchronous behavior. One workaround for this issue is to log outside the triggered subsystem after adding a rate transition block before logging.
- For external mode over CAN, note that our examples are tested to work with hardware from Vector only. Please refer to the following MATLAB Answers post for more information: