Xplain it to me.

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

I have the Xplain board version 2.

Does the Xmega come with a bootloader?

Can I use that USB contraption to program it, right out of the box?

If so, are there instructions somewhere that tell me which PC buttons to push to program the Xmega?

There is some firmware associated with AVR 1907. What is it? Is there source code for it?

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

Have you digested js's recent/current thread? I think it hits upon some/most of those points...
https://www.avrfreaks.net/index.p...

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

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

I wrote to Atmel asking these questions and was told that, contrary to what is implied in the appnote, the software to program the device via the USB connection still doesn't function, and they're working on it. Based on that, I've requested an RMA to return mine.

Mike

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

So it's the same old bootloader story - just for 5 minutes at the very start you need $299's worth of JTAGICEmkII to get some suitable code (j0n90/Dean's) loaded - after that you're laughing. Seeing as Atmel seem incapable of getting the code right mayb they can be persuaded to preload the AT90USB1287 with Dean/j0n90's code so that future purchasers need nothing more than a USB cable.

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

As far as I understand, the XPLAIN comes with the AT90USB1287 containing a DFU bootloader, and a AT90USB1287 application that implements a USART bridge to the xmega. These both work out of the box.

Both of these programs now have improved alternatives via Dean Camera's LUFA. (abcminiuser)

Now it should be relatively straightforward for Dean or someone to write a PDI programmer application for the 1287.

When this happens, you will have the XPLAIN as originally intended. i.e. an evaluation kit that requires no exernal programmer or hardware. And regardless of Atmel's incompetence, ANYONE will be able to install these replacement programs via Flip and the USB cable.

Meanwhile I would guess that many readers have either a AVRISP-2 or a Dragon or a STK600 or a JTAGICE-mkII. All of these devices can program the xmega via PDI. The Dragon, STK600, JTAGICEmkII can program via JTAG. The Dragon and JTAGICEmkII can debug via JTAG.

Anyone with one of these devices could program a xmega Bootloader into the xmega. Then you would have the standalone board immediately.

David.

p.s. Dean should have received his XPLAIN by now. So keep your fingers crossed.

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

The only use for a bootloader is for field upgrade IMnsHO, useless for debugging or experimenting.

With the Dragon supporting the Xmega you have a reasonably cheap way of playing with the chip. And of course if you are serious about using AVRs (Xmega or not) then that's a small investment.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Quote:

p.s. Dean should have received his XPLAIN by now. So keep your fingers crossed.

Not yet - I bought it off eBay and it should be in the mail. I've gone over the XMEGA programming protocol breifly, and while it looks a bit of a pain to code up, I'll definetely be having a go.

What do I win if I manage to beat Atmel with an open source implementation before their engineering team gets it working? :lol:

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

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

A FREE copy of Studio V4.19 when it comes out.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

...and lots of latest, freshest bugs as a bonus :D

Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.