Bindto 0.0.0.0 means to accept connections from any IP. Good tutorial
@Weblearning14 жыл бұрын
Correct.
@germangomez16734 ай бұрын
Thanks so much for this cool tutorial, any update for 2024 year and Raspberry Pi 4 hardware?
@RamboZa4 жыл бұрын
Thank you! Awesome! Unfortunately, ST has no support "st-link server" for linux using ARM processors.. heh, who need this solution works fine, with debugger and flasher! :)
@qbek99393 жыл бұрын
Hey, I have a question. I want to use openOCD with different stm nucleo board, i used your cfg file but if i type "open ocd -f openocdf4.cfg" the openocd not worked. This is the last line from debug. Debug: 448 217 target.c:1991 target_free_all_working_areas_restore(): freeing all working areas Debug: 449 217 hla_interface.c:117 hl_interface_quit(): hl_interface_quit Debug: 450 218 stlink_usb.c:1319 stlink_usb_exit_mode(): MODE: 0x02 How about this?
@najjarl4 жыл бұрын
thank you✔👍great project . thanks for sharing
@Weblearning14 жыл бұрын
More is coming on this. Subscribe to get the notification when I load them.
@edg22822 жыл бұрын
Hi I am facing problems running sudo openocd it says error while shared libraries: libgpio.so.2. I tried to install libgpiod2 but still failed (even with apt -fix-broken install). My current OS is bullseye Really appreciate any help
@junaidaslam111 ай бұрын
Hi. I was using this process to debug using OpenOCD successfully until Cube IDE version 1.6. but when i upgraded this to a newer version, it is giving me error of Could not verify ST device. I know many people face this issue. But i am unable to solve it. Can you please help me if u know the answer?
@cmgrgn19122 ай бұрын
Same situation here. Have you found a solution?
@junaidaslam12 ай бұрын
@@cmgrgn1912 Yes, I am able to do the same using GDB Hardware Debugging Configruation from Cube IDE.
@yousofebneddin74303 жыл бұрын
Hi, Thanks, openocd just returns immediately after executing it without any specific error (even in debug mode), I am using STM32H7
@Weblearning13 жыл бұрын
I saw the se issue. I did some investigating and looks like ST changed something. I'm trying to see if I can solve this maybe with the help of ST.
@yousofebneddin74303 жыл бұрын
@@Weblearning1 In the most recent version of openocd, there is a config file for nucleo-h7432i board that seems it works at the beginning but it always refuses the remote connection.
@Weblearning13 жыл бұрын
Yes, I'm getting the same thing. It connects and all and the it refuses the connection. Have a look at the cfg file in your pc project and you will see that it is configured different the what we configured on the Pi and there is no way to reconfigure it ( that I know of ).
@Weblearning13 жыл бұрын
Ok, I have found the issue. ST changed between V1.4 to V1.5. In Debug configuration, Debugger, remove the " Enable live expression" and try again. It should work. I need to do a new video on this if someone needs to use the live expressions. Its a bit more complicated now.
@yousofebneddin74303 жыл бұрын
@@Weblearning1 Oh yeah. Thanks a lot. It works. This is amazing, Now I can program it remotely. And also FYI. I am using jetson nano. Not RPi. So this works for me: openocd -c 'bindto 0.0.0.0' -f st_nucleo_h743zi.cfg -d
@MiguelMesaChica2 жыл бұрын
Hi, I followed all the steps but when i do the debug connection the raspberry says: Info : accepting 'gdb' connection on tcp/3333 Info : device id = 0x10016418 Info : flash size = 128kbytes undefined debug reason 7 - target needs reset invalid command name "ReadAPEx" Info : dropped 'gdb' connection And I can't connect :( Help please
@junaidaslam111 ай бұрын
I am having the same issue. Were you able to solve it?
@erolkaratas53433 жыл бұрын
hi thank you so much this awesome share , so ı have a question ı am trying remote the device via ethernet without st-link , ı read to many document but ı couldnt , do you have any information about it , is that possible remote my stm32 via ethetnet with using openocd ?
@Weblearning13 жыл бұрын
Yes, this is possible. You can use the Pi as a debugger. I made a video on this: kzbin.info/www/bejne/q3qpgHd8hsiShpo
@erolkaratas53433 жыл бұрын
@@Weblearning1 Thank you so much ı will try and let you know