<div dir="ltr">STM32:
<div> 112KB at 2000 0000</div><div> 16KB at 2001 C000</div><div><br></div><div>external sram : 1MB at 0x68000000</div><div><br></div><div> does MEMORY layout support RAM2?<br></div>
</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 14, 2019 at 10:13 PM Christian Mauderer <<a href="mailto:christian.mauderer@embedded-brains.de">christian.mauderer@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If you have already added the chip and it is initialized during startup,<br>
you most likely have to add a section for it in your linker command<br>
file. Depending on where your internal RAM is located and where the<br>
external one is: If they are continuous that can be enough.<br>
<br>
Best regards<br>
<br>
Christian<br>
<br>
On 14/06/2019 04:42, Jython wrote:<br>
> we have added 1M ram by FSMC, and want to manage it by system malloc<br>
> controler<br>
> <br>
> On Fri, Jun 14, 2019 at 10:26 AM Mr. Andrei Chichak <<a href="mailto:groups@chichak.ca" target="_blank">groups@chichak.ca</a><br>
> <mailto:<a href="mailto:groups@chichak.ca" target="_blank">groups@chichak.ca</a>>> wrote:<br>
> <br>
> A 407 doesn’t normally have external RAM.<br>
> <br>
> ARMs have flash at 0 and the 407 has RAM at 0x2000 0000 as you<br>
> discussed earlier.<br>
> <br>
> If you want to work with external flash or RAM, you have to set up<br>
> the FSMC or FMC to support it, but that isn’t a part of the dev<br>
> board that Sebastian used for the BSP port.<br>
> <br>
> The external memory is going to be very specific to your board.<br>
> Which board are you working with?<br>
> <br>
> A<br>
> <br>
> > On 2019-June-13, at 06:23, Christian Mauderer<br>
> <<a href="mailto:christian.mauderer@embedded-brains.de" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" target="_blank">christian.mauderer@embedded-brains.de</a>>> wrote:<br>
> ><br>
> > On 05/06/2019 02:55, Jython wrote:<br>
> >> Hello!<br>
> >><br>
> >> 2. In the normal (non-debugging) case, the linker script still<br>
> >> places the<br>
> >><br>
> >> .text section near zero, but places the start of the .data and<br>
> .bss<br>
> >> sections at the start location of the MPC555's internal RAM. The<br>
> >> system startup code then configures the external RAM just<br>
> after the<br>
> >> internal RAM in memory, forming one large block from the two RAM<br>
> >> devices.<br>
> >><br>
> >> from <a href="https://devel.rtems.org/wiki/TBR/BSP/Ss555" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/TBR/BSP/Ss555</a><br>
> >><br>
> >> but i dont know how to configure the external RAM just after the<br>
> >> internal RAM in memory?<br>
> >> hope you could give me some guide!<br>
> >> <br>
> >><br>
> ><br>
> > Hello Jython,<br>
> ><br>
> > the documentation you linked is for an MPC. But your subject line<br>
> > mentions an STM32. What controller / BSP are you using?<br>
> ><br>
> > Best regards<br>
> ><br>
> > Christian Mauderer<br>
> > --<br>
> > --------------------------------------------<br>
> > embedded brains GmbH<br>
> > Herr Christian Mauderer<br>
> > Dornierstr. 4<br>
> > D-82178 Puchheim<br>
> > Germany<br>
> > email: <a href="mailto:christian.mauderer@embedded-brains.de" target="_blank">christian.mauderer@embedded-brains.de</a><br>
> <mailto:<a href="mailto:christian.mauderer@embedded-brains.de" target="_blank">christian.mauderer@embedded-brains.de</a>><br>
> > Phone: +49-89-18 94 741 - 18<br>
> > Fax: +49-89-18 94 741 - 08<br>
> > PGP: Public key available on request.<br>
> ><br>
> > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
> > _______________________________________________<br>
> > users mailing list<br>
> > <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a> <mailto:<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a>><br>
> > <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
> <br>
> <br>
> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
> <br>
<br>
-- <br>
--------------------------------------------<br>
embedded brains GmbH<br>
Herr Christian Mauderer<br>
Dornierstr. 4<br>
D-82178 Puchheim<br>
Germany<br>
email: <a href="mailto:christian.mauderer@embedded-brains.de" target="_blank">christian.mauderer@embedded-brains.de</a><br>
Phone: +49-89-18 94 741 - 18<br>
Fax: +49-89-18 94 741 - 08<br>
PGP: Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
</blockquote></div>