Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ka7ehk
PostPosted: Jul 01, 2010 - 04:22 PM
10k+ Postman


Joined: Nov 22, 2002
Posts: 12198
Location: Tangent, OR, USA

What does it do for me, a potential XMega developer?

Jim

_________________
Jim Wagner
Oregon Research Electronics, Consulting Div.
Tangent, OR, USA

"The only thing standing between us and victory is defeat" P.G.Wodhouse in Wooster & Jeeves series
 
 View user's profile Send private message  
Reply with quote Back to top
ArnoldB
PostPosted: Jul 01, 2010 - 08:25 PM
Raving lunatic


Joined: Nov 29, 2007
Posts: 3219


ka7ehk wrote:
What does it do for me, a potential XMega developer?
My guess and conclusion is here http://www.avrfreaks.net/index.php?name ... 538#719538

FYI here is the directory structure of the AVR1922 v1 framework:

Code:
.
|-- binaries
|-- documentation
|   |-- display-demo
|   |-- display-training
|   |-- uart-loopback
|   `-- xplain-bc
|-- graphics
|   |-- originals
|   |   |-- clock
|   |   |-- icons
|   |   |-- presentations
|   |   |-- slideshow
|   |   `-- tank
|   `-- xplain-formatted
|-- source
|   |-- apps
|   |   |-- display-demo
|   |   |   `-- include
|   |   |       `-- app
|   |   |-- display-training
|   |   |   `-- include
|   |   |       `-- app
|   |   |-- uart-loopback
|   |   `-- xplain-bc
|   |       `-- include
|   |           `-- app
|   |-- arch
|   |   |-- avr32
|   |   |   |-- include
|   |   |   |   `-- arch
|   |   |   `-- string
|   |   `-- avr8
|   |       `-- include
|   |           `-- arch
|   |-- board
|   |   |-- atevk1104
|   |   |   `-- include
|   |   |       `-- board
|   |   |-- xplain
|   |   |   `-- include
|   |   |       `-- board
|   |   |           `-- touch
|   |   |               `-- resistive
|   |   `-- xplain-bc
|   |       `-- include
|   |           `-- board
|   |-- chip
|   |   |-- at32uc3a3
|   |   |   `-- include
|   |   |       `-- chip
|   |   |-- at90usb1287
|   |   |   `-- include
|   |   |       `-- chip
|   |   `-- atxmega128a1
|   |       `-- include
|   |           `-- chip
|   |-- cpu
|   |   |-- mega
|   |   |   `-- include
|   |   |       `-- cpu
|   |   |-- uc3
|   |   |   |-- include
|   |   |   |   `-- cpu
|   |   |   `-- string
|   |   `-- xmega
|   |       `-- include
|   |           `-- cpu
|   |               `-- touch
|   |                   `-- resistive
|   |-- doc
|   |   `-- usb
|   |-- drivers
|   |   |-- block
|   |   |-- bus
|   |   |-- clk
|   |   |-- flash
|   |   |-- gfx
|   |   |   `-- hx8347a
|   |   |-- gpio
|   |   |-- serial
|   |   |   |-- spi
|   |   |   `-- uart
|   |   |-- tc
|   |   |   `-- timer
|   |   |-- touch
|   |   |   `-- resistive
|   |   `-- usb
|   |       |-- at90usb
|   |       |-- core
|   |       `-- udi
|   |-- include
|   |   |-- assembler
|   |   |-- block
|   |   |-- bus
|   |   |   `-- ebi
|   |   |       `-- params
|   |   |-- clk
|   |   |   |-- avr32_pm
|   |   |   `-- xmega
|   |   |-- compiler
|   |   |-- flash
|   |   |-- fs
|   |   |-- generic
|   |   |-- gfx
|   |   |   `-- default
|   |   |-- gpio
|   |   |-- malloc
|   |   |-- regs
|   |   |-- scsi
|   |   |-- spi
|   |   |-- tc
|   |   |-- timer
|   |   |-- touch
|   |   |-- uart
|   |   `-- usb
|   |-- make
|   `-- util
|       |-- fs
|       |-- gfx
|       |-- stream
|       `-- string
`-- tools
    |-- bitmap-convert
    |   `-- dist
    |-- rawwrite
    |   `-- dist
    `-- tsfs
        `-- mkfs.tsfs
            `-- dist
 
 View user's profile Send private message  
Reply with quote Back to top
js
PostPosted: Jul 01, 2010 - 10:57 PM
10k+ Postman


Joined: Mar 28, 2001
Posts: 20635
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)

I think that the website should have checkboxes so one could select the forums that one has interest in...so I could unchek this one and the 32 bit forums. Evil or Very Mad It's ending up like the M/chip website.

_________________
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Broxbourne
PostPosted: Jul 02, 2010 - 03:41 AM
Hangaround


Joined: Nov 16, 2005
Posts: 341
Location: Calgary, Alberta, Canada

I'd like to uncheck every category the Great Samperi has indicated, and include the security one too.
 
 View user's profile Send private message  
Reply with quote Back to top
sma
PostPosted: Jul 02, 2010 - 07:23 AM
Posting Freak


Joined: Jan 14, 2007
Posts: 1836
Location: Nantes, France

To ArnoldB: sounds like you mixed up the ASF with Xplain board software.

ASF is detailled here: http://www.atmel.no/asf/
Just go trough the documentation and you'll see what it can do for you

-sma
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Jul 02, 2010 - 09:34 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62945
Location: (using avr-gcc in) Finchingfield, Essex, England

