Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 1.56 KB

File metadata and controls

18 lines (11 loc) · 1.56 KB

Com Ports >= 10 Fail to Upload normally (Require Bootloader Mode)

This issue should be fixed as of v1.7.11. If you encounter it, please let me know!

@TheTomas from the r/lightsabers Discord has discovered a wonderfully annoying little issue. I've not yet fully investigated, but it seems to be either a glaring oversight somewhere in my code (EDIT: it was an oversight in my knowledge of Win32) (possible, but I don't think so), or something really stupid in the Windows API (EDIT: Arguably, this is also true). You're not here to hear me rant though, so I digress.

If your proffieboard ends up using a COM port >= 10 (e.g. COM10, COM11, etc.), then it seems (on some computers at least), a normal upload will not work, and you'll get the error "Could not connect to proffieboard for upload."

There are two workarounds:

  • Manually enter bootloader mode
  • Change com port number

The former is the easier. Simply reboot the board into bootloader mode (You can do this via holding the BOOT button then pressing RESET, or by typing RebootDFU into the Serial Monitor), and then uploading using the BOOTLOADER RECOVERY option.

Alternatively, and credit for this goes to @TheTomas, you can find the proffieboard in your Device Manager underneath the "COM & LPT Ports" section. There you should find an option for "Port Settings," then "Advanced," and from there you should be able to choose a new port number, with those in use (and thus the ones to avoid) being marked as such.

image