I started to port Arduino0018 to atXmega128A1. Who is working on the same topic?
status:
created a new core for atXmega128A1
a lot of things are different from original AVR mcus.
I will post updates soon, but at the moment I am looking for people who are working on the same issue, because we can share the work...
Sounds good but I am not working on anything like that i'm afraid. I will be happy to reward your handywork by buying a board if you are going to be making prototypes though
prototype boards will be available soon But I even got something better! Can't tell you at the moment...
But first I will finish the work on the new atxmega core. But I hope that somebody else already created a core for the atxmega... at least there seems to be a bootloader for it.
status update:
implemented millis() with the RTC of the xmega. So now delay() is working in a first version... and this meand: the infamous Blink sketch is doing its job on the xplainduino - but no support for micros() yet, because this would need a regular timer, I guess.
8M of RAM. Whoa. And at a bargain price too. Although it looks like fewer IO pins (than arduino) are left over/broken out ? Is there a way to tie the (a) serial port to the USB connection?
The Xmega is a follow-on family to the AVR, with (essentially) more intelligence in the peripherals (and more peripherals to go with that intelligence.) So the 128A1 under discussion here has 128k flash, 8k ram, runs up to 32MHz (twice the speed of the mega currently in use), 8 timers, 8 UARTs, and an external memory interface (for 4-bit memory, apparently. Which is cool, but potentially slow)
It's not completely wonderful for a system like Arduino. All that fancy stuff doesn't really fit into the simplified programming model that Arduino present to its users. And it only runs at 3.6V, so there are some compatibility issues. OTOH, it's not that much more expensive either. If all it does is extend the Ardunio MEGA to something twice as fast, a port would still be useful...
Well, the Arduino Mega (avr1280) also has 128 KB flash, 8 KB SRAM, etc., but as you say is limited to a 16 MHz clock. I suppose that this and the extra timers and UARTs can make a difference.
But the real difference I'd like to see is a port of the Arduino mindset to one of Atmel's 32 bit microcontrollers. This would be a huge increase in processing power when compared to any board in Atmel's 8/16 bit barnyard, and it would open the doors to real time audio and video processing applications.
I am assuming that the Arduino platform will someday evolve to include an official Xmega board someday. Just too much good stuff to not to: 12 bit A/D, 12 bit D/A (yea real analog out) and of course 32mhz is always nice. I'm sure it has tons of other great stuff, but those three things would be so useful.
We are developing a new board with atxmega core. But as many people have an XPLAIN developer board, it was a good point to start. So the software will be designed for the XPLAIN for the first release.
I only do it for fun and because I have two XPLAIN boards on my desk... I want to use them for tinkering and the Arduino API really helps me with prototyping.
So soon we will have a prototyping platform with 8MB of RAM and 8MB flash memory... and of course we use the on-board USB connection of the XPLAIN... of course I would not use it in a 5V project... just pick the right hardware for your project.
A first beta version will be out next wednesday (17.02.2010) and maybe all people with an Atmel XPLAIN or other atxmega board can send me a personal message. We need your help.
Hi Bohne,
i would support you to port arduino on that micro ... my idea is to use that micro for the next version of Multipilot Board.
Actualy we are 3 developer that are working on that project ... we will start to design hardware in the next week . We have yet update arduino sanguino to Multipilot and upgrade Crystal from 16 Mhz to 20 Mhz.
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
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.