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 not flash stm32vl-discovery via make flash in the fancyblink example #245

Open
bstaletic opened this issue Aug 29, 2023 · 1 comment

Comments

@bstaletic
Copy link

Currently, I see a few problems with make flash for STM32F4VL:

  1. flossjtag has been moved in openocd to ftdi/flossjtag, so it can not be found currently. This affects 6 Makefiles
  2. Even when changed to ftdi/flossjtag, the STM32F1VL-Discovery can not be flashed. Switching to stlink interface worked.

I can make appropriate pull requests, but I can not test whether other boards work with ftdi/flossjtag.

For posterity, here's the link to flossjtag.cfg and stm32/f1/Makefile.include:
https://github.com/openocd-org/openocd/blob/master/tcl/interface/ftdi/flossjtag.cfg
https://github.com/libopencm3/libopencm3-examples/blob/master/examples/stm32/f1/Makefile.include#L31

And here is the list of all references to flossjtag:

tiva/lm3s/Makefile.include:31:19:OOCD_INTERFACE ?= flossjtag
lpc/lpc17xx/Makefile.include:32:19:OOCD_INTERFACE       ?= flossjtag
lpc/lpc13xx/Makefile.include:31:19:OOCD_INTERFACE       ?= flossjtag
lpc/lpc43xx/Makefile.include:34:19:OOCD_INTERFACE       ?= flossjtag
stm32/f2/Makefile.include:33:19:OOCD_INTERFACE  ?= flossjtag
stm32/f1/Makefile.include:31:19:OOCD_INTERFACE  ?= flossjtag
@karlp
Copy link
Member

karlp commented Aug 30, 2023

The examples repo is effectively unmaintained due to the amount of copy-pasta across all the examples. If you want to test a blink andyour toolchain, I recommend https://github.com/libopencm3/libopencm3-miniblink/ instead.

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

2 participants