HAL_FLASH_Program does not support programming bank 2
When trying to program the STM32L4P5RE, I get an assertion failure when trying to program the second bank like this:
HAL_FLASH_Program(FLASH_TYPEPROGRAM_DOUBLEWORD, address, data)
This call fails if my address is in the second bank `0x08080000`. Looking at the source code, I get an assertion failure here:
static void FLASH_Program_DoubleWord(uint32_t Address, uint64_t Data)
{
/* Check the parameters */
assert_param(IS_FLASH_PROGRAM_ADDRESS(Address)); <---- HERE
I understand when DBANK (Or DB1M) is set, we cannot read the other bank. So how are we supposed to actually program it?

