- Notifications
You must be signed in to change notification settings - Fork 8
Added DFU programming support #24
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
Conversation
| Can also do this without Zadig at all. Just a matter of having the right screenshots for the procedure. Or have a signed INF file – which we can do. |
terrillmoore left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The permissions for the added tools were not set correctly. Must always check this for linux and macosx. I will fix and push a change to branch.
platform.txt Outdated
| tools.stm32l0_dfu.erase.params.quiet= | ||
| tools.stm32l0_dfu.erase.pattern= | ||
| | ||
| # OpenOCD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the openocd stuff is not used. Better not add it if not used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, I now see the backlink from programmers to this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But I still don't understand. STLINK worked before, why are we changing it?
terrillmoore left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update your sandbox and test with my modifications. We will not add openocd in this release so if I broke anything, please figure out how to make it work with stlink w/o openocd, as it did previously.
platform.txt Outdated
| tools.stm32l0_openocd.upload.pattern="{path}/{cmd}" {upload.verbose} -s "{runtime.platform.path}/tools/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; program {{{build.path}/{build.project_name}.elf}} verify reset; shutdown" | ||
| tools.stm32l0_openocd.program.params.verbose=-d2 | ||
| tools.stm32l0_openocd.program.params.quiet=-d0 | ||
| tools.stm32l0_openocd.program.pattern="{path}/{cmd}" {program.verbose} -s "{runtime.platform.path}/tools/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; program {{{build.path}/{build.project_name}.elf}} verify reset; shutdown" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the variable build.openocdscript is not defined anywhere in *.txt This means that the stm32l0_openocd stuff is not used at all, and so none of the openocdscripts need to be supplied, I think.
Added DFU programming support in the BSP
DFU programming steps: