Dlloydev / jtag2updi

HV UPDI / UPDI programmer software for Arduino (targets Tiny AVR-0/1/2, Mega AVR-0 and AVR-DA/DB MCUs)
MIT License
27 stars 8 forks source link

Question for AVR-DA #9

Closed sstaub closed 3 years ago

sstaub commented 3 years ago

Can the programmer also used with DxCore (AVR-DA and AVR-DB) and MegaCoreX (AtMega4809...)?

Dlloydev commented 3 years ago

Good question. I've used the Nano Every with MegaCoreX and got to the point of everything working except the serial. I needed to do more investigation with the built-in SAMD programmer chip and UPDI line.

Should be no issues adding full HV programming support to the 4809 on its own ... I'll do this first prior to adding support for the AVR-DA/DB with DxCore as the code would be quite similar. So to answer your question ... not yet, but coming soon!

EDIT: This is to add support to the 4809 then DA/DB for use as a HV UPDI programmer ... but (of course) not for programming the 4809/DA/DB with an HV programmer.

sstaub commented 3 years ago

Thank's for the fast response, hope AVR-DA support will follow, I ordered some of 28-pin DIP one direct from microchip, also 2 of your programmers from Tindie. Meanwhile I can use the code from SpenceKonde which should also work with the Nano, but with no HV.

Dlloydev commented 3 years ago

Added HV support for ATmega4809 Family This includes the ATmega4809, ATmega4808, ATmega3209, ATmega3208, ATmega1609, ATmega1608, ATmega809 and ATmega808 devices. Pinout diagrams and new information added to the GitHub Wiki.

Also added HV support for the AVR DA, but getting compile errors due to missing pin definitions ... left an issue at the DxCore repository.

EDIT: Looks like the AVR DA pin definitions will need to be included in the jtag2updi firmware ... I'll give this a try when I get a chance.

EDIT 2: Well, I'll need some guidance on how to do this successfully. However I do expect this to be accomplished upstream in the near future. The AVR-DA/B could make an awesome programmer since there's no need to change the MCU frequency over the complete operating voltage range.

Dlloydev commented 3 years ago

New update with ATtiny and ATmega HV Programmer fixes, updated documentation with working 40-pin ATmega4809 on breadboard.

Dlloydev commented 3 years ago

I'll be watching for this upstream.

Dlloydev commented 3 years ago

Taking another look at this... Should be able to add HV programming support for AVR-DA parts with 128K flash memory (AVR128DA32, AVR128DA48 and AVR128DA64).

Dlloydev commented 3 years ago

Done! Repo updated. For more information, refer to DIY AVR132DA HV UPDI Programmer.