"As-shipped" source code for mCore controller?


#1

Before I blow away the code that came on my mBot, I’d like to know how to restore it to the as-shipped condition.

The most recent info that I’ve located is a forum posting from Dec., 2015, which points to
https://github.com/Makeblock-official/mBot/tree/master/mBot-default-program.

Is there any more recent, ‘definitive’ version on-record?

FWIW:
(1) Upon reset, my (as-shipped) mBot sends “Version 06.01.002” to the Serial Monitor. But the code on github [above] does not contain a version number.
(2) The mBot’s box had no sticker in the “S.No:” block, but the sticker in the “Model No:” block has the UPC code 40293-95653 and these other numbers (which might be S/N?): “2770398” and “04A16.”

So, has anybody come up with an actual factory-certified source for the as-shipped code?

Thanks!
John (U.S.A.)


#2

The MakeBlock library zip file comes with a version that can be installed with the Arduino IDE.

I didn’t actually re-install it, but I have used it extensively as an example for creating new code and it appears that all the functionality is there…IR remote control, line follower, obstacle avoidance. The only part I haven’t looked into is the BlueTooth link code.

In the zip file:

makeblock\examples\Firmware_For_mBlock\mbot_factory_firmware.ino

If you want to do some serious programming, you will want to switch over to the Arduino IDE anyway so you can write C/C++ code.

Regarding the version, the code in the library says V06.01.007 ~ later than your version. I’m betting that it solves a few glitches.


#3

Thanks, Mike! Exactly what I was hoping to learn…

BTW: So far, I haven’t seen problems with the as-shipped code. [I just hate to walk thru doors that will close behind me!] And I’ve been doing Arduino IDE longer than I’ve played with mBot, so I’m comfortable with that.

Thanks again!


#4

Hi jdetwile,

Please don’t worry about that.
You can reset default program for mBot with mBlock software easily after you upload new program to mBot.
Please see FAQs in this link.


#5