Go Down

Topic: I am porting Arduino to atXmega128A1 (Read 5982 times) previous topic - next topic


I just ordered an Atmel Xplain eval board based on this thread.  For $29 at Digi-Key it's a bargain. 8MB,  32Mhz, 12 bit AD and DA,  DMA and Quadrature Decoder ! So now where do I download the ArduinoX core  :)


we will tell you next week...

I am too busy and the project, but we will soon tell you the project homepage ;)

xplain is a really cool eval board, even without arduino support...

ask for the xplain arduino software again next week please. Thank you.


Bootloader works, burning the booloader doesn't, digital I/O works, analog doesn't. We're making good progress. But slowly. Once we've got the basics in place, we'll put release it "into the wild".

In addition to my xplain, just got the sparkfun board, so I hope we can support that too. And I'm designing my own board, but won't be selling it. I'm sure plenty of folks will be selling xmega boards soon.


Have you thought about an API for the XMega event system ?  There seems to be a large number of ways peripherals can be hooked together. Both events and events + data.  Sort of of a massive cross-point switch.  Which may make it complex to program without some kind of tool.  Whoever at Atmel designed the event system must have had something in mind.  Time to read the XMega app notes more closely.

I'll look forward to your first release.  Thanks for your significant effort.


Nope. Don't no if Rene' has. Any such API would need the involvement of the "big 5".

First order of business is a simple port of the current Arduino features. Then there's all sorts of fun stuff on the xmega to explore.

Event system lets you do a lot of stuff with very little CPU involvement.


This is a very nice project, like luminet.
I would love to help, but I don't have the money to buy the xplain.
Its also alot more expensive here about 50 euro without shipment.

When i have some savings again i will buy one.


I'm planning on supporting other xmega boards, sparkfun's, possibly boston android's or stackfoundary's.

I'm also working on a minimal open pcb design. xmega, caps, and headers. No power jack, FTDI chip, or other stuff. If I finish it, you'll be welcome to send it to a fab and get some boards, though you'll need to be willing to do surface mount soldering. Really isn't that hard, sparkfun has great tutorials on how to do this.

Seeedstudio is fairly cheap, you should be able to get 5 boards for $20-$30. xmega is about $9. A few caps less than a buck. Looking at around $15-$20 per board.


How's the Xmega port going ?

I got my Xplain board up and running using LUFA.  That went pretty smoothly on Windows.  Can now do USB PDI programming from AVR Studio which is kinda nice (JTAG box not required).

There doesn't seem to be many examples of Xmega code out there other than the Atmel app notes.  Which are all little pieces.   I'm working on the ADC example but it is complicated by so many different ways to do it.  And trying to write the data to the SRAM (64K pointers only ?)

I used code from frankvh to implement printf() on the Xmega to start with.  I forgot how useful printf() is but also remember the confusion when I first tried to use it.  This is not much code to implement it.


Let us know as you get parts of the port to work.



Gorialla Coder will announce the start of the beta test soon :) Most important things are implemented...


Probably this Sunday I'll announce. I want to make sure its sorta "clean" as I don't have much time for hand holding to help folks get past any glitches.

If not this Sunday then next.




Most likely next Sunday. Family events got in the way this weekend. There's a small chance I'll get to it sooner.



I doubt that it'll work at first. Once I get it running on the xplain and sparkfun boards, I'm thinking of porting it to the boston android a3 boards, and the stackfoundry 128a1 boards. If I don't, it should be a fairly straight forward port for someone else to do.


XmegaDuino alpha 1, based on arduino 0018 is now ready.

I've started a new topic for it, as this one is more about intentions, and the new one is about what's done so far.  http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1269500888

Hope that doesn't violate protocol, it makes more sense to me like this.

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!

via Egeo 16
Torino, 10131