Go Down

Topic: Arduino support for ATmega32M1 and ATmega64M1 uC's (Read 59 times) previous topic - next topic

thomasow

As part of a solar MPPT controller I am working on I wanted to use the ATmegaxxM1 line of uC's - but of course they are not directly supported with the Arduino IDE.

Over the past few days I have ported the latest version of optiboot, as well as made changes to avrdud's config file and Arduino's IDE to allow for direct support of the ATmega64M1 uC from within the Arduino IDE.  One can flash the bootloader and then upload sketches directly via a standard serial cable.

Combined with the effort of Stuart Cording's work around enabling Serial.Print()  (http://spaces.atmel.com/gf/project/arduinoallegro/) (Which I ported over to the latest Arduino 1.05 release) I was even able to execute some simple sketches again using the serial port.

I have posted the files needed to support the ATmega64M1 uC here:  http://smartmppt.blogspot.com/2015/01/atmega32m1-atmega64m1-with-arduino-ide.html

Over time I am sure there will need to be more scrubbing of the the support libraries beyond Serial.print(), specifically around the timers.  As those crop up I will make improvements to the files linked above.  And once things look stable will make a set of files to directly support the ATmega32M1






Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy