Go Down

Topic: Guide: How to use an Arduino as an In System Programmer (ISP) (Read 15 times) previous topic - next topic

enricozeta

Hello.
I found a oscilloscope and checked Arduino pins (10,11,12,13):
they don't move when I type 'avrdude -p m8 -P com4 -c avrisp -b 19200'.

What it means?

Enrico.

Lauszus

Are you sure com4 is the correct port? Also try to use "-c arduino" instead if "-c avrisp".

Regards
Lauszus

enricozeta

Hi Lauszus, com4 is correct, IDE Serial Port is com4 (upload ArduinoISP Sketch) and when type "avrdude -p m8 -P com4 -c avrisp -b 19200" RX and TX leds in Arduino Mega 2560 blinking.

I used "-c arduino" instead of "-c avrisp", avrdude return:
avrdude.exe: stk500_getsync(): not in sync: resp=0x00

But with "-c arduino" instead of "-c avrisp" pin 13 (SCK) goes high for about 300 ms.

Regards.
Enrico.

enricozeta

Hi Lauszus,
After many attempts I tried to use Arduino UNO.
At the first shot it's worked.

I thank you for your support, I don't know why Mega 2560 doesn't work.

Enrico.

Lauszus


Go Up