Author Topic: What ISP programmer for Atmel 328p?  (Read 3543 times)

0 Members and 1 Guest are viewing this topic.

Offline The SoulmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 949
  • Country: nl
  • The sky is the limit!
What ISP programmer for Atmel 328p?
« on: February 13, 2017, 06:57:05 pm »
I'm not into micro-controllers at all but for a project I'd like to attempt reading the contents of a atmega328p
that is installed in a commercial product.
Because there's a 99% chance the security bits has been set and stopping me for going any further I wouldn't want to invest in a genuine
Atmel programmer.
There are plenty of cheapo's available on ali-express and such but which one to avoid or which to get?
On the board there isn't a ISP header, only solder pads so preferable a interface with 6 pogosticks to avoid soldering.

Thanks
 
 


Offline jaromir

  • Supporter
  • ****
  • Posts: 337
  • Country: sk
Re: What ISP programmer for Atmel 328p?
« Reply #2 on: February 14, 2017, 07:40:40 am »
Enter USBASP into ebay and you'll find a lot of piss-poor quality AVR programmers, that will work, somehow, especially if your target is 5V powered.
You can even use 2USD arduino asi ISP programmer https://www.arduino.cc/en/Tutorial/ArduinoISP.
I once implemented AVR ISP in PIC16, received a lot of love from AVR fans https://hackaday.io/project/551-pic500-avr-isp-in-pic16
« Last Edit: February 14, 2017, 07:48:03 am by jaromir »
 

Offline The SoulmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 949
  • Country: nl
  • The sky is the limit!
Re: What ISP programmer for Atmel 328p?
« Reply #3 on: February 15, 2017, 03:57:28 pm »
Thanks guys.
The target is powered with 3,3 Volt along with other chips so I wouldn't want to have 5 Volt coming from the programmer, but that could be disabled right?
Also will these cheap programmers work with Atmel studio 7?
My OS is windows 7 ultimate 64 bit.
Anybody knows where I could find these "pogo-sticks"?
 

Offline The SoulmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 949
  • Country: nl
  • The sky is the limit!
Re: What ISP programmer for Atmel 328p?
« Reply #4 on: February 15, 2017, 06:47:11 pm »
Anybody knows where I could find these "pogo-sticks"?

 :palm: found out they're called pogo-pin, 911 results on ali-e..

Also looked at the Arduino ISP programmer, easily sourced and plenty of documentation available so will probably get that.

 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: What ISP programmer for Atmel 328p?
« Reply #5 on: February 15, 2017, 09:47:13 pm »
Most of the cheap AVR programmers are based on the USBASP design by Thomas Fischl (http://www.fischl.de/usbasp/ )
They're all about the same, and there's not a lot that can go wrong.  Look for one that has a jumper that permits firmware upgrades, and includes the 6-pin programming connector that has become standard.  I'm somewhat partial to Baite Electronics ( https://www.aliexpress.com/store/213957 ) because I get the impression that they're an actual manufacturer that knows what they're doing, rather than a random "Etail entrepreneur" selling whatever they can find.

Although at this point, you might be better off buying a cheap Arduino Nano clone and running the "Arduino as ISP" sketch.  That way you get a real USB interface, more accessible source code for the programming SW, more space to improve it, and more flexibility in running alternative firmware. (all for "slightly cheaper"!  But no plug-and-play cable, and you probably need to use avrdude to talk to it...)
 

Offline fki82

  • Contributor
  • Posts: 34
  • Country: de
Re: What ISP programmer for Atmel 328p?
« Reply #6 on: February 17, 2017, 07:55:59 pm »
I couldn't get the USBASP working under Windows 10 because of Issues with the driver signature.
Does anybody know if there is a working driver available somewhere, that doesn't require to switch off all Windows security measueres?
 

Offline The SoulmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 949
  • Country: nl
  • The sky is the limit!
Re: What ISP programmer for Atmel 328p?
« Reply #7 on: February 17, 2017, 09:53:15 pm »
Most of the cheap AVR programmers are based on the USBASP design by Thomas Fischl (http://www.fischl.de/usbasp/ )
They're all about the same, and there's not a lot that can go wrong.  Look for one that has a jumper that permits firmware upgrades, and includes the 6-pin programming connector that has become standard.  I'm somewhat partial to Baite Electronics ( https://www.aliexpress.com/store/213957 ) because I get the impression that they're an actual manufacturer that knows what they're doing, rather than a random "Etail entrepreneur" selling whatever they can find.

Although at this point, you might be better off buying a cheap Arduino Nano clone and running the "Arduino as ISP" sketch.  That way you get a real USB interface, more accessible source code for the programming SW, more space to improve it, and more flexibility in running alternative firmware. (all for "slightly cheaper"!  But no plug-and-play cable, and you probably need to use avrdude to talk to it...)


Thanks for the info, but why use a arduino nano and not the arduino ISP programmer?

https://www.arduino.cc/en/Main.ArduinoISP
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: What ISP programmer for Atmel 328p?
« Reply #8 on: February 18, 2017, 11:27:10 am »
Quote
why use a arduino nano
Cheaper (I did say "use a cheap nano clone"), more programmable/hackable, and a more compatible/official USB interface (probably faster.)
(It looks like the ArduinoISP is a variation of the USBASP, although based on an ATtinyXX instead of an ATmega8.  So it's using bit-banged USB...)
 

Offline bharatcs

  • Contributor
  • Posts: 16
  • Country: in
Re: What ISP programmer for Atmel 328p?
« Reply #9 on: February 23, 2017, 07:04:21 am »
USBasp is a cheap programmer but be careful.When programming the atmega 328p make sure fuse configuration is correct .Otherwise if accidentally reset disable fuse is SET or SPI enable fuse is NOT SET USBasp will not be able to program it any more.
Then you will need a High voltage programmer like AVR Dragon or STk500, Otherwise a cheap alternative is to  use arduino as high voltage programmer
 link: http://www.instructables.com/id/AVR-High-voltage-programming-Fuses-rescue/
avr Fuse calculator: http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p
« Last Edit: February 23, 2017, 07:06:18 am by bharatcs »
 
The following users thanked this post: The Soulman

Offline imidis

  • Frequent Contributor
  • **
  • Posts: 426
  • Country: ca
Re: What ISP programmer for Atmel 328p?
« Reply #10 on: February 23, 2017, 07:12:08 am »
I couldn't get the USBASP working under Windows 10 because of Issues with the driver signature.
Does anybody know if there is a working driver available somewhere, that doesn't require to switch off all Windows security measueres?

I think  I ended up using libusbK from this install for windows 10 http://zadig.akeo.ie/
Gone for good
 

Offline bharatcs

  • Contributor
  • Posts: 16
  • Country: in
Re: What ISP programmer for Atmel 328p?
« Reply #11 on: February 23, 2017, 07:21:55 am »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf