Programming options for custom board with UC3-A3?

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

Hi,

 

I'm trying to figure out what I need to add in a custom board with, e.g., the AT32UC3A3256 chip to have programming capability.

 

With ATmega and ATtiny, I know that I connect the six-pin ISP header to the right pins and voila, I can use the STK600 as a programmer (from either AS on Windows or avrdude on Linux).  Is this a viable option for the UC3-A3 family?

 

In the evaluation board (the UC3-A3 Xplained), we have the USB interface, and we can program it through it using Atmel Studio.  Would this work the same on a "brand new" chip that I purchased and soldered on my board, provided I place a USB connector with its pins properly routed to the corresponding MCU pins?  (for that, I guess I could follow the UC3-A3 Xplained schematics)

 

Lastly:  what about JTAG?  I was under the impression that this should be the easiest route;  yet, ironically enough, we have not been able to program the AC3-U3 Xplained using JTAG.  Do we need a JTAG programmer from a list of models that are recognized by Atmel Studio?

 

Thanks,

Cal-linux

--

 

This topic has a solution.
Last Edited: Wed. Sep 6, 2017 - 07:13 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

cal-linux wrote:
Is this [STK600] a viable option for the UC3-A3 family?
Yes

UC3A3 has a JTAG interface, STK600 has a JTAG connector for external targets, and STK600 supports UC3A3.

cal-linux wrote:
Would this [USB DFU] work the same on a "brand new" chip that I purchased and soldered on my board, provided I place a USB connector with its pins properly routed to the corresponding MCU pins?
Yes

UC3A3 is pre-programmed with a USB DFU bootloader.

cal-linux wrote:
what about JTAG?  I was under the impression that this should be the easiest route;
USB DFU would be easier though JTAG may be faster.

cal-linux wrote:
Do we need a JTAG programmer from a list of models that are recognized by Atmel Studio?
Possibly

Atmel-ICE and Power Debugger can JTAG (program and debug) a UC3A3; Atmel-ICE is portable.

 


Atmel

STK600

In-System Programming of an External Target System

http://www.atmel.com/webdoc/GUID-EE00BF20-2F37-4A8A-B685-B91173F8915D/index.html?GUID-401E025F-DC1E-4187-AEAE-208B91F5C7FA

Atmel

AVR UC3 A0, A1, A3, B0, B1

USB DFU Bootloader

up to version 1.0.3

http://ww1.microchip.com/downloads/en/AppNotes/doc7745.pdf

...

Pre-programmed bootloader for AVR UC3 A0, A1, A3, B0, B1 series

via

Microchip Technology Inc

Microchip

AVR32784: 32-bit AVR UC3 USB DFU Bootloader

http://www.microchip.com//wwwAppNotes/AppNotes.aspx?appnote=en591125

Microchip

Atmel Studio 7.0.1417

Release Notes

March 2017

http://atmel-studio.s3-website-us-west-2.amazonaws.com/7.0.1417/as-installer-7.0.1417-readme.pdf

(page 71)

UC3A Series Device Support

Microchip Technology Inc

Microchip

Development Tools

AVR/SAM Programmers/Debuggers

http://www.microchip.com/DevelopmentTools/Listing.aspx?CatID=cb147543-e74e-4150-8d53-f2ceafb39e0b&LeftNavId=cb147543-e74e-4150-8d53-f2ceafb39e0b

 

"Dare to be naïve." - Buckminster Fuller

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

Thanks gchapman, this was very useful information!

 

With the first question, I actually meant whether the 6-pin ISP header was an option --- but it doesn't really matter;  with the STK I can go via JTAG, and we just tested flashing the UC3-A3 Xplained. Worked like a charm, and the JTAG connections are quite straightforward, so no need to bother with trying ISP.

 

Thanks again!

 

Cal-linux

--