Pages: 1 [2]   Go Down
Author Topic: I am porting Arduino to atXmega128A1  (Read 2528 times)
0 Members and 1 Guest are viewing this topic.
Boston
Offline Offline
Newbie
*
Karma: 0
Posts: 36
Arduino design
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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  smiley
Logged

0
Offline Offline
God Member
*****
Karma: 0
Posts: 588
LumiNet rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

we will tell you next week...

I am too busy and the project, but we will soon tell you the project homepage smiley-wink

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

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


0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Boston
Offline Offline
Newbie
*
Karma: 0
Posts: 36
Arduino design
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

The Netherlands
Offline Offline
Jr. Member
**
Karma: 0
Posts: 62
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Boston
Offline Offline
Newbie
*
Karma: 0
Posts: 36
Arduino design
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

http://blog.frankvh.com/2009/11/14/atmel-xmega-printf-howto/

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




  



Logged

0
Offline Offline
God Member
*****
Karma: 0
Posts: 588
LumiNet rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Austria
Offline Offline
Sr. Member
****
Karma: 3
Posts: 260
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

cool, im waiting for it  smiley
Logged


0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

France
Offline Offline
Sr. Member
****
Karma: 0
Posts: 266
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you know if your porting will also work on a atXmega128a3 board http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1261282972
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: 1 [2]   Go Up
Jump to: