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

0 Members and 1 Guest are viewing this topic.

Online The Soulman

  • Regular Contributor
  • *
  • Posts: 116
  • Country: nl
What ISP programmer for Atmel 328p?
« on: February 14, 2017, 05:57:05 AM »
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

  • Regular Contributor
  • *
  • Posts: 62
  • Country: sk
Re: What ISP programmer for Atmel 328p?
« Reply #2 on: February 14, 2017, 06:40:40 PM »
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, 06:48:03 PM by jaromir »
My hobby projects: https://hackaday.io/jaromir ----------- http://jaromir.xf.cz/

For years, I'm using PIC MCUs and CADSoft Eagle to design commercial products. You know, some men just want to watch the world burn.
 

Online The Soulman

  • Regular Contributor
  • *
  • Posts: 116
  • Country: nl
Re: What ISP programmer for Atmel 328p?
« Reply #3 on: February 16, 2017, 02:57:28 AM »
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"?
 

Online The Soulman

  • Regular Contributor
  • *
  • Posts: 116
  • Country: nl
Re: What ISP programmer for Atmel 328p?
« Reply #4 on: February 16, 2017, 05:47:11 AM »
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: 2105
  • Country: us
Re: What ISP programmer for Atmel 328p?
« Reply #5 on: February 16, 2017, 08:47:13 AM »
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: 18
  • Country: de
Re: What ISP programmer for Atmel 328p?
« Reply #6 on: February 18, 2017, 06:55:59 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?
 

Online The Soulman

  • Regular Contributor
  • *
  • Posts: 116
  • Country: nl
Re: What ISP programmer for Atmel 328p?
« Reply #7 on: February 18, 2017, 08:53:15 AM »
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: 2105
  • Country: us
Re: What ISP programmer for Atmel 328p?
« Reply #8 on: February 18, 2017, 10:27:10 PM »
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...)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf