mBlock: upload failed

  • mBlock 5
  • Arduino Uno

You may see

Upload failed

Why it happens

  • The wrong board is chosen.
  • Parts on pins 0 and 1 block the upload.
  • The port is busy.

How to fix it

  1. Choose the board you really have.
  2. Take the wires off pins 0 and 1, upload, and put them back.
  3. Switch Upload mode on.
  4. Start the program with the when Arduino starts up block.
  5. Unplug, replug, connect and upload again.

It worked if: The message says the upload succeeded, and the board runs without mBlock.

From the official documentation. From Makeblock and Arduino support; not reproduced. Sources: Makeblock: USB connection in mBlock 5.

Didn't help? Search another error or ask us.