kriswiner / CMWX1ZZABZ

Collection of sketches using the Arduino core for Murata's CMWX1ZZABZ (STM32L082 and SX1276)
94 stars 30 forks source link

B-L072Z-LRWAN1 Arduino Sketch Uploading Error #30

Open ChaseYoDream opened 3 years ago

ChaseYoDream commented 3 years ago

I'm having issues getting the Arduino sketch to upload. I followed the instructions and my device shows up as COM( B-L072Z-LRWAN1). Here is the error report I'm seeing:


GNU MCU Eclipse 32-bits Open On-Chip Debugger 0.10.0+dev-00487-gaf359c18 (2018-05-12-15:41) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 2 adapter speed: 300 kHz adapter_nsrst_delay: 100 Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD none separate srst_only separate srst_nogate srst_open_drain connect_assert_srst Info : Unable to match requested speed 300 kHz, using 240 kHz Info : Unable to match requested speed 300 kHz, using 240 kHz Info : clock speed 240 kHz Info : STLINK v2 JTAG v28 API v2 SWIM v18 VID 0x0483 PID 0x374B Info : using stlink api v2 Info : Target voltage: 3.237647 Info : STM32L072.cpu: hardware has 4 breakpoints, 2 watchpoints Info : Listening on port 3333 for gdb connections Info : Unable to match requested speed 300 kHz, using 240 kHz Info : Unable to match requested speed 300 kHz, using 240 kHz adapter speed: 240 kHz Error: timed out while waiting for target halted

the selected serial port


Any help would be appreciated.

kriswiner commented 3 years ago

Is your board using the CMWX1ZZABZ-078 module? Did you put the board into boot mode before trying to flash?

On Mon, Dec 14, 2020 at 6:31 AM ChaseYoDream notifications@github.com wrote:

I'm having issues getting the Arduino sketch to upload. I followed the instructions and my device shows up as COM( B-L072Z-LRWAN1). Here is the error report I'm seeing:

GNU MCU Eclipse 32-bits Open On-Chip Debugger 0.10.0+dev-00487-gaf359c18 (2018-05-12-15:41) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 2 adapter speed: 300 kHz adapter_nsrst_delay: 100 Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD none separate srst_only separate srst_nogate srst_open_drain connect_assert_srst Info : Unable to match requested speed 300 kHz, using 240 kHz Info : Unable to match requested speed 300 kHz, using 240 kHz Info : clock speed 240 kHz Info : STLINK v2 JTAG v28 API v2 SWIM v18 VID 0x0483 PID 0x374B Info : using stlink api v2 Info : Target voltage: 3.237647 Info : STM32L072.cpu: hardware has 4 breakpoints, 2 watchpoints Info : Listening on port 3333 for gdb connections Info : Unable to match requested speed 300 kHz, using 240 kHz Info : Unable to match requested speed 300 kHz, using 240 kHz adapter speed: 240 kHz Error: timed out while waiting for target halted

the selected serial port

Any help would be appreciated.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKWR7N7OFEPGGN5VFLLSUYOTXANCNFSM4U22QSZA .

ChaseYoDream commented 3 years ago

It uses the CMWX1ZZABZ-091 module. I am not sure how to put this dev board into boot mode. I read something about toggling reset while pressing down boot. The only other button is User.

kriswiner commented 3 years ago

Yes, you can hold boot to GND while powering on or hold boot to GND and press reset. But it needs to be in boot mode to accept new programming as far as I know.

Maybe switch to this https://www.tindie.com/products/tleracorp/grasshopper-loralorawan-development-board/ ?

On Mon, Dec 14, 2020 at 10:58 AM ChaseYoDream notifications@github.com wrote:

It uses the CMWX1ZZABZ-091 module. I am not sure how to put this dev board into boot mode. I read something about toggling reset while pressing down boot. The only other button is User.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/30#issuecomment-744642072, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKS3AIQRKZIC4NJAEKDSUZN5RANCNFSM4U22QSZA .

ChaseYoDream commented 3 years ago

No luck with holding Boot0 to GND, and powering up or pressing RESET. I have two of these DEV boards free from work so naturally I'm going to try them out.

kriswiner commented 3 years ago

No idea, maybe ask at the ST forum then?

On Tue, Dec 15, 2020 at 6:10 AM ChaseYoDream notifications@github.com wrote:

No luck with holding Boot0 to GND, and powering up or pressing RESET. I have two of these DEV boards free from work so naturally I'm going to try them out.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/30#issuecomment-745308953, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKVRDW5235OKSYOFXCDSU5U6BANCNFSM4U22QSZA .

ProjectEIEI commented 2 years ago

GNU MCU Eclipse 32-bits Open On-Chip Debugger 0.10.0+dev-00487-gaf359c18 (2018-05-12-15:41) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 0 adapter speed: 300 kHz adapter_nsrst_delay: 100 none separate srst_only separate srst_nogate srst_open_drain connect_assert_srst Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND Error: open failed in procedure 'program' in procedure 'init' called at file "embedded:startup.tcl", line 496 in procedure 'ocd_bouncer' OpenOCD init failed shutdown command invoked

the selected serial port does not exist or your board is not connected How to fix

kriswiner commented 2 years ago

What board is it? What board variant are you using? Via SWD or USB?

On Mon, Jul 18, 2022 at 6:38 AM ProjectEIEI @.***> wrote:

GNU MCU Eclipse 32-bits Open On-Chip Debugger 0.10.0+dev-00487-gaf359c18 (2018-05-12-15:41) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 0 adapter speed: 300 kHz adapter_nsrst_delay: 100 none separate srst_only separate srst_nogate srst_open_drain connect_assert_srst Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND Error: open failed in procedure 'program' in procedure 'init' called at file "embedded:startup.tcl", line 496 in procedure 'ocd_bouncer' OpenOCD init failed shutdown command invoked

the selected serial port does not exist or your board is not connected How to fix

— Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/30#issuecomment-1187456185, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKUI5NDJZ6IGHPZLJWTVUVM7FANCNFSM4U22QSZA . You are receiving this because you commented.Message ID: @.***>

ProjectEIEI commented 2 years ago

What board is it? What board variant are you using? Via SWD or USB? On Mon, Jul 18, 2022 at 6:38 AM ProjectEIEI @.> wrote: GNU MCU Eclipse 32-bits Open On-Chip Debugger 0.10.0+dev-00487-gaf359c18 (2018-05-12-15:41) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 0 adapter speed: 300 kHz adapter_nsrst_delay: 100 none separate srst_only separate srst_nogate srst_open_drain connect_assert_srst Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND Error: open failed in procedure 'program' in procedure 'init' called at file "embedded:startup.tcl", line 496 in procedure 'ocd_bouncer' OpenOCD init failed shutdown command invoked the selected serial port does not exist or your board is not connected How to fix — Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKUI5NDJZ6IGHPZLJWTVUVM7FANCNFSM4U22QSZA . You are receiving this because you commented.Message ID: @.>

B-L072Z-LRWAN1 STM32L0 Discovery kit LoRa, Sigfox, low-power wireless and USB