Hi,
It seems that there ist a problem when using Keil MDK 4.74 on STM32F429 and Code/RO-Data with more than 1MB. The 5.14 Compiler looks better, but i have tested it only once. Is there anything known to this?
Martin
What "problem", exactly?
Problem with Compiler, Linker or Download, please be specific about the nature, and messaging provided by the tools.
The 2M devices need a suitable Flash Algorithm selected to program the second bank of flash.
My program simply does'nt run anymore. No Compiler message, no linker message and no debugger message. It 1.) stucks in the initialisation code (before main) or 2. doesn't initialze some global variables. When i remove some code, to come below the 1MB "limit", every runs fine. The memory map looks good.
I assume we are talking about an external flash? Does the startup code properly initialize the memory controller so the program can access the full 2MB of the flash? Else, you are likely to get a huge fail when the CRTL tries to run the code to extract the initialized variable values to copy into RAM.
no, internal flash
The devices in question have two Internal 1MB Flash banks located at 0x08000000, and 0x08100000, creating a 2MB linear region.
The question would be what exactly happens, does something go wrong in the user supplied SystemInit() code, or the C runtime's __main function initializing the statics before jumping into main(). Do the system enter the Hard Fault Handler, and what does that indicate about the issue.
Turn off "run to main" and do some analysis of why it's actually dying, cause it's probably not compiler related.
Once you can migrate beyond anecdotal evidence, provide some demonstrative scenarios to Keil support, with things like tool versions, MAP/HEX/AXF files, etc. This is not Keil support.