For the last three years I have been using joe pasquariello's code successfully for over-the-air firmware updated to my Teensy 3.5-based robot project (see this post and this post for details). The host PC (a Dell XPS15-7590 laptop running Windows 11) uses Arduino IDE 1.8.19 and Teensyduino 1.57. I recently acquired a new Windows 11 PC (Dell XPS15-7590 running Win11) and decided to use Arduino IDE 2.3.2, as it seemed simpler to install and use.
However, I have found that when I do an OTA update from my new PC to my Teensy 3.5, the program hangs on a call to the MPU6050 6DOF IMH library code. If I do an OTA update of the same firmware from my old PC everything works fine Moreover, If I do a USB upload of the same code to my Teensy 3.5 robot using either PC, everything works fine, including all the calls to the MPU6050 library code.
The only difference I can see between the two configurations is the older PC uses Arduino IDE 1.8.19/Teensyduino 1.57, and the newer one uses Arduino IDE 2.3.2 (and the matching Teensyduino setup). The code (including all the library files) is identical, as I copied them from old to new PC's as part of the changeover process, the OTA RF hardware is the same (I'm using a Wixel pair, and simply moved the PC-end Wixel connection from one PC to the other). Uploads from either PC to the Teensy 3.5 via USB work fine - the only difference is in the OTA upload configuration.
I've come to the conclusion that some difference in the Arduino IDE/Teensyduino setup is causing this problem (no idea what - but have run out of other ideas and I'm down to "after eliminating everything else, whatever is left - however unreasonable - is the answer", so I would like to downgrade Arduino 2.3.2 to Arduino 1.8.19, but am unsure how to do this. Any advice?
TIA,
Frank
However, I have found that when I do an OTA update from my new PC to my Teensy 3.5, the program hangs on a call to the MPU6050 6DOF IMH library code. If I do an OTA update of the same firmware from my old PC everything works fine Moreover, If I do a USB upload of the same code to my Teensy 3.5 robot using either PC, everything works fine, including all the calls to the MPU6050 library code.
The only difference I can see between the two configurations is the older PC uses Arduino IDE 1.8.19/Teensyduino 1.57, and the newer one uses Arduino IDE 2.3.2 (and the matching Teensyduino setup). The code (including all the library files) is identical, as I copied them from old to new PC's as part of the changeover process, the OTA RF hardware is the same (I'm using a Wixel pair, and simply moved the PC-end Wixel connection from one PC to the other). Uploads from either PC to the Teensy 3.5 via USB work fine - the only difference is in the OTA upload configuration.
I've come to the conclusion that some difference in the Arduino IDE/Teensyduino setup is causing this problem (no idea what - but have run out of other ideas and I'm down to "after eliminating everything else, whatever is left - however unreasonable - is the answer", so I would like to downgrade Arduino 2.3.2 to Arduino 1.8.19, but am unsure how to do this. Any advice?
TIA,
Frank