Arduino as ISP gives AVRDUDE error

Hello. I am resurrecting some old equipment, trying to update a 2018 Creality V1 3D printer with some new software for upgraded hardware, using Arduino as ISP to flash the updated Marlin firmware onto the Creality Board. And I'm pretty new to this. I am using an Arduino Uno R3 and a Crerality 3D V1.1.4 board, following a tutorial on YouTube. Finally got the software to Verify fullly. I uploaded the Arduino as ISP to the board without issue, then connected the two boards together. I believe the pin wiring between the two boards is correct. When I tried to upload the Marlin sketch, I received a few errors. To fix the first, I had to downgrade the AVR Board from 1.8.6 to 1.6.21. Good move. Now there is one error left when I try to upload.....and I can't seem to be able to sort it out. This is the error in its entirety:
avrdude: Expected signature for ATmega1284P is 1E 97 05
Double check chip, or use -F to override this check.
Failed uploading: uploading error: exit status 1

I have tried changing the Processor on the Tools menu, but that seems to make matters worse.

Any help MUCH appreciated. As expected, these projects suck up HOURS of time. Thanks.
Harvey

The above contradicts the below.

You seem to be compiling for a board with an ATmega1284P but have connected an Uno. That is not going to work :wink:

Thanks for that explanation. I thought it might be the chip. But why did "arduino as isp" successfully upload to the arduino board under the same parameters? It bolstered my confidence.

Harvey

For the uno-as-isp you did probably take the following steps:

  1. You opened the arduino-as-isp sketch in the IDE.
  2. You connected the Uno.
  3. You selected the Uno as the board.
  4. You selected the port of the Uno.
  5. You did a (normal) upload by clicking the upload button.

For the programming of the 1284P these should be the steps:

  1. Open the sketch that you want to load to the 1284P board in the IDE.
  2. Connect the two boards together via the ICSP headers and next connect the Uno to the PC.
  3. Select the 1284P board instead of the Uno board in tools / boards.
  4. Select the port of the Uno.
  5. Select the arduino-as-isp (or something like that, I'm not behind a PC) in tools / programner
  6. Use sketch / upload using programmer instead of the normal upload.

I suspect that you performed a normal upload instead of an upload using programmer in the last step and hence avrdude tried to program the Uno and failed because it did not get the expected signature.

Thanks for spelling this out. Simply put.....it worked!

Really appreciate it. You were a great help. Now for the fine tuning!

Harvey

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.