Open pctj101 opened 7 years ago
I'm trying to program a Nucleo STM32L432KCU6.
I've verified the STLink v2.1 appears properly on OS X: STM32 STLink: Product ID: 0x374b Vendor ID: 0x0483 (STMicroelectronics)
I've also updated my STlink v2.1 to the latest firmware: http://www.st.com/en/embedded-software/stsw-link007.html v2.28.18
And I see that the tcl config clearly addresses those Product and Vendor IDs.
Running openocd in debug level 3 mode: openocd -s ~/zephyr/openocd-stm32/tcl/ -f stm32l4.cfg -c "stm_flash outdir/nucleo_l432kc/zephyr.bin " -d 3
We can clearly see that the proper TCL files have been loaded and vid/pid are being properly sought out.. however, we still end up with an error on open.
Debug: 267 6 hla_layout.c:40 hl_layout_open(): hl_layout_open Debug: 268 6 stlink_usb.c:1642 stlink_usb_open(): stlink_usb_open Debug: 269 6 stlink_usb.c:1659 stlink_usb_open(): transport: 1 **vid: 0x0483 pid: 0x374b serial:** Error: 270 49 stlink_usb.c:1672 stlink_usb_open(): **open failed** Debug: 271 49 hla_layout.c:47 hl_layout_open(): failed Debug: 272 49 command.c:626 run_command(): Command failed with error code -4 User : 273 49 command.c:687 command_run_line(): in procedure 'init' called at file "/Users/developer/openocd-stm32/tcl//stm32l4.cfg", line 2
Has there been any known issue where OS X is prohibiting any USB Port opens?
Hi
Sorry, I don't have any mac to try out. I confirm that you should be able to flash nucleo_l432kc though. You might be able to get some help here: https://community.st.com/community/stm32-community
Cheers!
I'm trying to program a Nucleo STM32L432KCU6.
I've verified the STLink v2.1 appears properly on OS X: STM32 STLink: Product ID: 0x374b Vendor ID: 0x0483 (STMicroelectronics)
I've also updated my STlink v2.1 to the latest firmware: http://www.st.com/en/embedded-software/stsw-link007.html v2.28.18
And I see that the tcl config clearly addresses those Product and Vendor IDs.
Running openocd in debug level 3 mode: openocd -s ~/zephyr/openocd-stm32/tcl/ -f stm32l4.cfg -c "stm_flash outdir/nucleo_l432kc/zephyr.bin " -d 3
We can clearly see that the proper TCL files have been loaded and vid/pid are being properly sought out.. however, we still end up with an error on open.
Has there been any known issue where OS X is prohibiting any USB Port opens?