Hello all,
I have things running now with the Daisy Bootloader, the DFU tool, and both SRAM and QSPI.
A few notes to others who may come across this to hopefully help you out:
-
Daisy Bootloader on reset needs in press and let go ‘reset’ and then press and let go ‘boot’ to have the bootloader stay in the DFU mode. I didn’t quite have that down the first time I was trying this. (from this post)
-
I updated my launch.json in two ways:
– Changed “preLaunchTask” to be “build_and_program_dfu”, that way I could use the F5 in VS Code.
– Modified openOCDLaunchCommands to add in the line: “gdb_breakpoint_override hard” as the last line in the section. -
I plan to add in the use of System::ResetToBootloader in my code for faster reboot / re-programming time.
Hope that helps others down the line.
Thanks,
Brett