2023-07-05 03:56 AM
Hi,
after I try to program option byte to configure brown out I can't anymore reach the micro.
I'm working with a STM32G071KBU3.
I also try to connect to the micro using CUBE programmer. I get the error "target not found". Below my code.
The instruction that cause the fault was HAL_FLASH_OB_Launch();
How can I get my micro out of this fault? Which is the error on the code below.
Thankyou
2023-07-05 06:08 AM - edited 2023-07-05 06:09 AM
2023-07-05 06:48 AM
Hi Diane,
the Flash memory address: 0x1FFF 7870 where is located BOOT_LOCK was 0x0000 0000 (as ST production value).
thank you for your support.
2023-07-06 03:37 AM
Hi,
any other suggestions please?
Reading in other forum thread about this topic someone suggest to use ST-link Utility tool to reload the option bytes to their default value. But also with this tool I can't reach the micro.
Despite this my main problem now is to have a BOR config procedure working.
In my application I haven't an extern reset circuit.
what could I have done wrong on my code?
Regards.