Change Ram Partiton

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MichaelG
Employee
Employee
Hello

I need a big Data array in my Programm and wanted to know if it causes any Problems if I change the Ram Partition to grow DSRAM_1_system.

Does this change anything? or only stops the linker complaining and it will crash anyway?

	DSRAM_1_system(!RX) : ORIGIN = 0x20000000, LENGTH = 0x10000
DSRAM_2_comm(!RX) : ORIGIN = 0x30000000, LENGTH = 0x8000


to

	DSRAM_1_system(!RX) : ORIGIN = 0x20000000, LENGTH = 0x14000
DSRAM_2_comm(!RX) : ORIGIN = 0x30000000, LENGTH = 0x4000


best regards,
Michael
0 Likes
3 Replies
Not applicable
Hi Michael,

You should not make this RAM partition by growing DSRAM_1_system as there is no physical memory address being mapped from 0x20010000 to 0x2FFFFFFF.
The linker will stop complaining. But any access starting from 0x20010000 will lead to a crash.

Best regards,
Sophia
0 Likes
MichaelG
Employee
Employee
This means that there is no chance to change ram partition?

best regards,
0 Likes
Not applicable
Hi Michael,

The answer is "Yes".

Best regards,
Sophia
0 Likes