Closed technoblogy closed 4 years ago
https://github.com/SpenceKonde/DxCore#dac-support
shouldn't the sentence "This voltage must be lower than Vcc to get the correct voltages." be removed?
Thanks, I've fixed these issues, please let me know if you find any more! (the DAC bit was supposed to indicate that the reference voltage must be lower than supply voltage. Somewhere I even have the number on how much lower, but didn't feel like digging it out.
the DAC bit was supposed to indicate that the reference voltage must be lower than supply voltage
But I thought you could give VDD as the reference voltage?
In:
https://github.com/SpenceKonde/DxCore/blob/master/megaavr/extras/DirectPortManipulation.md
the lines:
PORTA.OUT |= PIN4_bm; // write PB4 high
PORTA.OUT &=~PIN4_bm; // write PB4 low
should be:
PORTA.OUT |= PIN4_bm; // write PA4 high
PORTA.OUT &=~PIN4_bm; // write PA4 low
Thanks for providing this core! I've just successfully uploaded Blink to an AVR128DB28 on a breadboard.
Couple of comments:
Using a Nano-based UPDI programmer I previously used to program 0-series and 1-series chips, I got the error:
avrdude: jtagmkII_paged_write(): timeout/error communicating with programmer (status -1)
Thanks to the issue by @DustinWatts I realised I need to update jtag2updi, and it then worked. Perhaps mention this?