Open
Description
Bug Report
When uploading to the Ladybug L432KC board with the arduino-cli, I sometimes get an error.
Current behavior
This is the output from the cli:
arduino-cli upload -b grumpyoldpizza:stm32l4:Ladybug-L432KC -p /dev/tty.usbmodem1411 --verify
Open On-Chip Debugger 0.10.0-dev-00272-gf17dc4a (2016-10-10-09:57)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
adapter speed: 500 kHz
adapter_nsrst_delay: 100
none separate
none separate
Error: open failed
in procedure 'program'
in procedure 'init' called at file "embedded:startup.tcl", line 473
in procedure 'ocd_bouncer'
** OpenOCD init failed **
shutdown command invoked
Expected behavior
I expect the upload to succeed.
Environment
- CLI version: 0.13.0 commit 693a045
- OS and platform: OS X Catalina 10.15.7
- Ladybug STM32 board
Additional context
This happens most often after I read the serial output from the board via Python's pySerial library.