SYSRAM和RET RAM地图在深睡眠中?

8 posts / 0 new
最后一篇
kurbylee.
离线
最后一次露面:3年5个月前
加入:2014-11-05 09:10
SYSRAM和RET RAM地图在深睡眠中?

HI,dialog
In url:http://support.dialog-semicondiondiondum/faq/how-many-power-modes-are-sup ...
您可以找到以下单词:在DeadSleep模式下,42KB片上系统RAM和部分保持RAM均已关闭,以进一步降低功耗。唤醒后,ARM需要将程序代码恢复到系统RAM之前继续代码执行。
现在,我对此有一些问题:
1>部分保留RAM关闭:将关闭保留RAM的第一个地址和最后地址是什么?
2>如果我将壳体23更改为案例1(EM尺寸2 KB,Sysram尺寸48 kB),则意味着Lagre保留RAM将始终供电的情况1?
3>我注意到,如果重新验收_descript_buf为0,则位于80000〜82000中的Descript_Buf,
和Descript_Buf位于82000〜83000,如果Reinit_descript_Buf是1,似乎82000〜83000
将在深度睡眠中断电。如果是对的情况,是案例23和案例7之间还有其他差异,除了地址范围(23:80000〜83000 + 80000000〜80009800案例7:80000〜82000 + 80000000〜8000A800)
4>更一般地,我如何完成此表(在深度睡眠模式下)
=============================== em ==================EM ON ================= EM OFF
0: EM size 0 kB, SysRAM size 42 kB=====X ====================X ====================X
1:EM尺寸2 KB,SYSRAM尺寸48 KB ===== 80000〜807FF =============================?
2:EM尺寸3 KB,SYSRAM尺寸47 KB
3:EM尺寸4 KB,Sysram尺寸46 kB
4: EM size 5 kB, SysRAM size 45 kB
5:EM尺寸6 KB,SYSRAM尺寸44 KB
6:EM尺寸7 KB,Sysram尺寸43 KB
7:EM尺寸8 KB,SYSRAM尺寸42 KB ==== 80000〜82000 ===========?==================?
8:保留
9: EM size 4 kB, SysRAM size 40 kB
10:EM尺寸为5 KB,SYSRAM尺寸40 KB
11:EM尺寸6 KB,SYSRAM尺寸40 KB
12: EM size 7 kB, SysRAM size 40 kB
13:EM尺寸8 KB,SYSRAM尺寸40 KB
14:EM尺寸9 KB,Sysram尺寸40 KB
15: EM size 10 kB, SysRAM size 40 kB
16:保留
17:EM尺寸6 KB,SYSRAM尺寸38 KB
18:EM尺寸7 KB,SYSRAM尺寸38 KB
19:EM尺寸8 KB,SYSRAM尺寸38 KB
20:EM尺寸9 KB,Sysram尺寸38 KB
21:EM尺寸10 KB,SYSRAM尺寸38 KB
22:EM尺寸11 KB,Sysram尺寸38 KB
23:EM尺寸12 kB,Sysram尺寸38 KB

设备:
mt_dialog.
离线
最后一次露面:4周1日前
职员
加入:2015-06-08 11:34
嗨Kurbylee,

嗨Kurbylee,

1>您可以根据您确定4个保留RAM将停留哪一个,并且在睡眠期间将关闭电源,它不依赖于您将使用的情况。何时睡眠时,所有保留RAM都保留供电。EM_MAP设置仅控制内存映射配置和地址解码。

2>从情况1改变到案例23是仅在交换存储器所在的情况下进行差异,并且不在将保留有多少保留RAM中。睡眠期间的电源设置由PMU_CTRL_REG [RETENT_MODE]控制,因此有人可以控制保留单元的哪些部分将被供电。

3> In case23 the addresses 0x80000 ~ 820000 is the retention ram meaning that the exchanged memory is not going to be reinitialized since that data are retained, the addresses 0x820000-0x830000 is the sysram and when in deep sleep the sysram is off so the data needs to be reinitialized.

谢谢mt_dialog.

kurbylee.
离线
最后一次露面:3年5个月前
加入:2014-11-05 09:10
Hi,MT_dialog

Hi,MT_dialog
谢谢你的回复。但是我仍然与这些公羊混淆(保留RAM,保留RAM,系统RAM,EM_RAM)。
好的,我可以从表37的描述中知道:PMU_CTRL_REG(0x50000010)有4个保留RAM,但埃弗里保留RAM是多少?
可以是2k,总计8k(4 * 2k),但如何控制这些RAM在3(2:EM尺寸3 KB,Sysram Size 47 KB)中.I猜测,这是差异的概念,所以仍有8K逆行和42K在3.Howerver的情况下,我在数据表3.1的第​​145页中找到了这些单词:(表282:DC特性)
Typical boost-applica-tion in extended-sleep mode with 42 kB (Sys-RAM) and 1 kB (RetRAM)
Now,my question is how to get 1K RetRAM powered on if every one is 2K?

mt_dialog.
离线
最后一次露面:4周1日前
职员
加入:2015-06-08 11:34
嗨Kurbylee,

嗨Kurbylee,

RET。Ram4的尺寸为1KB。您可以在数据表上查看第3页的框图中的580保留RAM的大小。正如我在我以前的帖子中提到的那样,EM映射的选择不会影响将保持或使用的RET RAM的数量。您可以通过寄存器PMU_CTRL_REG [RETETINE_MODE]来关闭或电源电源。但是,只有只有ROM代码需要大约2K的保留区域,您就不能只有1K的保留RAM激活。数据表中提到的内容仅适用于测量,不可能对现实生活应用。雷竞技安卓下载

谢谢mt_dialog.

kurbylee.
离线
最后一次露面:3年5个月前
加入:2014-11-05 09:10
问题:

问题:
1>In bootloader scatter file,use case 7,we can find that load address = execution address=0x00000000;
----在DA14580_COMMON散射文件中,使用案例23,我们可以找到加载地址=执行地址= 0x20000000;
问:为什么要使用不同的地址基础?

th!

mt_dialog.
离线
最后一次露面:4周1日前
职员
加入:2015-06-08 11:34
嗨Kurbylee,

嗨Kurbylee,

There is no particular reason that the secondary bootloader is located in address 0x0000 it can be also located in address 0x20000000.

谢谢mt_dialog.

gayan_gamage
离线
最后一次露面:4 years 8 months ago
加入:2016-04-28 21:23
嗨,有可能吗?

嗨,有可能吗?control what goes in to the ram after wake up from sleep. For example, I was wondering whether the SUOTA module could be not loaded depending on whether the advertising is non connectable. It will have to be loaded when the advertising is changed to connectable undirected

mt_dialog.
离线
最后一次露面:4周1日前
职员
加入:2015-06-08 11:34
嗨gayan_gamage,

嗨gayan_gamage,

设备,在延长睡眠不复制the OTP's content, since the sysram is kept powered, there is no mirroring in extended sleep mode. In deep sleep the whole memory is copied into the sysram after each wake up and there is no possibillity to control this. An idea about loading different fw (this requires a reset and not just wake up from sleep) to the device would be to modify the secondary bootloader and let the him to decide (by reading a specified address in the flash) which binary should be loaded. The one binary should have your project and the other binary should have a simple project with only the SUOTA profile. So when triggering the connectable mode, set the specified address in the flash, that indicates that the device has switched operation (non-connectable to connectable), and reset the device. After reset the secondary bootloader will execute and will read that variable that you have set and load the appropriate image.

谢谢mt_dialog.