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

Doesn't work with STM32L051K8T6 #8

Open
crvux opened this issue Sep 1, 2022 · 0 comments
Open

Doesn't work with STM32L051K8T6 #8

crvux opened this issue Sep 1, 2022 · 0 comments

Comments

@crvux
Copy link

crvux commented Sep 1, 2022

My cfg file

interface bcm2835spi
bcm2835spi_speed 31200

source [find target/stm32l0.cfg]

reset_config trst_only

init
reset halt
program mybin.bin verify 0x08000000
reset run
exit

Got error

Open On-Chip Debugger 0.10.0+dev-g63b60de (2022-08-27-18:16)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'swd'
Info : BCM2835 SPI SWD driver
Info : SWD only mode enabled
Info : clock speed 31200 kHz
Info : SWD DPIDR 0x0bc11477
Error: Could not find MEM-AP to control the core
Info : Listening on port 3333 for gdb connections
Error: Could not find MEM-AP to control the core
Error: Target not examined, reset NOT asserted!

I was able upload firmware via st-link by changing interface, but I would like to do it through rpi3 b+ spi :)

Also with STM32F411CEU6 openocd-spi uploads work fine

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