Which IMU example you want to programed?
The one I mentioned in my first message: the "IMU" example (with annotation "An IMU provide calibrated inertial sensor data to the user") downloaded via Aceinna's OpenIMU Platform plug-in for VSCode.
For the EXE, pls check whether it works well or not.
What is this software? (I can't try it right now, shall only be able next week)
We doubt COM20 may be not right port which connect to user port of IMU
The COM port doesn't change, because I don't plug the device's serial interface in or out while I program the firmware back and forth via ST-Link. Besides, commands.py scans all available COM ports.