如果未安装JAVA,为什么arduino_debug不将草图上传到Arduino?

时间:2019-04-14 14:40:37

标签: arduino

我使用arduino_debug将我的草图从我的应用程序(Windows)上传到Arduino Mega和Arduino Due。

我看到了以下问题:

当未安装JAVA或仅在安装Arduino SW之后才安装了JAVA时,命令arduino_debug --port COM6 --upload mysketch.ino无法成功上传草图。

我的Arduino已连接到COM6(已验证),并且草图的路径正确。

我得到以下输出:

Initializing packages...

Preparing boards...

Verifying...

Sketch uses 6222 bytes (19%) of program storage space. Maximum is 32256 bytes. Global variables use 318 bytes (15%) of dynamic memory, leaving 1730 bytes for local variables. Maximum is 2048 bytes.

Uploading...

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x87

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x87

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x87

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x87

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x87

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x87

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x87

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x87

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x87

An error occurred while uploading the sketch

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x87

有人看到这个问题吗?

使用arduino_debug真的需要安装JAVA吗?

谢谢!

0 个答案:

没有答案