XMegaForArduino / arduino

required (and optional) source files for the Arduino development environment, specifically the hardware/arduino sub-directory, to support xmega processors
19 stars 17 forks source link

program xmega128A3U with Arduino IDE #43

Open mkeyno opened 6 years ago

mkeyno commented 6 years ago

Hi I own the ATXMEGA128A3U Dev. board that I used Atmel Flip to program it , but I don't know how to program it with Arduino IDE, any help is really appreciated BR

bombasticbob commented 6 years ago

@mkeyno

depending on your bootloader, you should be able to use the 'wiring' protocol like an mega2560 uses [or the bootloaders I've done for 128A1[U] and 128A4U. However, if you don't have a compatible bootloader, then you'll probably need to use a PDI-capable programmer that's also supported by Arduino's IDE. Sorry if that's bad news. I use AVR ISP Mk II but that's no longer made by ATMel as far as I can tell. They have another (more expensive) programmer, though, so hopefully that one works with avrdude [I have not yet tried it].

bombasticbob commented 5 years ago

added some additional support for 128A4U, similar to the 128A1U for the bootloader.

(bootloader still needs USB version)