mBlock 4 Linux. "Upload firmware" was not possible


#1

Thank you for mBlock for Linux :slight_smile:
The installation on Ubuntu 16.04 + MATE perfect, the USB connection with Arduino UNO, without problems, uploading the program by “Upload firmware” was not possible :frowning:
Any ideas?


#2

Hi joseluis,
The mBlock 4.x is the experimental version, it does have some bugs. We have recorded this bug, thanks for your feedback!


#3

Any logs, or error message? Please switch to the Arduino mode to see the logs at the bottom right, or run mBlock from the command line and paste the logs from the command line screen.


#4

Hello. Thanks for your interest.
I attach the log:

Download the React DevTools for a better development experience: https://fb.me/react-devtools
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
Warning: SerialConnect: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you’re not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.
is Dialog :
undefined
is Dialog :
undefined
is Dialog :
undefined
state.project: Object
state.project: Object
Failed to load resource: the server responded with a status of 404 (Not Found)
######close loader-wrapper
sendMsg:_app.sendMsg
sendMsg:loadRawExtension:Arduino
sendMsg:_app.readyForFlash
readyForFlash
mBlock中的socket: socketCommunication
来自后端的改变主控板的消息: Object
下面通过flash去改变主控板: me/mbot_uno
local storage: Array[1]
sendMsg:_app.sendMsg
sendMsg:loadRawExtension:mBot
sendMsg:_app.sendMsg
sendMsg:loadRawExtension:mBot

state init
++++++from bluetooth message: Object
serial finding ping…
serial finding pong…
connecting…
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:mBot
sendMsg:_app.getExt().callJs
call js
mBot
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:mBot
sendMsg:_app.getExt().callJs
call js
mBot
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
++++++from bluetooth message: Object
++++++from bluetooth message: Object
changeSerialConnectStatus false ************
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:mBot
sendMsg:_app.getExt().callJs
call js
mBot
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
serial finding ping…
serial finding pong…
serial finding ping…
serial finding pong…
serial finding ping…
serial finding pong…
serial finding ping…
serial finding pong…
connecting…
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:mBot
sendMsg:_app.getExt().callJs
call js
mBot
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:mBot
sendMsg:_app.getExt().callJs
call js
mBot
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
++++++from bluetooth message: Object
serial finding ping…
serial finding pong…
++++++from bluetooth message: Object
changeSerialConnectStatus false ************
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:mBot
sendMsg:_app.getExt().callJs
call js
mBot
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
serial finding ping…
connect Model close!
serial not finding
serial finding pong…
来自后端的改变主控板的消息: Object
下面通过flash去改变主控板: arduino_uno
sendMsg:_app.sendMsg
sendMsg:loadRawExtension:Arduino

++++++from bluetooth message: Object
connecting…
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:Arduino
sendMsg:_app.getExt().callJs
call js
Arduino
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:Arduino
sendMsg:_app.getExt().callJs
call js
Arduino
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
++++++from bluetooth message: Object
++++++from bluetooth message: Object
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:Arduino
sendMsg:_app.getExt().callJs
call js
Arduino
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
serial finding ping…
serial finding pong…
serial not finding
sendMsg:unitTestMsg
serial not finding
serial finding ping…
serial not finding
serial finding pong…
is Dialog :
undefined
state.project: Object
state.project: Object
action OPEN_LOCAL_PROJECT @ 16:50:50.956
prev state Object
action Object
next state Object
is Dialog :
Object
state.project: Object
state.project: Object
action UPDATE_PROJECT_FILE_STATUS @ 16:50:50.988
prev state Object
action Object
next state Object
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:Arduino
sendMsg:_app.getExt().callJs
call js
Arduino
resetAll
Array[0]
seriall is connected: true
++++++++++++++++++++++++++发过去的数据:
Array[5]
sendMsg:unitTestMsg
sendMsg:_app.setProjectRobotName
准备请求后端接口setProjectRobotName: Object
flash 已经传过来了: Object
来自后端的改变主控板的消息: Object
下面通过flash去改变主控板: arduino_uno
is Dialog :
Object
state.project: Object
state.project: Object
action UPDATE_PROJECT_FILE_STATUS @ 16:50:59.089
prev state Object
action Object
next state Object
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:Arduino
sendMsg:_app.getExt().callJs
call js
Arduino
resetAll
Array[0]
seriall is connected: true
++++++++++++++++++++++++++发过去的数据:
Array[5]
sendMsg:unitTestMsg
is Dialog :
arduino mode
state.project: Object
state.project: Object
action changeStageMode @ 16:51:03.726
prev state Object
action Object
next state Object
sendMsg:_app.arduinoModeEnabled
Arduino Mode Enabled
sendMsg:_app.updateScript
is Dialog :
Object
state.project: Object
state.project: Object
action SHOW_PROGRESS @ 16:51:09.399
prev state Object
action Object
next state Object
is Dialog :
Object
state.project: Object
state.project: Object
action UPDATE_PROGRESS_PERCENT @ 16:51:09.403
prev state Object
action Object
next state Object
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:Arduino
sendMsg:_app.getExt().callJs
call js
Arduino
resetAll
Array[0]
seriall is connected: true
++++++++++++++++++++++++++发过去的数据:
Array[5]
sendMsg:unitTestMsg
sendMsg:_app.updateScript
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:Arduino
sendMsg:_app.getExt().callJs
call js
Arduino
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
++++++from bluetooth message: Object
sendMsg:_app.updateScript
++++++from bluetooth message: Object
刷固件返回的数据:
Object
is Dialog :
Object
state.project: Object
state.project: Object
action UPDATE_PROGRESS_PERCENT @ 16:51:12.559
prev state Object
action Object
next state Object
刷固件返回的数据:
Object
is Dialog :
Object
state.project: Object
state.project: Object
action PROGRESS_FAILED @ 16:51:18.637
prev state Object
action Object
next state Object
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:Arduino
sendMsg:_app.getExt().callJs
call js
Arduino
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
sendMsg:_app.updateScript
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:Arduino
sendMsg:_app.getExt().callJs
call js
Arduino
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
++++++from bluetooth message: Object
sendMsg:_app.updateScript
++++++from bluetooth message: Object
changeSerialConnectStatus false ************
sendMsg:console.log
method:resetAll
sendMsg:console.log
ext:Arduino
sendMsg:_app.getExt().callJs
call js
Arduino
resetAll
Array[0]
seriall is connected: false
sendMsg:unitTestMsg
sendMsg:_app.updateScript
is Dialog :
undefined
state.project: Object
state.project: Object
action HIDDEN_PROGRESS @ 16:51:21.915
prev state Object
action Object
next state Object
serial not finding
serial finding ping…
serial not finding
serial finding pong…