2024-01-10 05:53 PM
I need to write option bytes using HEX file, but so far can't work on STM32C0. It was working well in STM32L0.
Any solution?
Updating the option bytes using "-ob [OptByte=<value>]" is working, but I prefer using the HEX file.
STM32C031
STM32CubeProgrammer v2.15.0
stm32_programmer_cli -c port=SWD freq=8000 mode=UR -e all -d "OptBytes_C0.hex"
The program shows "File download complete"
Before: 0x1FFF7800 : FFFFFEAA 00000155
After: 0x1FFF7800 : FFFFFEAA 00000155 <<< Option bytes unchanged
STM32L031
STM32CubeProgrammer v2.15.0
stm32_programmer_cli -c port=SWD freq=8000 mode=UR -e all -d "OptBytes_L0.hex"
The program shows "File download complete"
Before: 0x1FF80000 = FF5500AA
After: 0x1FF80000 = FFFF0000 <<< Option bytes changed as expected
Solved! Go to Solution.
2024-01-18 05:25 PM
Update:
No solution, and there is no plan to support this feature.
Quoted from online support case:
"the operation of programming option bytes for STM32C0 via SWD interface is not supported currently."
2024-01-11 01:21 AM
Hello @FArdi.1 ,
I confirmed the issue and I have submitted an internal ticket addressing your request to the dev team.
Internal ticket number: 170523 (This is an internal tracking number and is not accessible or usable by customers).
Best regards,
Simon
2024-01-11 07:37 AM
Hi @FArdi.1
The forum moderator had marked your post as needing a little more investigation and direct support. An online support case has been created on your behalf, please stand by for just a moment and you will hear from us.
Regards,
Billy
2024-01-11 09:54 PM
Thanks. I saw the newly open case in online support page. I will be there to follow up this case.
2024-01-18 05:25 PM
Update:
No solution, and there is no plan to support this feature.
Quoted from online support case:
"the operation of programming option bytes for STM32C0 via SWD interface is not supported currently."