Need help with uploading programs to Mbot


#1

Hi,

So I have a Mbot and when I try to upload programs via USB it says:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xb4

Please help, I have tried going to google for solutions but none of the solutions work for me, I am on com5 porton microsoft PC. Whan I move my bot around with code it works, but nothing will upload,
Please help

Jean


#2

Hi Dolanticus,

Please upload the blink program to the mCore board via Arduino software have a try. Refer to this document.Test if the Arduino board is working or not with the Blink program.zip (698.9 KB)
Please kindly note: temporarily remove the Bluetooth or 2.4G wireless serial module from mCore while uploading program.

Besides, if it is possible, you can also change the USB cable or Computer to upload the blink program have a try once there is still error.


#3

Hi,

So I did that and it said error message: Arduino: 1.6.5 (Windows 8.1), Board: “Arduino/Genuino Uno”

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\Blink.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\Blink.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-gcc -c -g -x assembler-with-cpp -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring_pulse.S.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\hooks.c -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\hooks.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\WInterrupts.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\wiring.c -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\wiring_analog.c -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring_analog.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\wiring_digital.c -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring_digital.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.c -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring_pulse.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-gcc -c -g -Os -w -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\wiring_shift.c -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring_shift.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\abi.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\abi.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\CDC.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\CDC.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HardwareSerial.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial0.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HardwareSerial0.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial1.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HardwareSerial1.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial2.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HardwareSerial2.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial3.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HardwareSerial3.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\HID.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HID.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\IPAddress.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\IPAddress.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\main.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\main.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\new.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\new.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\Print.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\Print.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\Stream.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\Stream.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\Tone.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\Tone.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\USBCore.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\USBCore.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\WMath.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\WMath.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino\WString.cpp -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\WString.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring_pulse.S.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\hooks.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\WInterrupts.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring_analog.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring_digital.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring_pulse.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\wiring_shift.c.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\abi.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\CDC.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HardwareSerial.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HardwareSerial0.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HardwareSerial1.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HardwareSerial2.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HardwareSerial3.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\HID.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\IPAddress.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\main.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\new.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\Print.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\Stream.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\Tone.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\USBCore.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\WMath.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-ar rcs C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\WString.cpp.o

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-gcc -w -Os -Wl,–gc-sections -mmcu=atmega328p -o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/Blink.cpp.elf C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp\Blink.cpp.o C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/core.a -LC:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp -lm

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/Blink.cpp.elf C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/Blink.cpp.eep

C:\Program Files (x86)\mBlock\Arduino\hardware\tools\avr/bin/avr-objcopy -O ihex -R .eeprom C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/Blink.cpp.elf C:\Users\Dolantic\AppData\Local\Temp\build5803729346279731581.tmp/Blink.cpp.hex

Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 32,256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.

avrdude: ser_open(): can’t open device “\.\COM5”: Access is denied.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.


#4

Just curious, when you opened Arduino IDE, have you closed mBlock software? If the mBlock software is still opened, the mCore will connect to mBlock software rather than Arduino IDE, which means the Blink program cannot upload to Arduino IDE. Could you try again the Blink program and make sure the mBlock software is closed during the test?


#5

yes it is closed, but I have a mBot 101, so I have a UNO Shield board, but the thing is, it says “avrdude: stk500_getsync()…” then it retries 10 times, and the it says Problem uploading to board,and the real broblem is that I cant upgrade firmware either,it just says ‘Upload failed’ when I try to download firmware


#6

Hi Dolanticus,

Sorry that we didn’t notice that you’re the same user of mBot 101 in this post.
To avoid mistake, it is suggested continue communicating the same problem on one post instead of making a new post again.

The blink test program is for mCore board instead of mBot 101. So it is normal that there are errors while uploading.

In this post, I suggested to uploading the example program DC motor. Have you chosen the board as Arduino/Genuino 101 while uploading the program?
Besides, make sure you have closed the mBlock software and connect the correct serial port for mBot 101 on Arduino software.


Also, please remove the Bluetooth module from mBot 101 while you uploading the program.


#7