about cy8c6347 SRAM set of the .ld file

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

cross mob
JeHa_3912621
Level 3
Level 3
25 replies posted 10 replies posted 10 questions asked

cy8c6347  SRAM  288K  byte.  

I  see  the cy8c6xx7_CM4_Dual.ld  

"ram               (rwx)   : ORIGIN = 0x08024000, LENGTH = 0x23800";

0x08024000+0x23800 = 0x08047800

Can  i  set  the length=0x24000?

cy8c6347 的SRAM  范围是288K 字节。 我看.ld文件的配置。 SRAM分配。 给M4的内存并未用完。 长度只配置到0x23800; 如果全部分配的话应该长度是0x24000; 请问为什么会这样配置?  如果我配置到0x24000的长度,我的程序运行是否会有问题?    

0 Likes
1 Solution
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

可以参考ld文件中的相关注释 (对这个问题的解释)-

pastedImage_0.png

View solution in original post

0 Likes
1 Reply
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

可以参考ld文件中的相关注释 (对这个问题的解释)-

pastedImage_0.png

0 Likes