Starter Robot Kit will not Upload Program


#1

Our Starter Robot Kit (IR Version) worked great out-of-the-box and we experimented with programming and uploading simple programs a number of times with success. Eventually one simple program was loaded and we were no longer able to upload and change the program - stuck with the last program loaded. Maybe a boot loader problem?

Now every up load attempt (whether ‘Update Firmware’ or ‘Reset Default Program’ we get this error message:

avrdude: verifying …
avrdude: verification error, first mismatch at byte 0x0000
0x62 != 0x0c
avrdude: verification error; content mismatch

What can I do to fix this?

Thanks.


#2

Hi pf963al,

Please install the latest version mBlock 3.3.3 have a try: http://learn.makeblock.com/en/software/
Then Upgrade Firmware for Starter refer to this instruction first with mBlock 3.3.34. How to upgrade firmware for starter.docx.zip (1.1 MB)
Then Reset default program step by step refer to this instruction2. How to reset default program for starter with mBlock.docx.zip (1.0 MB)


#3

Thank you for the response.
I have done this many times, just as your instructions outline, and the existing program continues to run and doing an Upgrade Firmware and Reset Default Program apparently change nothing even though I do see lights flash on the board at the start and finish of upload.

The mblock program shows no errors that I recognize on uploading either the firmware or the Reset Default Program. So I tried straight Arduino.

The Arduino 1.6.10 IDE gives errors when uploading IR_Ultrasonic from the examples with COM4 and set at Arduino/Genuino Uno. This error message is shown here:

Arduino: 1.6.10 (Windows 10), Board: “Arduino/Genuino Uno”

Sketch uses 10,240 bytes (31%) of program storage space. Maximum is 32,256 bytes.
Global variables use 1,117 bytes (54%) of dynamic memory, leaving 931 bytes for local variables. Maximum is 2,048 bytes.
avrdude: verification error, first mismatch at byte 0x0000
0x62 != 0x0c
avrdude: verification error; content mismatch
avrdude: verification error; content mismatch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Any other suggestions?

Thanks.


#4

Hi pf963al,

Could you please add my skype account (1021306172@qq.com)? then we can check more with this issue.


#5

I tried to add your skype contact per your suggestion but I got no response back.
When I connect my PC to the Starter Robot Kit (IR) I see lights flash as expected. When I upload the firm I see lights flash at the start and finish. When I upload / Rest the Default Program I see lights flash at the start and finish. But when I disconnect the PC and power the Robot Kit up again I see no change in operation. The Robot is still running the last successful upload - before the start of this request for help.

An additional note, the RX/TX LED stay on during the upload process in both cases. This finishes with blue L led flashing and then going off. This all appears normal but apparently nothing changes on the robot function - still the old program running.

Any ideas?

Thanks.


#6

Hi Patrick,

I was not online before.
I accepted your request just now. I am online from 9:30~18:30 on working days.


#7

This problem is caused by an error with the bootloader. To reset the bootloader you will need either an Arduino Uno board or a Makeblock Orion board. For the Uno board reset you can see this tutorial.

If you have an Orion board, the process is basically the same except for the wiring:

1 MISO -----------------------------> MISO
2 5V --------------------------------> 5V
3 SCK ------------------------------> SCK
4 MOSI -----------------------------> MOSI
5 GND ------------------------------> GND
6 RJ25 Adapter, board slot1 —> RESET

Hope that helps.


#8