<?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[ram中flsdrv的使用]]></title><description><![CDATA[<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1422/5eae27f9-86b9-44bc-a3d9-e646ce405723.png" alt="352bad08-6f29-4284-8738-24a7370d1e83-image.png" class=" img-fluid img-markdown" /><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1422/11c0af8a-8950-4a1f-a943-bf950bbda43d.png" alt="5e8a7068-22b8-44f2-bdae-6d58fb718f7a-image.png" class=" img-fluid img-markdown" />  如图所示我把官方demo中的flsdrv通过上位机刷写到ram的指定区域之后，测试时发现调用写函数会直接进入故障中断，这是什么原因呢，，我工程本身具有fls驱动，可以正常使用，想移植到ram区域，本身的驱动还没有删除，和这个有关吗</p>
]]></description><link>https://forum.ytmicro.com/topic/2275/ram中flsdrv的使用</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 22:43:16 GMT</lastBuildDate><atom:link href="https://forum.ytmicro.com/topic/2275.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Oct 2026 06:46:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ram中flsdrv的使用 on Thu, 08 Oct 2026 08:20:32 GMT]]></title><description><![CDATA[<p dir="auto">找到原因了，这边fls传参中的地址，为什么不是我配置好的偏移地址呢，我想擦写0x14000就需要传入0x14000，按照我的配置来看应该传入0才对啊，难道是调用ram的fls_init不会初始化我自己的fls相关配置吗</p>
<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1422/f7df9745-313d-4b22-9dac-d2d18be7769b.png" alt="image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ytmicro.com/post/9812</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9812</guid><dc:creator><![CDATA[zhaodong1]]></dc:creator><pubDate>Thu, 08 Oct 2026 08:20:32 GMT</pubDate></item><item><title><![CDATA[Reply to ram中flsdrv的使用 on Thu, 08 Oct 2026 07:52:19 GMT]]></title><description><![CDATA[<p dir="auto">flash应该先擦除再写入</p>
]]></description><link>https://forum.ytmicro.com/post/9811</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9811</guid><dc:creator><![CDATA[yangke]]></dc:creator><pubDate>Thu, 08 Oct 2026 07:52:19 GMT</pubDate></item><item><title><![CDATA[Reply to ram中flsdrv的使用 on Thu, 08 Oct 2026 07:39:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/1026">yangke</a> 这样不会进故障中断了，但是init执行完是STATUS_SUCCESS，写函数执行完是STATUS_ERROR，这个怎么追踪函数返回值报错原因呢，传参按照我的fls配置来看，地址0代表实际flash地址0x14000，flash_flag_write为八个1的数组<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1422/66ee4bef-6e77-4f1c-b600-728fc6607770.png" alt="fb6b6d6c-1fc1-453e-ab1d-254bccd16625-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ytmicro.com/post/9808</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9808</guid><dc:creator><![CDATA[zhaodong1]]></dc:creator><pubDate>Thu, 08 Oct 2026 07:39:56 GMT</pubDate></item><item><title><![CDATA[Reply to ram中flsdrv的使用 on Thu, 08 Oct 2026 07:20:04 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1026/714c972b-437d-4802-8219-736be652b77d.png" alt="image.png" class=" img-fluid img-markdown" />可以试试在调用flsdrv之前先进入特权模式并关掉中断，执行完flsdrv之后退出特权模式再开启中断</p>
]]></description><link>https://forum.ytmicro.com/post/9805</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9805</guid><dc:creator><![CDATA[yangke]]></dc:creator><pubDate>Thu, 08 Oct 2026 07:20:04 GMT</pubDate></item><item><title><![CDATA[Reply to ram中flsdrv的使用 on Thu, 08 Oct 2026 07:04:55 GMT]]></title><description><![CDATA[<p dir="auto">检查下MPU是不是开了，没开的话再检查下代码下载区域是不是跟bss重叠了</p>
]]></description><link>https://forum.ytmicro.com/post/9804</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9804</guid><dc:creator><![CDATA[swust]]></dc:creator><pubDate>Thu, 08 Oct 2026 07:04:55 GMT</pubDate></item></channel></rss>