cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with internal sram

ngtbinh
Associate II
Posted on May 27, 2016 at 06:12

Hello,

I'm just starting with cortex-m3 and with gnu arm toolchain

Myquestion may be stupid

Because the internal SRAM in the Cortex-m3 is 64KB max,when i build project is keil ver 4 it can not compiler. My project is declare more variable array so it not enough when use internal sram

How to config for keil will use external sram when build project ?

Many thanks

4 REPLIES 4
Posted on May 27, 2016 at 10:48

As previously established the CM3 is not limited to 64KB of IRAM. In Keil you can define memory regions available in the Target options pane.

You will need to add code into SystemInit to configure your external memory pins and FSMC settings.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ngtbinh
Associate II
Posted on May 30, 2016 at 03:20

Thanks clive1,

You can give me document or link for that?

I don't know how to do this

Many thanks

ngtbinh
Associate II
Posted on May 30, 2016 at 04:38

Thanks clive1,

I use STM32F10

You can give me document or link for that?

I don't know how to do this

Many thanks