arduino / ArduinoCore-megaavr

Arduino Core for the ATMEGA4809 CPU
103 stars 62 forks source link

Serial interface problem with Arduino Nano Every #63

Closed laurencebarker closed 4 years ago

laurencebarker commented 4 years ago

I have a problem with the serial interface on an Arduino Nano Every. I've found reference to this problem elsewhere and the solution is to reflash the Muxto. The issue #51 here tells you how to do that for a Mac.

Are there any instructions on how to do this on a windows computer please? I can't get the IDE to compile the muxto.ino file (I assume I need a different board installed). There is a muxto.bin file, but I don't know how to get that downloaded.

I saw that I need to boot the Arduino with two pads shorted; I've done that and it started up differently from normal, with a different com port; but the IDE shows it as "unknown board".

facchinm commented 4 years ago

Hi @laurencebarker , the "unknown board" is expected since the bootloader needs a special core to modify it. Since you just need to update you can use bossac.exe from this comment then follow the latest instructions, using the bin from here (https://github.com/arduino/ArduinoCore-megaavr/tree/master/firmwares/MuxTO) Closing the issue, reopen if needed or if it's not clear enough

MCUdude commented 4 years ago

I will assume some/many users have early MuxTo firmware in their Nano Everys, and it's not 100% straight forward to flash it if you're new to this kinda stuff. @facchinm why not create a new "Arduino core" just for flashing the MuxTo firmware that can easily be installed? I've done similar with my "Arduino core" for flashing regular Pro Micros with mEDBG firmware. All it does is to upload a pre-compiled hex and eep file.