Menu

#71 Wrong RAM amount in linker script in STM32F429_439xx Project Template

Next release
closed-fixed
None
5
2014-04-01
2014-01-09
AlexX
No

Wrong RAM amount in linker script file "mem.ld" in STM32F429_439xx Project Template. Specified 128K, while all STM32F429_439 devices have 192K RAM (+ 64K CCM).

/projectname/ldscripts/mem.ld:

...
MEMORY
{
  RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
...

should be

...
  RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K
...

Eclipse Standard/SDK Version: Kepler Service Release 1 Build id: 20130919-0819
C/C++ Development Tools 8.2.1.201309180223 org.eclipse.cdt.feature.group Eclipse CDT
GNU ARM C/C++ STM32Fx Project Templates 1.1.5.201312241058 ilg.gnuarmeclipse.templates.stm.feature.group SourceForge Project

Windows 7 Ultimate x64

Discussion

  • Liviu Ionescu (ilg)

    • status: open --> open-accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • Liviu Ionescu (ilg)

    that's correct, I'll try to find a fix for the template plug-in.

     
  • Liviu Ionescu (ilg)

    I analysed the F4 family and changed the template to generate different mem.ld files according to RAM size (64+0, 128+64, 192+64).

    The beta version is available from:

    http://gnuarmeclipse.sourceforge.net/updates-test

    Could you give it a try?

     
  • Liviu Ionescu (ilg)

    • status: open-accepted --> closed-fixed
     
  • Liviu Ionescu (ilg)

    fixed in 1.8.1-201401111229