Go Down

Topic: Arduino as ISP  (Read 302 times) previous topic - next topic

freebird4446

Sep 12, 2018, 05:58 am Last Edit: Sep 12, 2018, 06:08 am by freebird4446
I'm trying to use the Arduino Nano as ISP to program the Attiny45 chip. I have double checked my wiring, downloaded all the correct files, and selected the correct settings (I think), but somewhere here I am going wrong. I uploaded pictures of my settings and the error. I think my error is that I need to add a 10uF cap on the arduino, but I'm not convinced that will make the difference but I will try that when I get a cap but open to other advice as well.


The error that says "the selected serial port avrdude: stk500_disable(): unknown response = 0x12 does not exist or your board is not connected."


Juraj

it is sure that "stk500_disable(): unknown response = 0x12" is not a serial port.
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

pert

Which version of the Arduino IDE are you using?

freebird4446

#3
Sep 12, 2018, 04:30 pm Last Edit: Sep 12, 2018, 09:45 pm by freebird4446
Looks like Arduino 1.8.1

It's possible that it's a serial port error but I can talk to the Nano that is the ISP just fine.

ron_sutherland

#4
Sep 12, 2018, 08:11 pm Last Edit: Sep 12, 2018, 08:12 pm by ron_sutherland
The nano probably has an old bootloader, so the ISP sketch has probably not run when avrdude tries to talk to it. I would say update the bootloader, but then you would need an ISP tool... chickens and eggs then turtles all the way down.  

Juraj

The nano probably has an old bootloader, so the ISP sketch has probably not run when avrdude tries to talk to it. I would say update the bootloader, but then you would need an ISP tool... chickens and eggs then turtles all the way down.   
with this a capacitor on reset pin should help
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

freebird4446

I'll give it a try tonight with the cap and see what happens. Had to grab one from work :)

JeanRimbaud

Remember when choosing your programmer in tools that 'ArduinoISP' != 'Arduino as ISP'.

I'm not saying that recently burned me, but yeah, it did.

pert

It's especially confusing that the sketch you use to make an "Arduino as ISP" is named "ArduinoISP".

freebird4446

The cap did the trick, thanks for the help everyone!

Go Up