Hi,
reading your post, I managed to work this out by adding the command: “mon flash write_image erase F:/Path/To/Project/Firmware.bin 0x08000000 bin"
I still have additional questions:
1. When adding “mon flash write_image erase $(TargetDir)\$(TargetNameWithoutExtension).bin 0x08000000 bin
” to the commands I get the following error in the GDB Session:
mon flash write_image erase F:\Path\To\Project\Firmware.bin 0x08000000 bin
&"mon flash write_image erase F:\\Path\\To\\Project\\Firmware.bin 0x08000000 bin\n"
couldn't open F:PathToProjectFirmware.bin
It seem as the windows backslashes are not escaped correctly. Is there any workaround, other than fully qualifying the file with forward slashes?
2. When adding the flash command like above, VisualGDB now writes the Firmware twice to the device.
Is it possible to override/suppress the first “default” flash, as I will override the Firmware anyway?
Thanks in advance.
Attachments:
You must be
logged in to view attached files.