Is it possible to add support for the ATmega4809 series of Chips? I have a custom made PCB with that MCU. I use this Board Support Package in the Arduino IDE. The ATmega4809 has an Optiboot Bootloader (so not using UPDI) listening on UART0 and flashing sketches with the Arduino IDE (avrdude) works perfectly. Since our userbase is not very tech savvy I'd love to use the webserial demo to flash pre built hex files. I can get it working perfectly using a vanilla Arduino Uno but no dice with the ATmega4809.
I managed to modify the UNO entry in avrgirl so the upload finishes without an error but after flashing the sketch does not start. Re-flashing with the Arduino IDE afterwards works fine though.
So changed the signature, increased the flash size and disabled the verify. With verification enabled there are errors after flashing. Which i expected because verify does not work with avrdude either.
Any clues why it does not work with the ATmega4809? Any hint greatly appreciated. Thanks!
Expected behaviour
Flash an ATmega4809 like an UNO.
Actual behaviour
Sketch does not start after flashing. So something is not working correctly.
Description
Is it possible to add support for the ATmega4809 series of Chips? I have a custom made PCB with that MCU. I use this Board Support Package in the Arduino IDE. The ATmega4809 has an Optiboot Bootloader (so not using UPDI) listening on UART0 and flashing sketches with the Arduino IDE (avrdude) works perfectly. Since our userbase is not very tech savvy I'd love to use the webserial demo to flash pre built hex files. I can get it working perfectly using a vanilla Arduino Uno but no dice with the ATmega4809.
I managed to modify the UNO entry in avrgirl so the upload finishes without an error but after flashing the sketch does not start. Re-flashing with the Arduino IDE afterwards works fine though.
Here is what I modified:
So changed the signature, increased the flash size and disabled the verify. With verification enabled there are errors after flashing. Which i expected because verify does not work with avrdude either.
Any clues why it does not work with the ATmega4809? Any hint greatly appreciated. Thanks!
Expected behaviour
Flash an ATmega4809 like an UNO.
Actual behaviour
Sketch does not start after flashing. So something is not working correctly.
Avrgirl Arduino version
v5.0.1
Using the webserial demo.
Arduino Board being used
Custom PCB with ATmega4809.
Log output, if available
There are no errors in the log after modification of the UNO entry as per description above.