Programming Attiny10 in Linux with Atmel ICE

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

Hello all
I have an Atmel ICE PCBA with a homebrew header board. 
I've been using avra to compile and avrdude to upload my code for 8 bit micros using ISP. 
However, there's no option in avrdude to program micros over TPI using Atmel ICE.
This leads me to the question:

What other programs can be used to program reduced core AtTiny chips in Linux?
I'd prefer not to use avrstudio in wine, but if there's no other option, it'll do.
I'm using a flashed c740 chromebook so I'd prefer not to kill the battery life.

Thanks everyone and 73,
-N2EEE

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

Are you at the bleeding edge of AVRDUDE versions?

 

I'm not a user of the tiny series, but a quick search seems to indicate DUDE can do tiny10s:

https://www.avrfreaks.net/forum/a...

http://irq5.io/2010/07/15/progra...

http://avr.2057.n7.nabble.com/av...

.

.

.

 

Do you rely on AVRDUDE being supplied from your Linux distros software repository? (They can be "behind" when it comes to versions of exotic software.)

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

I took a look at the AVRDUDE I built locally on my Linux Mint. It is version 6.3 (released spring 2016). SVN revision is probably the current HEAD, i.e. r1395 timestamped this spring.

 

Looking in my avrdude.conf I have

#------------------------------------------------------------
# ATtiny10
#------------------------------------------------------------

part parent "t9"
    id		= "t10";
    desc	= "ATtiny10";
    signature	= 0x1e 0x90 0x03;
;

and that signature is consistent with the new ATtimy10. (There was a, by now, very old ATtiny10 that never existed in real life...)

 

What Linux are you on? If Mint 18.1 or close to that I could supply a AVRDUDE build that you could try out. Let me know here. No PM.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

Thanks for the replies,
I'm running GalliumOS on a chromebook. It's very similar to mint XFCE so i'd like to try your avrdude build. I can't provide my version number right now, but i believe it can do tiny 10s. So the build allows T10s to be programmed from an Atmel ICE, correct? That would be fantastic.
Thank you,
-N2EEE

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

N2EEE wrote:
So the build allows T10s to be programmed from an Atmel ICE, correct?

As I tried to say above, I have no way of testing that since I do not own a single tiny10.

 

You will have to test it yourself. I also assume you have knowledge to "nudge" the build I'll send you into your file system and PATH etc.

 

You have a PM.

 

If it works, it might be better to eventually do your own build. I have notes on how I did mine and they might be editable to a point where someone but me can use them.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

Last Edited: Sat. Nov 4, 2017 - 06:38 PM