2017-06-09 05:37 AM
hello
how to configure a mapping using scatter files using stm32f7 ?
2017-06-09 05:45 AM
Hi
youssef.elmzaiti
,Could you please provide more explanation on your case, so that it will be easier to understand the issue?
-Nesrine-
2017-06-09 07:23 AM
I guess you'd need to ask yourself why you needed them in the first place? Your use case is highly application specific and the question lacks salient context. Review the manuals to determine the available RAM and FLASH regions and expand and contract your allocations here based on the speed and sector sizes that most optimally address your use case.
2017-06-09 08:03 AM
Hi
ELMHIRI.Syrine
we want to migrate from stm32f4 to stm32f7 , and so we should to modify the scatter file to configure the new mapping in stm32f7#! armcc -E
; ************************************************************* ; *** Scatter-Loading Description File generated by uVision *** ; ************************************************************* LR_IROM1 0x08004000 0x000BC000 { ; load region size_region ER_IROM1 0x08004000 0x000BC000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } RW_RAM1 0x20000000 0x00004000 { ; RW data tab_dsn.o (+ZI +RW) .ANY (+RW +ZI) } #if ( defined STM2xx) RW_RAM2 0x20004000 0x00000780 { startup_stm32f2xx.o (+ZI +RW) .ANY (+RW +ZI) } #elseif ( defined STM4xx) RW_RAM2 0x20004000 0x00000780 { startup_stm32f4xx.o (+ZI +RW) .ANY (+RW +ZI) } #endif RW_RAM3 0x20004780 0x00000100 { .ANY (+RW +ZI) } RW_IRAM1 0x20004900 0x0000B700 { .ANY (+RW +ZI) } RW_IRAM2 0x20004880 UNINIT 0x00000020 { no_init.o (+ZI +RW) .ANY (+RW +ZI) } } LR_IROM2 0x080C0000 0x00040000 { ; Secteur 10 et 11 de la flash, pour stocker les noms de la base ER_IROM2 0x080C0000 0x00040000 { ; load address = execution address *(nom_base) } }