I have a funny question. I have STM32F401RBT6 and my firmware is ~140KB in size. I can download it without any issues, but the datasheet for this chip says that it should have only 128KB of Flash?
Also when I query the ID_FLASH_ADDRESS register it returns 128.
The code downloads and verifies properly.
Also when I use the ST Link utility, and modify bytes in Flash between 128KB and 256KB they are stored correclty. I'm confused by this. Does this chip has 256KB of Flash or not?