I had a similar problem, but solved it in a different way. I had a hex file which included an application and option bytes. (Created in IAR, via adding a optionbytes.s file to the project.) CubeProgrammer (2.13.0, most recent as of May 4th, 2023) wil...