-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Open the monitor/plotter while the upload is running:
* Executing task: boardlab: upload port+serial:///dev/cu.usbserial-0001
"/Users/xxx/Library/Arduino15/packages/esp32/tools/esptool_py/5.0.dev1/esptool" --chip esp32 --port "/dev/cu.usbserial-0001" --baud 921600 --before default-reset --after hard-reset write-flash -z --flash-mode keep --flash-freq keep --flash-size keep 0x1000 "/Users/xxx/Library/Caches/arduino/sketches/002302D32EBDB868619B7ECAC4E71903/monitor.ino.bootloader.bin" 0x8000 "/Users/xxx/Library/Caches/arduino/sketches/002302D32EBDB868619B7ECAC4E71903/monitor.ino.partitions.bin" 0xe000 "/Users/xxx/Library/Arduino15/packages/esp32/hardware/esp32/3.2.1/tools/partitions/boot_app0.bin" 0x10000 "/Users/xxx/Library/Caches/arduino/sketches/002302D32EBDB868619B7ECAC4E71903/monitor.ino.bin"
esptool.py v4.8.1
Serial port /dev/cu.usbserial-0001:
Connecting.......
A fatal error occurred: Invalid head of packet (0x12): Possible serial noise or corruption.
Connected to ESP32 on /dev/cu.usbserial-0001:
Chip type: ESP32-D0WD-V3 (revision v3.1)
Features: Wi-Fi, BT, Dual Core + LP Core, 240MHz, Vref calibration in eFuse, Coding Scheme None
Crystal frequency: 40MHz
MAC: d4:d4:da:e4:41:30
Uploading stub flasher...
Running stub flasher...
Stub flasher running.
Changing baud rate to 921600...
Changed.
Hard resetting via RTS pin...
Failed uploading: uploading error: exit status 2
* The terminal process terminated with exit code: 13.
* Terminal will be reused by tasks, press any key to close it.
Expected:
When a port is suspended (e.g. an upload is running), the monitor (and plotter) editor opens in suspended mode.
Actual:
The upload task might fail because the monitor has already acquired the monitor before esptool spawns.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working