<?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[无法配置寄存器]]></title><description><![CDATA[<p dir="auto">在使用D1-H进行驱动编写时无法配置寄存器。<br />
<img src="/assets/uploads/files/1681635390675-28df405e-175c-4163-bd39-b00741abfed9-image.png" alt="28df405e-175c-4163-bd39-b00741abfed9-image.png" class=" img-responsive img-markdown" width="689" height="837" /><br />
<img src="/assets/uploads/files/1681635406117-50cdcac9-4f3b-49f0-b7e2-3bac1d4a8243-image.png" alt="50cdcac9-4f3b-49f0-b7e2-3bac1d4a8243-image.png" class=" img-responsive img-markdown" width="422" height="256" /></p>
]]></description><link>https://bbs.aw-ol.com/topic/3336/无法配置寄存器</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 06:08:40 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/3336.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Apr 2023 08:57:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 无法配置寄存器 on Mon, 17 Apr 2023 04:45:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/44">@whycan</a> devmem是在哪吒板子的终端输入嘛，然后config_devmem在内核哪里配置。麻烦您教我一下。</p>
]]></description><link>https://bbs.aw-ol.com/post/15129</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/15129</guid><dc:creator><![CDATA[WB15779898961]]></dc:creator><pubDate>Mon, 17 Apr 2023 04:45:01 GMT</pubDate></item><item><title><![CDATA[Reply to 无法配置寄存器 on Sun, 16 Apr 2023 23:52:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/1586">@wb15779898961</a></p>
<p dir="auto">用 <em><strong>devmem</strong></em> 命令先测试，记得kernel配置开启<em><strong>CONFIG_DEVMEM</strong></em>。</p>
]]></description><link>https://bbs.aw-ol.com/post/15117</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/15117</guid><dc:creator><![CDATA[whycan]]></dc:creator><pubDate>Sun, 16 Apr 2023 23:52:28 GMT</pubDate></item><item><title><![CDATA[Reply to 无法配置寄存器 on Sun, 16 Apr 2023 14:12:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/44">@whycan</a> 我的操作方法是，先定义了寄存器的地址，然后在init中用ioremap函数进行物理地址虚拟地址的映射，然后配置寄存器，最后打印出来的值全部是0.完全没有配置上。<br />
<img src="/assets/uploads/files/1681654281910-0e1b7d4d-e40d-48a9-bb3e-d27df5b639d9-image.png" alt="0e1b7d4d-e40d-48a9-bb3e-d27df5b639d9-image.png" class=" img-responsive img-markdown" width="518" height="735" /><br />
<img src="/assets/uploads/files/1681654309859-ea914756-ae1b-4590-927c-7a11926d78d9-image.png" alt="ea914756-ae1b-4590-927c-7a11926d78d9-image.png" class=" img-responsive img-markdown" width="607" height="800" /><br />
<img src="/assets/uploads/files/1681654328583-377a9866-a8bb-4416-ab54-5b08e95a71e8-image.png" alt="377a9866-a8bb-4416-ab54-5b08e95a71e8-image.png" class=" img-responsive img-markdown" width="699" height="242" /></p>
]]></description><link>https://bbs.aw-ol.com/post/15115</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/15115</guid><dc:creator><![CDATA[WB15779898961]]></dc:creator><pubDate>Sun, 16 Apr 2023 14:12:12 GMT</pubDate></item><item><title><![CDATA[Reply to 无法配置寄存器 on Sun, 16 Apr 2023 13:54:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/44">@whycan</a> 我往串口的寄存器里配置，配置不成功，打印出来全是0</p>
]]></description><link>https://bbs.aw-ol.com/post/15114</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/15114</guid><dc:creator><![CDATA[WB15779898961]]></dc:creator><pubDate>Sun, 16 Apr 2023 13:54:09 GMT</pubDate></item><item><title><![CDATA[Reply to 无法配置寄存器 on Sun, 16 Apr 2023 10:20:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/1586">@wb15779898961</a><br />
现在有什么问题呢？</p>
]]></description><link>https://bbs.aw-ol.com/post/15113</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/15113</guid><dc:creator><![CDATA[whycan]]></dc:creator><pubDate>Sun, 16 Apr 2023 10:20:34 GMT</pubDate></item><item><title><![CDATA[Reply to 无法配置寄存器 on Sun, 16 Apr 2023 09:36:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/1586">@wb15779898961</a> #define UART_TIMER (0x0200190c)<br />
#define UART_GPIO  (0x02000034)<br />
#define UART0_BASE (0x02500400)<br />
#define UART0_MCR  (0x02500410)<br />
#define UART0_FCR  (0x02500408)<br />
#define UART0_HALT (0x025004A4)<br />
#define UART0_LCR  (0x0250040C)<br />
#define UART0_DLL  (0x02500400)<br />
#define UART0_DLH  (0x02500404)<br />
#define UART0_USR  (0x0250047C)<br />
#define UART0_THR  (0x02500400)寄存器的地址</p>
]]></description><link>https://bbs.aw-ol.com/post/15112</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/15112</guid><dc:creator><![CDATA[WB15779898961]]></dc:creator><pubDate>Sun, 16 Apr 2023 09:36:53 GMT</pubDate></item></channel></rss>