2024-06-12 12:15 AM
Hello,
I will configure the boot mode in the option bytes of the STM32G030F6. Now I see only the nBOOT1. I missing the nBOOT_SEL and nBOOT0.
In the refernce manual are describe all:
How can I cinfigure it?
And after the programming I will reload the option bytes with setting of the OP_LAUNCH flag. Can I do it with the STM32Programmer and how?
Thanks for our help,
Bernd
Solved! Go to Solution.
2024-06-12 01:48 AM
Oh, I've vorgot my function in the application. I must remove it, it overwrite this.
Not it works fine :)
2024-06-12 12:36 AM - last edited on 2024-06-12 01:01 AM by Peter BENSCH
sorry @ all
I've found out that the programmer use the false device:
I've use a NUCLEO--L073RZ and connect the ST-Link to my hardware with a STM32G030. Can I change the device configuration?
2024-06-12 01:00 AM
STM32CubeProg recognises which target is connected to it via the ST-LINK.
Are you sure you have removed the two jumpers on CN2 so that the STM32L073 is no longer connected to the ST-LINK?
Regards
/Peter
2024-06-12 01:44 AM
Thanks Peter Bensch,
that was the problem. I have removed the SB12..15 but this two line not. So now I have the correct device and see the correct boot mode flags.
I've set this in my software to nBOOT_SEL=0, nBOOT0=1 and nBOOT1=1. Now I see this in the programmer.
Now I will change the nBOOT_SEL to 1. After press "Applay" I become a error message:
And it is not changed. After press "Read" it show for me correct but after a POR it is not changed.
What must I do that work this correct?
Best regards,
Bernd
2024-06-12 01:48 AM
Oh, I've vorgot my function in the application. I must remove it, it overwrite this.
Not it works fine :)