Just seems to be a bunch of example software - pretty much all the AVR13xx application notes put together in a single .zip - not sure why this merits not just a whole forum but a whole new section?

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
sma
PostPosted: Jul 02, 2010 - 10:47 AM
Posting Freak


Joined: Jan 14, 2007
Posts: 1836
Location: Nantes, France

Probably because this ASF forum applies to 8-bit and 32-bit AVR - existing tech forums are stick to one architecture.

-sma
 
 View user's profile Send private message  
Reply with quote Back to top
ArnoldB
PostPosted: Jul 02, 2010 - 03:43 PM
Raving lunatic


Joined: Nov 29, 2007
Posts: 3219


sma wrote:
To ArnoldB: sounds like you mixed up the ASF with Xplain board software.
No, I was using the Xplain framework to point out obvious similarities.

sma wrote:
ASF is detailled here: http://www.atmel.no/asf/
Just go trough the documentation and you'll see what it can do for you
There is just a load of marketing bull on that page. The download doesn't work, and all we get is a pretty image which, surprise, surprise, indicates subdirectories very much like those of the Xplain framework.

But you seem to know so much about it, can YOU explain in one simple sentence what it is? Not that marketing bull "what it can do for you".
 
 View user's profile Send private message  
Reply with quote Back to top
sma
PostPosted: Jul 02, 2010 - 10:15 PM
Posting Freak


Joined: Jan 14, 2007
Posts: 1836
Location: Nantes, France

Quote:
The download doesn't work


hmm i'm pretty it's working for someone who knows how to use a web browser Wink
http://asf.atmel.no/selector/show.php?d ... ;store=app

Quote:
indicates subdirectories very much like those of the Xplain framework.


Got it wrong, the directory structure is similar to the UC3 software framework v1.7.0 (launched a few years ago http://atmel.com/dyn/products/tools_car ... _id=4192), this is v2.0.0 adding XMEGA support.
In a simple sentence, it's a collection of software to get started with AVR: MCU drivers, stacks like USB, TCP/IP, jpeg decoder, memory drivers, file system, so it's kind of easy to start a new application from it.

-sma
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Jul 03, 2010 - 12:55 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62945
Location: (using avr-gcc in) Finchingfield, Essex, England

Quote:

so it's kind of easy to start a new application from it.

I can't be bothered to download but does that mean it's in totally generic C or it's all Asm only or it really does have code variants for all of Codevision, Imagecraft, IAR, GCC, MikroC and Rowley?

I suspect it's only IAR and GCC in which case this should be made clear in the sticky announcement to save other compiler users wasting their time (or beginners getting confused not understanding why their compiler gives a raft of errors)

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
sma
PostPosted: Jul 03, 2010 - 02:47 PM
Posting Freak


Joined: Jan 14, 2007
Posts: 1836
Location: Nantes, France

That's in the first 3 lines of http://asf.atmel.no/

"...for the IAR EW and GNU GCC compilers"
 
 View user's profile Send private message  
Reply with quote Back to top
buserror
PostPosted: Jul 06, 2010 - 12:19 PM
Hangaround


Joined: Apr 12, 2007
Posts: 298
Location: Windsor, UK

Oh so it's becoming like the sam7 source tree, where you have no clue what version is suposed to be the most recent one, and you have 43 different downloads to get before you can build an example ?

Oh, and also, you can't really isolate your project and it's dependencies, you have to link the whole pile of garbage and hope nobody changes the lib later on ?

....because of course instead of using something like a git tree, it'll be a nice .zip with no changelog, and maybe each header+source header will have it's own revision number so you can't diff between two trees ?

I've seen that before, thats why I can smell it from here Wink for example TI Stellaris "driver lib" is like that and it's a nightmare to maintain a project against it.

_________________
Author of simavr - Follow me on twitter : @buserror
 
 View user's profile Send private message  
Reply with quote Back to top
JohanEkdahl
PostPosted: Jul 06, 2010 - 12:27 PM
10k+ Postman


Joined: Mar 27, 2002
Posts: 18760
Location: Lund, Sweden

Quote:

for example TI Stellaris "driver lib" is like that and it's a nightmare to maintain a project against it.

Then why not put each version you d/l into a version control system yourself? That will give you the changelog.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
buserror
PostPosted: Jul 06, 2010 - 12:40 PM
Hangaround


Joined: Apr 12, 2007
Posts: 298
Location: Windsor, UK

As I said, they have "DrivetLib revision ZZZ etc" in each files, so, all files are different when you check them in.

_________________
Author of simavr - Follow me on twitter : @buserror
 
 View user's profile Send private message  
Reply with quote Back to top
ArnoldB
PostPosted: Jul 06, 2010 - 01:06 PM
Raving lunatic


Joined: Nov 29, 2007
Posts: 3219


I just looked at it again. The ZIP files are still broken ('\' instead of '/' in then pathes).

Typical Atmel, not listening.
 
 View user's profile Send private message  
Reply with quote Back to top
sma
PostPosted: Jul 06, 2010 - 01:31 PM
Posting Freak


Joined: Jan 14, 2007
Posts: 1836
Location: Nantes, France

I just reported the zip issue to Atmel (i don't think anyone did Wink ).

-sma
 
 View user's profile Send private message  
Reply with quote Back to top
obor00
PostPosted: Jul 06, 2010 - 02:47 PM
Wannabe


Joined: Aug 28, 2008
Posts: 82
Location: France

Hi,
asf.atmel.no looks an interesting initiative. It is still a bit empty on xmega, but i am sure it will come.
It would be so nice to have faq, tips and tricks, extend examples about the use of events on the Xmega for instance.
And also to include linux support. For instance, the readme.txt installation for 8bits talks only about windows.
Olivier
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits