Hi there,
the uploading fails on my Arduino Pro Micro and I can´t find anything online to fix that error.
See sketch and error message here:
https://imgur.com/a/zfkCNQk
- The Arduino is recognized as a Pro Micro in Windows on COM12
- I tried three different Arduino Pro Micros, all have the same error
- Uploading to my other Arduino Nanos still works
- Changing the "Custom gamepad PID and name" option also throws that error
- I am using SimHub 7.4.12
- an Arduino Pro Micro ATMEGA32U4 5V/16MHZ from AliExpress
- have just connected one rotary encoder for testing purposes and
hope someone can guide me in the right direction here.
Thank you,
Don
Hi !
That's not something i've encountered yet, this could be a strange timing issue where the arduino resets faster than usual, i've made a patch where this error should be ignored and skip to the next step (wait for the upload serial port to appear in the system) :
Download tthis file https://www.dropbox.com/t/iwD9IY2xxut18JS1 and overwrite the existing one in C:\Program Files (x86)\SimHub\_Addons\Arduino (you might have to right click on the file, go in the properties and click on "unblock"
It's a blind fix as it's not something I could reproduce, but if it's a timing issue it should be enough.
Hi Wotever,
thanks for the fast reply!
I replaced the file, unblocked it, tried it again.
I now get this message "Cant find arduino communication port."
https://imgur.com/a/zFKkSHW
and then a dialog with "Upload failed".
Tested with two separate Arduinos and restarted PC
Hum, that's really weird, does uploading directly from the arduino IDE works, could you try just with an empty sketch to know if the arduino itself is not the cause (maybe the bundled bootloader 🙄 ) ? Simhub "imitates" the process, in order to automate it, but knowing if the arduino ide works would give some good clues.
#Solved 😀
Turns out I needed to install custom drivers for Windows and addons to Arduino IDE first, to be able to upload sketches.
After installing the drivers I could upload via SimHub successfully and rotary encoder works as a gamepad 👍
Driver, files and description here https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/installing-windows#windows_boardaddon
Thanks!