Welcome! Log In Create A New Profile

Advanced

Marlin error codes at upload, can't find any answers.

Posted by bill236 
Marlin error codes at upload, can't find any answers.
April 24, 2019 03:36PM
When I try yo flash my A8 with marlin, it starts to upload but stops with the following errors. Anyone seen these errors before? Thanks.

Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Anet V1.0"

Sketch uses 104096 bytes (81%) of program storage space. Maximum is 126976 bytes.
Global variables use 4083 bytes of dynamic memory.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xd6
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6f
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xae
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xd6
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x02
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x21
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xcc
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd6
An error occurred while uploading the sketch
Anyone see these error codes before. Thanks.
Re: Marlin error codes at upload, can't find any answers.
April 24, 2019 04:24PM
This error is well known and well documented...

But the cause is numerous... The error message simply says the arduino IDE cannot talk to your board.
Talking to the board involves resetting the board and running the bootloader, this allows you to upload new firmware over usb/serial.

Since I see Board: "Anet V1.0" you have installed the required extensions

Which most probably means your board just doesn't have a boot loader to talk to.

"Burning the Bootloader
Burning the bootloader to the board requires either an Arduino programmed as an ISP, or a USBasp. The programmer is connected to the middle six pins of the J3 connector on the Anet v1.0 board.

Burning the bootloader to an Arduino always erases the flash memory. Once the bootloader has been burned using a programmer the programmer should be disconnected and firmware uploaded using the serial-over-USB connection.

With the programmer connected:

Launch the Arduino IDE
Select the appropriate board from the Tools->Boards menu - either Anet V1.0 or Anet V1.0 (Optiboot)
Click Tools -> Burn Bootloader
The board will reset when complete, and the LCD display will be blank
Assuming there were no errors, at this point the firmware has been erased and will need to be re-uploaded. The programmer should be disconnected."

See [www.youtube.com] for more details.

.

Edited 2 time(s). Last edit at 04/24/2019 04:48PM by Dust.
Re: Marlin error codes at upload, can't find any answers.
April 24, 2019 04:55PM
Thank you so much, I kind of thought that might be it, someone said the 1.5 ver. board didn't have a bootloader and others said it did, I will let you know if it works.
Sorry, only registered users may post in this forum.

Click here to login