AVR1500 Xplain Training Xmega Basics

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have been looking at the document, which can be downloaded from here:

http://www.atmel.com/dyn/product...

On page 6, step 1 says to open project BasicLED_Control.aps

I can't find where it should be downloaded from. The prerequisites for this app note are AVR Studio 4.18 and WINavr 20100110, but the projects don't seem to be included as part of the software.

Can someone tell me where these projects can be found?

Thanks
Russ

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well Atmel used to have all the app notes and associated .zip files with the actual code on an easy to find/search page on atmel.com - then they completely buggered up their website design making it almost impossible to find these things. However, with a little perseverance I found:

http://www.atmel.com/dyn/product...

Scan down that page and you will see a copy of AVR1500. Note that there's both a PDF icon and a disc/CD icon? You need to click the disk/CD icon to download the .zip'd software you are looking for.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks Clawson, I had noticed the CD icon and noted it was a zip file. I figured it was simply a zip version of the pdf document. Now that I have downloaded zip file and looked at it, it does indeed contain what I have been looking for. You've helped me a couple of other times as well, so I owe you a beer or 12. How about a bottle of homemade wine!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Virtual beers are fine ;-)

(so are virtual vodak&red bulls, virtual gin&tonic's, virtual limoncellos, virtual sauvignon blancs, virtual single malt whisk(e)y's, virtual alabama slammers, etc. etc.)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did the AVR1504 help you any?
I tried it and it left me with more questions than answers!
Either me or the writer got too much Virtual Whiskey(tm).

Task2:
I says "2. The code is almost done, but you need to configure the event channel 0 MUX to
use pin 0 of PORTF as input to this event channel. If you need help, see how this is done in Task 1"
Sorry, I can't see it, but it was quite easy to figure it out.

"4. Run the code; press the switch a few times"
Press what switch? I tried all 8 and nothing happens!
I could go into the schematics (after I find it in the "new Atmel web") and figure out that one too. But hey, is these appnotes not meant to make things easy?

I looked through a couple of the "tutorials" for the Xplain and they are crappy! Typically written by someone that expect the reader to also be a mind reader.

OK. Don't bother with me, I can (usually) go figure it out where I need to. But these tutorials should have been an easy way in for newcomers as well as us old farts.

Edit: I need the event catch timer stuff so had to figure out. Here goes:
References to PORT F should have been PORT D. In the .PDF and in the code.
And the switch is SW0 if you set Event Channel 0 Multiplexer = Port D, Pin 0.

Einar Sjaavik

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

einar wrote:
Did the AVR1504 help you any?
I tried it and it left me with more questions than answers!

Don't feel bad - they're just warming you up for the Xmega errata sheet! :lol: