2007-01-15 03:20 AM
2011-05-17 12:32 AM
Hi,
Looking at various toolchains they all seem to use different memory address for code in sram, just wondered what is the ST preferred address for executing code in ram ? The datasheet suggests that the AHB address should be used, but as usual the docs are very unclear. I have executed code in unbuffered AHB and DTCM areas without problems, so the ST answer would be appreciated. Another question a lot of the examples disable the PFQBC in the startup code, IAR/Keil as examples - could i ask why, as it is enabled by default at system reset (revD) ? Cheers sjo2011-05-17 12:32 AM
>>I have executed code in unbuffered AHB and DTCM areas without problems
which is faster ?2011-05-17 12:32 AM
Hi all,
The CPU executes code from SRAM through AHB even if the DTCM is enabled. But the transfer of data can be done either from AHB or from DTCM (which is faster). When the DTCM is disabled, all accesses to its address space go to AHB. When enabled, the DTCM must be programmed before use. Concerning the PFQ feature, it will be enabled in the next release of “init.s� file. Thinks and best regards, mirou