Expand sysram to 42K with sdk5.0.4

4 posts / 0 new
Last post
zuma
Offline
Last seen:1 month 2 weeks ago
加入:2016-01-13 09:35
Expand sysram to 42K with sdk5.0.4

Hi , Dialog Team
我有一些问题扩大sysram 42K (case 7) with sdk5.0.4, the scatter file works well in sdk5.0.3.
I just copy the scatter file to sdk5.0.4, and follow the guide(DA14580 Memory Usage.pptx) to edit my project.

in detail, in function SystemInit ()
1. Change the SetBits32(GP_CONTROL_REG, EM_MAP, 23); to SetBits32(GP_CONTROL_REG, EM_MAP, 7);
2. From for (i = 0xBFF; i >= 0; i--) *(volatile unsigned *)p_retmem++ = 0; To for (i = 0x7FF; i >= 0; i--) *(volatile unsigned *)p_retmem++ = 0;

then i compiled the project and downloaded firmware, but it not work, i can not find my device which doesn't advertise.
The attachment is my scatter file. Can you give me some suggestion? Thanks.

Attachment:
Device:
MT_dialog
Offline
Last seen:3 months 4 days ago
Staff
加入:2015-06-08 11:34
Hi zuma,

Hi zuma,

Since this scatterfile is working on the 5.0.3 and links on the 5.0.4 i would suggest to check where exactly the application stalls and fails to advertise.

Thanks MT_dialog

zuma
Offline
Last seen:1 month 2 weeks ago
加入:2016-01-13 09:35
Hi, MT_dialog

Hi, MT_dialog

Thanks for your reply. But i just use the sdk5.0.4 prox_reporter project without any change. This project work well after i change to use primary scatter file and comment modified.

MT_dialog
Offline
Last seen:3 months 4 days ago
Staff
加入:2015-06-08 11:34
Hi zuma,

Hi zuma,

Can you please upload the scatter file that you are using (the actual .sct file) in order to test it, since i am not able to copy the pdf properly to a text file and use it.

Thanks MT_dialog