stm32 external SRAM

Christian Mauderer christian.mauderer at embedded-brains.de
Fri Jun 14 14:13:03 UTC 2019


If you have already added the chip and it is initialized during startup,
you most likely have to add a section for it in your linker command
file. Depending on where your internal RAM is located and where the
external one is: If they are continuous that can be enough.

Best regards

Christian

On 14/06/2019 04:42, Jython wrote:
> we have added 1M ram by FSMC,  and want to manage it by system malloc
> controler
> 
> On Fri, Jun 14, 2019 at 10:26 AM Mr. Andrei Chichak <groups at chichak.ca
> <mailto:groups at chichak.ca>> wrote:
> 
>     A 407 doesn’t normally have external RAM.
> 
>     ARMs have flash at 0 and the 407 has RAM at 0x2000 0000 as you
>     discussed earlier.
> 
>     If you want to work with external flash or RAM, you have to set up
>     the FSMC or FMC to support it, but that isn’t a part of the dev
>     board that Sebastian used for the BSP port.
> 
>     The external memory is going to be very specific to your board.
>     Which board are you working with?
> 
>     A
> 
>     > On 2019-June-13, at 06:23, Christian Mauderer
>     <christian.mauderer at embedded-brains.de
>     <mailto:christian.mauderer at embedded-brains.de>> wrote:
>     >
>     > On 05/06/2019 02:55, Jython wrote:
>     >> Hello!
>     >>
>     >>     2. In the normal (non-debugging) case, the linker script still
>     >>        places the
>     >>
>     >>    .text section near zero, but places the start of the .data and
>     .bss
>     >>    sections at the start location of the MPC555's internal RAM. The
>     >>    system startup code then configures the external RAM just
>     after the
>     >>    internal RAM in memory, forming one large block from the two RAM
>     >>    devices.
>     >>
>     >> from https://devel.rtems.org/wiki/TBR/BSP/Ss555
>     >>
>     >> but i dont know how to configure the external RAM just after the
>     >> internal RAM in memory?
>     >> hope you could give me some guide!
>     >> 
>     >>
>     >
>     > Hello Jython,
>     >
>     > the documentation you linked is for an MPC. But your subject line
>     > mentions an STM32. What controller / BSP are you using?
>     >
>     > Best regards
>     >
>     > Christian Mauderer
>     > --
>     > --------------------------------------------
>     > embedded brains GmbH
>     > Herr Christian Mauderer
>     > Dornierstr. 4
>     > D-82178 Puchheim
>     > Germany
>     > email: christian.mauderer at embedded-brains.de
>     <mailto:christian.mauderer at embedded-brains.de>
>     > Phone: +49-89-18 94 741 - 18
>     > Fax:   +49-89-18 94 741 - 08
>     > PGP: Public key available on request.
>     >
>     > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>     > _______________________________________________
>     > users mailing list
>     > users at rtems.org <mailto:users at rtems.org>
>     > http://lists.rtems.org/mailman/listinfo/users
> 
> 
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
> 

-- 
--------------------------------------------
embedded brains GmbH
Herr Christian Mauderer
Dornierstr. 4
D-82178 Puchheim
Germany
email: christian.mauderer at embedded-brains.de
Phone: +49-89-18 94 741 - 18
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list