Engineering kit rev2 section 3.7

Greetings,
i have a problem in section 3.7 which i don't understand why I'm getting, in section 3.7 it asked me to characterizeMotorScript when i run it in command window after a minute or so it give me a message as seen in the picture which is weird because my COM port for host is 3 and 4 for bootloader, in arduinosetup it is specified as COM3 and in Simulink from hardware setting


i specified it manually. how to fix this problem

Hi,

It sounds like you're encountering an issue while running the characterizeMotorScript in Section 3.7. The error message you're seeing may be due to a mismatch or misconfiguration of the COM ports between your Arduino setup and Simulink.

Even though you've specified COM3 for the host and COM4 for the bootloader, the script might be trying to communicate with a different port or not recognizing the correct settings. First, ensure that both Simulink and the Arduino IDE are closed before running the script to avoid port conflicts. Then, double-check that the COM ports are correctly set in both the Arduino IDE and Simulink's hardware settings.

You can also try manually specifying the COM port in the script itself if the option is available. If the problem persists, restarting your computer or re-uploading the code to the Arduino may help reset the COM port assignments and resolve the issue.

Thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.