2021-09-30 07:54 AM
in my board I don't have access to any boot pins. The only pins that can use are TX e RX.
I'm using ST Flash Loader and ST Cube Programmer to load the firmware .
Thanks
2021-09-30 07:59 AM
How do you enter the bootloader if you don't have access to the boot pins? Do you jump there in your program? If so, then no, there's no way to recover without getting the chip into bootloader mode first.
One solution would be a custom bootloader which checks for a valid image or jumps to the system bootloader if not detected. Other solutions exist as well. The BOOT_SEL/nBOOT0 option bits could be used temporarily until the image is verified.
2021-09-30 08:16 AM
Hi TDK,
thanks for your answer,
When I get a new board I load the firmware using ST Link programmer. The firmware that is loaded accepts some commands , one of them is the command to jump to the system bootloader.
I think I'll follow your suggestion and create a custom bootloader, that will decide if it should jump or not to the system bootloader
Thanks