I am using a NucleoG071-RB board for writing my own custom bootloader, i modified the option bits for making MCU go in boot mode from System Memory but when i try to program, it is showing errors:
Before programming when i connect the board with UART bootloader:After clicking on download option, it is showing following errors: