cancel
Showing results for 
Search instead for 
Did you mean: 

Internal RAM is too full

tobbymathew
Associate II

Hello,

I am using STM32H747 Discovery board in that I am using TFT display using LVGL in code my RAM is taking space upto 250 KB and my code is going in hardfault_handler();

 

Can anyone suggest me the solutionbuild.JPGtarget.JPG

1 ACCEPTED SOLUTION

Accepted Solutions

Why's it Hard Faulting? You're describing memory you don't have?

Are you allocating dynamic memory and ignoring the failure there?

Can you use the SDRAM on the board?

Does 0x20000000 have 0x35000 bytes, or only 0x20000 ?

0x24000000 has 0x80000 (512KB)

0x30000000 has 0x48000 (128+128+32)

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

4 REPLIES 4

Examine the map file (aka "linker listing") to see what's using all the memory?

Why's it Hard Faulting? You're describing memory you don't have?

Are you allocating dynamic memory and ignoring the failure there?

Can you use the SDRAM on the board?

Does 0x20000000 have 0x35000 bytes, or only 0x20000 ?

0x24000000 has 0x80000 (512KB)

0x30000000 has 0x48000 (128+128+32)

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tobbymathew
Associate II

 

Is my scatter file setting is correct for stm32h747

scatter.JPG

Please see this for how to properly post source code and other "formatted" text (scatter files, etc) - not as images:

https://community.st.com/t5/community-guidelines/how-to-insert-source-code/ta-p/693413