This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32f1 option bytes

is there a means of including an option byte set (here: hardware watchdog) in a Keil build for the STM32f1xx?

Erik

Parents Reply Children
  • to build the "blinky' and it worked until I clicked "include in target build" for the STM32f10xOPT.s then same result

    the Keil example does not work unleess you exclude the 'intersting' part.

    my guess is that it is related to "No Algorithm found for: 1FFFF800H - 1FFFF80FH"
    How do you include the "algorithm", adding the section as "IROM2" does not do the trick.

    anybody had any success with this or "including an algorithm" and, if so, how?

    Erik

  • You need to include the correct Flash algorithm and then it should work.

    Go to Options for target – Utilities Tab – Settings for Flash programming and add the algorithm "STM32F10x Flash Options".