Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open the device #2

Open
dzid26 opened this issue Nov 11, 2022 · 0 comments
Open

Can't open the device #2

dzid26 opened this issue Nov 11, 2022 · 0 comments

Comments

@dzid26
Copy link

dzid26 commented Nov 11, 2022

After downgrading Cortex-debug to 1.4.4 and fixing this ERROR: GDB major version should be >= 9, yours is 8,
image
, now I have another error with connecting via ST-LINK to STM32F103:

OpenOCD GDB Server Quit Unexpectedly. See gdb-server output for more details.

[2022-11-11T12:36:26.183Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session connected. You can switch to "DEBUG CONSOLE" to see GDB interactions.
openocd -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s /workspaces/VScode_Docker_Stm32/firmware -f /root/.vscode-server/extensions/marus25.cortex-debug-1.4.4/support/openocd-helpers.tcl -f /workspaces/VScode_Docker_Stm32/firmware/openocd/STM32F103xx.cfg
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
CDRTOSConfigure
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 4000 kHz
adapter_nsrst_delay: 100
none separate
Info : clock speed 4000 kHz
Error: open failed
in procedure 'init' 
in procedure 'ocd_bouncer'

I tried reloading docker and WSL2, but it didn't help. I tried changing STM32F103xx.cfg content to one that I use in Platformio, but also no success. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant