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...
When I flash this code into stm32L4A6RGT6, and pressed the button, stm32 is getting stuck in line 56 inside the function HAL_FLASH_OB_Launch() . And once again try to flash to same board, its not flashing and saying that "Break at address "0x1fff06f6...