Communication problem with mBlock and mBot in Windows10


#1

Hello, I’ m new to mBlock and mBot, but I’ m experienced with Scratch and Arduino. I’ ve got an mBot and I’ ve installed the mBlock software, the Arduino driver, updated firware and set the right usb port. The thing is there is no communication when I try to execute the following program:

but when I upload it on the board it does work.

Any idea what is going on?


#2
  1. What operating system are you using?
  2. What version of mBlock are you using?

I’m experiencing a bug in 3.4.1 that requires me to change the board to Arduino Uno and then back to mCore. The underlying Arduino compilation environment is apparently not getting properly set at startup. :frowning:

I have notified @tec_support about the issue.


#3

Hi mBot,

Here I tested the same program with mBlock 3.4.1, it works properly.
You may Upgrade firmware for mBot refer to steps in this instruction again and then test the program with green flag.22. How to Upgrade Firmware for mBot.docx.zip (690.7 KB)


#4

I’ve upgraded the firmware (I do so with each new release of mBlock) but I’m still getting the error with this program.

Scrolling_LED_Msg.sb2 (75.0 KB)

Also, after the upload fails mBlock disconnects the serial port which is a new behavior.

Test Sequence

  1. Load program
  2. Connect to mBot
  3. Upload program -->> Compilation / Upload fails
  4. Change Board to Arduino Uno
  5. Connect to mBot
  6. Upload program -->> Compilation / Upload fails
  7. Change board to mCore
  8. Connect to mBot
  9. Upload program -->> Compilation / Upload succeeds

#5

I’ ve upgraded the firmware and it works now.
Thank you!


#6