Sync err Error: stk500 timeout. 200ms


#1

Hi guys,
I just try to push a simple sketch to a nano Arduino from mBlock 3 with a Linux Ubuntu host.
This is the error I get:
Dez 01 23:22:02 myhost ideserverplus[13012]: Into usbList ==========================>
Dez 01 23:22:02 myhost ideserverplus[13012]: Into bluetoothClose ==========================>
Dez 01 23:22:02 myhost ideserverplus[13012]: 蓝牙连接已关闭

Dez 01 23:22:05 myhost ideserverplus[13012]: Into usbConnect ==========================> { port: ‘/dev/ttyUSB0’ }

Dez 01 23:22:15 myhost ideserverplus[13012]: Into usbSend ==========================> { data: [ 255, 85, 2, 0, 4 ], port: ‘/dev/ttyUSB0’ }

Dez 01 23:22:15 myhost ideserverplus[13012]: serial path /dev/ttyUSB0
Dez 01 23:22:16 myhost ideserverplus[13012]: open serial port ok
Dez 01 23:22:16 myhost ideserverplus[13012]: begin sync
Dez 01 23:22:16 myhost ideserverplus[13012]: stk500v2Instance sync
Dez 01 23:22:17 myhost ideserverplus[13012]: sync err Error: stk500 timeout. 200ms
Dez 01 23:22:18 myhost ideserverplus[13012]: sync done
Dez 01 23:22:19 myhost ideserverplus[13012]: Into usbList ==========================>
Dez 01 23:22:23 myhost ideserverplus[13012]: 7777777
Dez 01 23:22:23 myhost ideserverplus[13012]: { Error: stk500 timeout. 5000ms
Dez 01 23:22:23 myhost ideserverplus[13012]: at Timeout. (/opt/makeblock/ideserverplus/node_modules/stk500-v2/lib/parser-v2.js:112:21)
Dez 01 23:22:23 myhost ideserverplus[13012]: at ontimeout (timers.js:380:14)
Dez 01 23:22:23 myhost ideserverplus[13012]: at tryOnTimeout (timers.js:244:5)
Dez 01 23:22:23 myhost ideserverplus[13012]: at Timer.listOnTimeout (timers.js:214:5)
Dez 01 23:22:23 myhost ideserverplus[13012]: cause:
Dez 01 23:22:23 myhost ideserverplus[13012]: { Error: stk500 timeout. 5000ms
Dez 01 23:22:23 myhost ideserverplus[13012]: at Timeout. (/opt/makeblock/ideserverplus/node_modules/stk500-v2/lib/parser-v2.js:112:21)
Dez 01 23:22:23 myhost ideserverplus[13012]: at ontimeout (timers.js:380:14)
Dez 01 23:22:23 myhost ideserverplus[13012]: at tryOnTimeout (timers.js:244:5)
Dez 01 23:22:23 myhost ideserverplus[13012]: at Timer.listOnTimeout (timers.js:214:5) code: ‘E_TIMEOUT’ },
Dez 01 23:22:23 myhost ideserverplus[13012]: isOperational: true,
Dez 01 23:22:23 myhost ideserverplus[13012]: code: ‘E_TIMEOUT’ }
Dez 01 23:22:23 myhost ideserverplus[13012]: 88888
Dez 01 23:22:23 myhost ideserverplus[13012]: fail-----
Dez 01 23:22:23 myhost ideserverplus[13012]: Into bluetoothClose ==========================>

Dez 01 23:22:25 myhost ideserverplus[13012]: serial opening…
Dez 01 23:22:25 myhost ideserverplus[13012]: Into usbList ==========================>
Dez 01 23:22:28 myhost ideserverplus[13012]: Into usbList ==========================>
Dez 01 23:22:53 myhost arduino.desktop[30942]: Binary sketch size: 3,336 bytes (of a 30,720 byte maximum)
Dez 01 23:22:56 myhost arduino.desktop[30942]: Binary sketch size: 3,336 bytes (of a 30,720 byte maximum)
Dez 01 23:23:17 myhost ideserverplus[13012]: soket连接断开时,关闭后端所有的端口连接
Dez 01 23:23:17 myhost ideserverplus[13012]: 串口连接已关闭
Dez 01 23:23:17 myhost ideserverplus[13012]: 蓝牙连接已关闭
Dez 01 23:23:17 myhost ideserverplus[13012]: 2.4G连接已关闭
Dez 01 23:23:17 myhost ideserverplus[13012]: serial child disconnect.

Using the normal IDE Arduino everything works fine and I can upload the sketch correctly.
Can anybody help?
Many thanks
Alex


#2

Hi, it is a kind of problem about the server. I have informed our Techical to solve this problem.


#3

Great!
Looking forward for working solution.
Cheers
Alex


#4

You also can remind me in case I forget:rofl:


#5

Hi, greetings, this problem is solved. Please have a try.

Have a nice weekend.


#6

Hi dear @tech_support,
how was it solved?
Do I need to download another version?
Kind regards
Alex


#7

Hi dear @tech_support,
unfortunately I am still not able to make it working.
I tried the online version downloading the mlink package and run it.

It seems to work but then it wants to update the firmware to the version 2.5.1 and it fails.
Can you please help?
Kind Regards
Alex