UPDI Programming using ATTINY817-XMINI

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

Hi,

 

I am very new to AVR, so please be gentle. I will try very hard not to waste your time.

 

I am designing a project around the new ATtiny817 (I know it is new and not in production yet).

I have purchased a couple of the 817 XPlained boards from Digikey and development is going slowly but well.

 

I was about to buy an Atmel ICE programmer to UPDI (single wire) program the new chips but it occurred to me.

 

Could I make a programmer by taking a $9 817 XPlained  board, desolder the 817 chip, hook the PA0 pin (UPDI/Reset), power and ground to a connector?

 

To me this would seem to be cheap and easy way to make a UPDI programmer that would have the connector style I want.

This would also give me a test 817 chip to solder to my PCB.

 

Any thoughts?

This topic has a solution.
Last Edited: Wed. Nov 16, 2016 - 06:22 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It should work. If it doesn't, then at least we will find out that there is some secret serial number inside the chips.

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

Awesome, I will give it a try and report back.

 

Thanks for the help.

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

softpdx wrote:

Could I make a programmer by taking a $9 817 XPlained  board, desolder the 817 chip, hook the PA0 pin (UPDI/Reset), power and ground to a connector?

 

Probably - see the other threads on this. There is also a 0-0hm jumper on the UPDI line, so you could try removing that, and soldering to one PAD, but full removal does make it obvious  what the board is for... :)

 

I've not seen actual ISP speed comparisons yet, of the 817 choices - if you have a lot to program, maybe the -Pro is a better platform to kludge ?

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

We'll have to wait for a programmer. I have AVRICE and I bought few of the $8 ATtiny817-xplained. You will not be able to program a new chip, as it comes with UPDI chip un programmed SYSCFG0 bits 3-2. So you'll need a programmer that can do the 12v pulse on the reset pin to enable the UPDI

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

mhmazen wrote:

We'll have to wait for a programmer. I have AVRICE and I bought few of the $8 ATtiny817-xplained. You will not be able to program a new chip, as it comes with UPDI chip un programmed SYSCFG0 bits 3-2. So you'll need a programmer that can do the 12v pulse on the reset pin to enable the UPDI

 

Hmm, seems they may have fixed that oops... I think UPDI is now enabled, not sure if that involves a Device Date-code, or was a data sheet typo

 

41. Datasheet Revision History
41.1 Rev.C - 12/2016
Section Changes
  FUSES - Configuration and User Fuses • Reset value of SYSCFG0 is 0xC4.

 

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

All new tiny817 is delivered with UPDI enabled. You only need 12V if you have configured the UPDI pin to something else, and want to connect to it with a programmer/debugger.