One thing that could be a stumbling block and I have not seen mentioned in this thread is the Arduino board definition for the ANET motherboard. This is not part of the Marlin download but needs to be added to your Arduino installation before you can use Arduino to upload Marlin to your board.
You can download this board definition from https://github.com/SkyNet3D/anet-board - don't get hung up on the fact that it says 'SkyNet' - you also need this board definition for Marlin (or any other firmware).
If it's not even compiling properly there's something wrong with your Arduino setup. It might be worth uninstalling and reinstalling the Arduino environment, reinstalling the Anet board file, and trying the example configuration files (in the example_configurations/Anet/A8 directory under the Marlin sources).
No, the Arduino acts as a programmer. So the code is compiled and uploaded THROUGH the Arduino to the ANEt Board , connectd to the Arduino on the SD Card Connector. There are several tutorials out there. This avoids bricking the ANET Board , in case the Bootloader gets overwritten... Which once happened to me before i foung that solutions..to unbrick the board... and now i allways use it ( or used.,..as i am a the latest version anyway ) . By principle, if you have one, you can use any Atmel Programmer for that...but the arduino approach is the cheapest..( 6 Euro or such for an Uno )
Sadly, no. I quit playing with the firmware and implemented my own safety precautions
But, I have learned quite a bit about how arduino's IDE works since then, and I could probably give it another try (if I can work it into my schedule. I've had quite the full plate of projects lately)
well I am using the plugin for octoprint to install the firmware.
The reason I am having to do this is my firmware became corrupted for some reason and I have been told to re flash. See the message at the top of the screen shot.
The next lot of errors come when I try and flash through the plugin.
Ok I got it now
Took me a while because I bricked my Anet while testing because I flashed the wrong firmware
Had to burn a new bootloader via isp and now it works again
The solution for you should be changing the baudrate for AVRdude to 57600
I think I found the issue. It might not have been firmware. It looks like it was broken thermistor. Sadly I am in A and E with my wife so can't confirm it all works till tomorrow.
I'd been trying to use the arduino to compile the firmware, and then flash it. The problem for me came during the compile where it kept giving me this error...
pins for this chip not defined in Arduino.h
and that error interrupted the compile. I tried a number of arduino.h files, but they all were either the same file downloaded from different locations, or gave the same error. I never got as far as actually trying to upload it to the Anet controller board whether that be thru the arduino or thru the octoprint plugin
I figured that if it didn't compile, I certainly wasn't going to try to upload it