openocd firmware update #10
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Would be nice if flashing was via openocd. Right now flashing requires using proprietary tool from st.com and a Windows machine. See Issue.
Same family of uP as Stabilizer which has openocd support.
No it doesn't, we developed with OpenOCD or Black Magic Probe.
What are the steps to use OpenOCD for Thermostat?
Added to
README.md
It would be most convenient to flash new firmware using microUSB port as done by st.com tool. Not all users may have the programmer ST-Link v2.1. And the corresponding pins are not easily accessible when the device is deployed in a lab. Is this supported by OpenOCD?
@jbqubit It may work with dfu-util as suggested on github, try it and let us know.
LOL. I've messed around enough with openocd to know that I will make zero progress doing it myself.
It's not easy for anyone. And we are talking about dfu-util here, not openocd.
I have not yet looked into dfu-util. The device's microUSB port acts only as serial output.
That's the programmer I use. Any SWD programmer should work.
I acknowledge that the on-device connector is a bit cumbersome due to its half-width pin distance. There is a adapter just for that: Olimex ARM-JTAG-20-10.
Is this the github reference you had in mind?
https://github.com/quartiq/stabilizer#using-usb-dfu
arm-none-eabi-objcopy -O binary thermostat.elf thermostat.bin
dfu-util -a 0 -s 0x08000000:leave -D stabilizer.bin
Here's what success looks like.
A comment on the issue you posted yourself...
https://github.com/sinara-hw/Thermostat/issues/87/#issuecomment-739081142