GrumpyOldPizza / arduino-STM32L4

69 stars 60 forks source link

i dont even know what is wrong but here is the error #53

Open MrGloriousFast opened 1 year ago

MrGloriousFast commented 1 year ago

Arduino: 1.8.19 (Windows 10), Board: "NUCLEO-L432KC, 80 MHz, Smallest Code"

Sketch uses 116112 bytes (47%) of program storage space. Maximum is 245760 bytes.

Open On-Chip Debugger 0.10.0-dev-00272-gf17dc4a (2016-10-10-09:38)

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

srst_only separate srst_nogate srst_open_drain connect_deassert_srst

An error occurred while uploading the sketch

Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Error: init mode failed (unable to connect to the target)

in procedure 'program'

in procedure 'init' called at file "embedded:startup.tcl", line 473

in procedure 'ocd_bouncer'

OpenOCD init failed

shutdown command invoked

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

kriswiner commented 1 year ago

Also not sure what is wrong here. Is there a COM port showing in the tools menu?

Try putting the device into boot mode as follows:

  1. close Arduino IDE
  2. plug in USB cable to device
  3. Press and hold boot button
  4. Press and release reset button
  5. Open the Arduino IDE, there should be no COM port showing in the tools menu
  6. Select Ladybug board variant, flash a known good (i.e., blink) program
  7. Windows should assign a COM port, which you can open for serial IO

Let me know what happens when you do this.

On Thu, Oct 20, 2022 at 3:32 AM MrGloriousFast @.***> wrote:

Arduino: 1.8.19 (Windows 10), Board: "NUCLEO-L432KC, 80 MHz, Smallest Code"

Sketch uses 116112 bytes (47%) of program storage space. Maximum is 245760 bytes.

Open On-Chip Debugger 0.10.0-dev-00272-gf17dc4a (2016-10-10-09:38)

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

srst_only separate srst_nogate srst_open_drain connect_deassert_srst

An error occurred while uploading the sketch

Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED

Error: init mode failed (unable to connect to the target)

in procedure 'program'

in procedure 'init' called at file "embedded:startup.tcl", line 473

in procedure 'ocd_bouncer'

OpenOCD init failed

shutdown command invoked

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

— Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/53, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKUNXH56QM6MK7VNTWTWEENU5ANCNFSM6AAAAAARKADQHQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>