Hi there, I'm trying to bootload a 328p chip via my arduino atmega 256 but i keep getting this error:
Invalid device signature
I followed this tutorial, bootloader, and still don't know what I am doing wrong.
Hi there, I'm trying to bootload a 328p chip via my arduino atmega 256 but i keep getting this error:
Invalid device signature
I followed this tutorial, bootloader, and still don't know what I am doing wrong.
You have no gnd connection to the mega, and get rid of the capacitor on the reset pin.
I did had ground, but not 5V.
Thanks!
The photo shows only half of the power pins of the 328 on the protoboard connected, and NO bypass caps. You might get away without the bypass caps (0.1uF ceramics near each set of power pins), but you really MUST connect both sets of Vcc/Gnd pins!
I did what you said. it supposedly burn the bootloader successfully and I tried to upload this sketch but still get nothing on pin 15.
Code:.
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(15, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(15, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(15, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
The LED is connected to Physical pin 15 on your chip, Try Physical pin 24 as this is the 'pin 15' your software is pointing to.
See this : https://docs.arduino.cc/hacking/hardware/PinMapping168
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.