2021-09-13 04:40 AM
When I load the external NOR flash on STM32429I-EVAL with TouchGFX Designer, STM32 Cube Programer or IAR flash loader, the data is not loaded correctly. There seems to be interleaving 16-bit word of written and not written data. The data written is in ELF format with the external flash data linked to 0x60000000.
Testing with custom firmware show that only calling HAL_NOR_Program may produce similar problem, but calling HAL_NOR_GetStatus after each write resolve the problem.
Can the default tools be used to program external flash on this board, or some custom software will be needed for flashing this flash chip?
2021-09-13 05:01 AM
I'd hope the ST supplied external loaders for the NOR would work properly. I'd suggest adding verification code to sum or CRC the external memory space vs the linker generated data in that region. If that fails you'll likely want to work with ST to fix that.