I have bee trying to install my BLTouch on my Ender 3. I have gotten through all the hardware with no issue, and I am now trying to install configured Marlin to my printer.
I already have the boot loader on there, so I skipped that step. After I had configured the files, I downloaded the Sanguino boards, like many tutorials show.
After clicking verify, with the Sanguino board and the processor being ATmega1284(P) (16MHZ), I waited for it to compile. I got an error like I should, but it wasn't what I expected. The error is very long, so I put you can view it in a pastebin
It seems a very common occurrence in the error is:
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
Also, according to how to install Marlin using the Arduino IDE, the board should be 'Arduino/Genuino Mega or Mega 2560'.
When I selected this board, and then compiled the code, it didn't error, instead saying:
Sketch uses 66548 bytes (26%) of program storage space. Maximum is 253952 bytes.
Global variables use 2686 bytes (32%) of dynamic memory, leaving 5506 bytes for local variables. Maximum is 8192 bytes.
Now, I'm not sure about you but 66548 bytes seems a little low, even if I took off only 9000 bytes 9(In videos it's around 130000 bytes).
Either way, I continued and uploaded to to my printer, and this is the output:
Sketch uses 66548 bytes (26%) of program storage space. Maximum is 253952 bytes.
Global variables use 2686 bytes (32%) of dynamic memory, leaving 5506 bytes for local variables. Maximum is 8192 bytes.
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega2560 -cwiring -P/dev/cu.usbserial-AK064J28 -b115200 -D -Uflash:w:/var/folders/nv/3rvpqg7n2h37snbb2cf6pf280000gq/T/arduino_build_997162/Marlin.ino.hex:i
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/everyone/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbserial-AK064J28
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude done. Thank you.
An error occurred while uploading the sketch
What is the issue here?