When I try uploading my model of a FOC controller to a Launchpad XL28379D ver: 2.0 it works like it should, following my speed reference correctly, but at the moment of entering Coder > Coder options... > External Mode and selecting the corresponding serial port the following error shows:
I configured the Launchpad in the Target tab like the following:
In the Target > External Mode tab, the GPIOs selected are 43 and 42.
I don't know if the issue is my model, the Launchpad, the C-Script block, the amount of Scope blocks or some other problem.
Things that I already tried:
- Changing the Launchpad jumpers.
- Activating/deactivating the Load VCP option in both XDS100 Class Auxiliary/Debug port.
- Trying a different COM port.
- Using the built-in example TI C2000 Target Support Demos > Basic Topologies > Simple Model. The external mode works flawlessly with this example.
Photos of my model: