<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[B1MC03中,SDK1.3.1与1.4.0遇到的boot跳转标志位问题]]></title><description><![CDATA[<p dir="auto">目前我这边做app跳转到boot，使用论坛的1.3.1的SDK的刷写demo，中的__attribute__((section(".fbl_bss"))) volatile uint32_t KeepInBootVar;<br />
能实现跳转标志位在RAM中固定区域不被清除，但是把这个icf链接表内容移植到SDK1.4.0中，每次app置1，在boot中调试就变成0x5A5A5A5A了。<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1053/47f5f82d-34f4-46d9-8544-95fcce1eba66.png" alt="4a0b9959-3ab4-4582-abb4-5db1e07176fd-image.png" class=" img-fluid img-markdown" /><br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1053/8573d7c9-28d1-44d8-8c4b-9116bd6a38b7.png" alt="494007eb-6472-4894-ae27-710ad4649d73-image.png" class=" img-fluid img-markdown" /><br />
我对照了icf链接表内容，1.4.0的boot是完全按照论坛1.3.1的demo移植的</p>
]]></description><link>https://forum.ytmicro.com/topic/2177/b1mc03中-sdk1-3-1与1-4-0遇到的boot跳转标志位问题</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 12:58:43 GMT</lastBuildDate><atom:link href="https://forum.ytmicro.com/topic/2177.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Aug 2026 01:57:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to B1MC03中,SDK1.3.1与1.4.0遇到的boot跳转标志位问题 on Wed, 12 Aug 2026 03:08:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/19">YQH</a> 在 <a href="/post/9408">B1MC03中,SDK1.3.1与1.4.0遇到的boot跳转标志位问题</a> 中说：</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/1053">z123456111</a><br />
APP和BOOT共享变量的保持需要通过链接文件和RamInit0函数共同保证，你这个看起来是这个数据段被ECC初始化写过了。<br />
1.检查一下RamInit0是否有下图操作（如果是手动移植代码可能会遗漏）<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/19/af9e2ea2-15c9-4603-b3a0-102291c958b7.png" alt="d522950c-d58a-4d48-8b59-df2820a83de7-0cac737599736d0820ca130a4937cd20.png" class=" img-fluid img-markdown" /><br />
2.检查下main函数中是否有清除POR上电复位标志。<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/19/ed061d31-6089-484a-ad2d-b542b72bada9.png" alt="41225059-922a-4774-bed0-8e8e36284e30-e9ecc1a51da51cea158a0cbfed785256.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">总的来说SDK版本的迭代和链接文件的修改都不要用手动移植的方式，一定要用工具去配置生成，手动移植把握不住，容易有遗漏</p>
</blockquote>
<p dir="auto">嗯嗯·，谢谢，找到了，RamInit0是没有对刷写标志位进行判定的，我这边加了过后就好了</p>
]]></description><link>https://forum.ytmicro.com/post/9409</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9409</guid><dc:creator><![CDATA[z123456111]]></dc:creator><pubDate>Wed, 12 Aug 2026 03:08:37 GMT</pubDate></item><item><title><![CDATA[Reply to B1MC03中,SDK1.3.1与1.4.0遇到的boot跳转标志位问题 on Wed, 12 Aug 2026 02:53:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/1053">z123456111</a><br />
APP和BOOT共享变量的保持需要通过链接文件和RamInit0函数共同保证，你这个看起来是这个数据段被ECC初始化写过了。<br />
1.检查一下RamInit0是否有下图操作（如果是手动移植代码可能会遗漏）<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/19/af9e2ea2-15c9-4603-b3a0-102291c958b7.png" alt="d522950c-d58a-4d48-8b59-df2820a83de7-0cac737599736d0820ca130a4937cd20.png" class=" img-fluid img-markdown" /><br />
2.检查下main函数中是否有清除POR上电复位标志。<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/19/ed061d31-6089-484a-ad2d-b542b72bada9.png" alt="41225059-922a-4774-bed0-8e8e36284e30-e9ecc1a51da51cea158a0cbfed785256.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">总的来说SDK版本的迭代和链接文件的修改都不要用手动移植的方式，一定要用工具去配置生成，手动移植把握不住，容易有遗漏</p>
]]></description><link>https://forum.ytmicro.com/post/9408</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9408</guid><dc:creator><![CDATA[YQH]]></dc:creator><pubDate>Wed, 12 Aug 2026 02:53:46 GMT</pubDate></item></channel></rss>