Loading...
 
Skip to main content

System Workbench for STM32


Re: ac6_flasher execute directly

You're welcome,
I'll try to answer for as much as I know, that being not much: consider that I downloaded System Workbench just yesterday...

As far as I can understand, the loader contains the chip-specific flashing algorithm; the flasher complains if you don't use that option.
All the needed loaders should be in the algo directory, so if you are using e.g. an STM32F4xx, you specify -loader algo\stm32f4xx.bin and so on for other µC.
I suppose bad things can happen if the wrong loader is used (or maybe not, but I won't try on the single board I have 😉).

The note about -erasechip was simply to state that the -help option prints that line twice, for whatever reason. I don't think you need to specify it twice, and I do not know whether you can combine more than one command on a single line (-prog and -erasechip), as I only tried the -help (just a lucky guess) and then the -prog options.

HTH,
newbrain