Skip to content

Running command Together uses same port #1347

Open
@ghost

Description

Bug Report

Current behavior

when I do

arduino-cli upload --port /dev/ttyACM1 -b arduino:mbed_nano:nano33ble ./writer \
arduino-cli upload --port /dev/ttyUSB0 --fqbn esp8266:esp8266:generic ./reader

command 2 use command 1's port

Expected behavior

upload board 1
upload board 2

Environment

  • CLI version (output of arduino-cli version)
    arduino-cli alpha Version: 0.18.3-arch Commit: d710b64 Date:
  • OS and Platform
uname -a Linux ArchBox1 5.12.9-zen1-1-zen  #1 ZEN SMP PREEMPT Thu, 03 Jun 2021 11:36:07 +0000 x86_64 GNU/Linux

Additional context

Full Output

Device       : nRF52840-QIAA
Version      : Arduino Bootloader (SAM-BA extended) 2.0 [Arduino:IKXYZ]
Address      : 0x0
Pages        : 256
Page Size    : 4096 bytes
Total Size   : 1024KB
Planes       : 1
Lock Regions : 0
Locked       : none
Security     : false
Erase flash

Done in 0.001 seconds
Write 85288 bytes to flash (21 pages)
[==============================] 100% (21/21 pages)
Done in 3.308 seconds
esptool.py v3.0
Serial port /dev/ttyACM1 //wrong port
Connecting.....^C
Traceback (most recent call last):
... Suff about not begin an esp8266
KeyboardInterrupt
rm *.log;
//command used to create logs
arduino-cli upload -v -b arduino:mbed_nano:nano33ble -p /dev/ttyACM1 ./writer/ >> writer.log 2>>writer.log; arduino-cli upload -v --fqbn esp8266:esp8266:generic -p /dev/ttyUSB0 ./reader >> reader.log 2>> reader.log;

logs gist

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions