Open epccs opened 5 years ago
The SAM11 has two UARTS, one is used to program with UPDI interface, and the other acts as a USB to serial bridge to the m4809. The Arduino software takes a 1200 baud toggle to start the programmer mode rather than bridging USB to serial.
I would need this to listen on the serial after rpubus manager toggles reset and then it can program the MCU (m4809) over UPDI from the still-active serial. The MCU will not even need the reset signal.
Firmware used in Arduino Nano Every SAMD11 interface chip with some changes.
https://github.com/arduino/ArduinoCore-megaavr/tree/master/firmwares/MuxTO
ref:
https://www.avrfreaks.net/forum/uploading-code-new-arduino-nano-every