Skip to content

Error uploading to STM32 Ladybug L432KC board #1084

Open
@eloquentarduino

Description

@eloquentarduino

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

Additional context

This happens most often after I read the serial output from the board via Python's pySerial library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions