You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
these are my first steps with AVR and DxCore. I build up a simple AVR128DB32 board with a serial2updi programmer and use PlatformIO for programming. In the start I had some difficulties setting up PlatformIO. PlatformIO.md seems not to perfectly fit to my setup. I hope it is okay, when I use this post to give some inputs for discussion? I hope this may help others to start with.
Settings in platform.ini for AVRxxDB32 (probably for entire DB-Series)
upload_protocol
Supported UPDI programmers in Avrdude
Notes
serialupdi
Serial2UPDI programmer (installing pyupdi is not necessary)
[env]platform = atmelmegaavr
framework = arduino
; Chip in useboard = AVR128DB32
; clockboard_build.f_cpu = 24000000L ; Specifies the clock frequency in [Hz].board_hardware.oscillator = crystal ; Specifies to use the internal or an external oscillator. [internal|crystal|external]; Unflag build flagsbuild_unflags =
; Extra build flagsbuild_flags =
; Monitor port is auto detected. Override here;monitor_port =; Serial monitor baud ratemonitor_speed = 115200
board_hardware.bod
For DB-series:
BOD
2.85v
2.7v
2.45v
1.9v
disabled (default)*
*) DxCore default value is 2.6v which is not supported by AVRxxDB; so the BOD default is disabled
@SpenceKonde thank you for your unbelievable work!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi All,
these are my first steps with AVR and DxCore. I build up a simple AVR128DB32 board with a serial2updi programmer and use PlatformIO for programming. In the start I had some difficulties setting up PlatformIO. PlatformIO.md seems not to perfectly fit to my setup. I hope it is okay, when I use this post to give some inputs for discussion? I hope this may help others to start with.
Settings in platform.ini for AVRxxDB32 (probably for entire DB-Series)
upload_protocol
serialupdi
Example:
board_hardware.oscillator
crystal
Example:
board_hardware.bod
For DB-series:
2.85v
2.7v
2.45v
1.9v
disabled
(default)**) DxCore default value is 2.6v which is not supported by AVRxxDB; so the BOD default is
disabled
@SpenceKonde thank you for your unbelievable work!
Best regards
Armin
Beta Was this translation helpful? Give feedback.
All reactions