Choosing suitable programmer\programming method\fuse bits

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

It may be an odd question but , I`ve mastered at arduino but, I`m newbie at C programming and just want to be able to program several AVR chips with an ease.Here are the some attempts:

bought a usbasp chinese clone,it was just struggle & kept getting errors

Using arduino UNO as ISP programmer -it worked with Arduino IDE but unsuccessful with uploading c code from atmel studio and somehow I`ve bricked ATtiny85 because it used to work with arduino IDE but after uploading a hex file which was compiled in AS7,it kept giving this error:

avrdude: stk500_getsync(): not in sync: resp=0x00

I don`t need help to these unsuccessful attempts,so I won`t explain them comprehensively

Is there any cheap&easy way to programming AVR chips?Could anyone suggest me a programmer under 20$?

How can I configure fusebits suitable for each AVR chip?

I can hardly find anything assessable to these questions on the web,some useful links would be beneficial too,thanks beforehand.

Last Edited: Sun. Feb 10, 2019 - 11:00 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Eldar Maharramli wrote:
Could anyone suggest me a programmer under 20$?
Pololu USB AVR Programmer v2.1 though am uncertain would meet your limit due to the price of shipping (Pololu has some distributors)

 

23USD :

AVR-ISP-MK2 at

Olimex - AVR - Programmers

ISP, TPI, PDI

Olimex has many distributors.

 

P.S.

Eldar Maharramli wrote:
... ATtiny85  ...
tiny85 has debugWIRE :

debugWIRE via USB UART | AVR Freaks

though will have to go through ISP to enter dW.

 


Pololu - Distributors

Olimex - Distributors

 

edit: Olimex

 

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

Last Edited: Sun. Feb 10, 2019 - 01:30 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How about Microchip "Snap"? It's a programmer and debugger and the usual price is only $15 but I think it's still on special so less than that even.

 

BTW when you direct program a hex the chip is erased first so any bootloader in it you may have been using previously is wiped.

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

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