2024-11-30 03:17 AM
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 solution
Solved! Go to Solution.
2024-11-30 07:20 AM
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)
2024-11-30 06:38 AM
Examine the map file (aka "linker listing") to see what's using all the memory?
2024-11-30 07:20 AM
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)
2024-12-12 02:18 AM
Is my scatter file setting is correct for stm32h747
2024-12-12 03:19 AM
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