[Solved] Error occured while uploading sketch

Hello, I am following the open bionics tutorial for uploading firmware to the "chestnut pcb" via arduino IDE. Here's the tutorial's link: BEETROOT V1.0 FIRMWARE USER GUIDE FOR BRUNEL HAND — Open Bionics

Every time I try uploading the sketch, it fails. I have tried updating all the necessary libraries but I'm not sure how to fix this error. Here are the error messages that I am getting. All help will be highly appreciated, thanks!

Arduino: 1.8.8 (Windows 10), Board: "Chestnut"

Sketch uses 64656 bytes (24%) of program storage space. Maximum is 262144 bytes.
Forcing reset using 1200bps open/close on port COM7
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
PORTS {COM3, COM4, COM7, } / {COM3, COM4, COM7, } => {}
Uploading using selected port: COM7
C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0/bossac.exe -i -d --port=COM7 -U true -i -e -w -v C:\Users\user\AppData\Local\Temp\arduino_build_383925/OpenBionics_Beetroot1.ino.bin -R
An error occurred while uploading the sketch

Are you sure the Chestnut is on COM7? If you don’t know which port is your Arduino, you can find it like this:

  • Unplug your Arduino board from the computer.
  • Tools > Port
  • Note the ports, if any, listed in the menu.
  • Close the Tools menu
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

Hi thanks for pointing that out, that got me thinking about the cables I was using. I've figured it out now. It was a series of multiple bad micro-usb cables that caused the sketch upload to fail every time.

I'm glad to hear you found the problem. Enjoy!
Per