cancel
Showing results for 
Search instead for 
Did you mean: 

Flash loader cause corrupted data on external NOR flash on STM32429I-EVAL

HTran.5
Associate

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?

1 REPLY 1

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.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..