User Activity

Hi, I'm facing a Issue in flashing the code from Bank1 to Bank2 and run, MCU is STM32L4A6RGT6.    In the below mentioned code I'm trying to do bootloader flash, When I press a button, it will start flashing the code from 0x08000000 to 0x08080000 addr...
I'm trying to use flash erase to erase the address 0x08040000, its not erasing. I think I'm giving the values wrong for Bank and Pages.#include "main.h" #include "stdbool.h" typedef enum { NONE, PREPARATION, FLASH_ERASING, FLASH_ERASE_DONE, FLAS...