STM32L4R9 SPI bootloader. Strange behaviour after executing global mass erase command
I'm programming an STM32L4R9 through SPI according to the AN4286 application note.
The problem I have is that after a global mass erase command (0x44) it won't let me execute the read memory (0x11) or the write memory (0x31), even if I wait several seconds after the global mass erase.
To solve this, I must after global mass erase restart the MCU into bootloader mode again, then read memory and write memory commands work.
I have previously used my bootloader client for the STM32F429 and it had not this problem.
Anybody knows why it behaves like this?
