﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-极品垃圾-文章分类-dsp</title><link>http://www.cppblog.com/bestcln/category/8825.html</link><description>初学VC ,就是把每天所看到的整理到博客，慢慢消化这些内容。见证我的学习之路吧。很多都是转载。</description><language>zh-cn</language><lastBuildDate>Tue, 18 Nov 2008 14:54:03 GMT</lastBuildDate><pubDate>Tue, 18 Nov 2008 14:54:03 GMT</pubDate><ttl>60</ttl><item><title>eallow</title><link>http://www.cppblog.com/bestcln/articles/66776.html</link><dc:creator>极品垃圾</dc:creator><author>极品垃圾</author><pubDate>Wed, 12 Nov 2008 16:23:00 GMT</pubDate><guid>http://www.cppblog.com/bestcln/articles/66776.html</guid><wfw:comment>http://www.cppblog.com/bestcln/comments/66776.html</wfw:comment><comments>http://www.cppblog.com/bestcln/articles/66776.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/bestcln/comments/commentRss/66776.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/bestcln/services/trackbacks/66776.html</trackback:ping><description><![CDATA[<p style="FONT-SIZE: 14pt">TI的DSP为了提高安全性能，将很多关键寄存器作了保护处理。通过状态寄存器1的C15位设置与复位，来决定是否允许DSP指令对关键寄存器进行操作。</p>
<p style="FONT-SIZE: 14pt">这些关键寄存器包括器件仿真寄存器、FLASH寄存器、CSM寄存器、PIE 矢量表、系统控制寄存器、GPIO MUX 寄存器、eCAN 寄存器的一部分。<o:p></o:p></p>
<p style="FONT-SIZE: 14pt">DSP由于在上电复位之后，状态寄存器基本上都是清零，而这样的状态下正是上述特殊寄存器禁止改写的状态。为了能够对这些特殊寄存器进行初始化，所以在对上述特殊寄存器进行改写之前，一定要执行汇编指令asm(&#8220;EALLOW&#8221;)或者宏定义EALLOW来设置状态寄存器1的C6位。在设置完寄存器之后，一定要注意执行汇编指令asm(&#8220;EDIS&#8221;)或者宏定义EDIS来清除状态寄存器1的C6位。<br><o:p><a href="http://www.eepw.com.cn/article/21050.htm">http://www.eepw.com.cn/article/21050.htm</a></o:p></p>
<img src ="http://www.cppblog.com/bestcln/aggbug/66776.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/bestcln/" target="_blank">极品垃圾</a> 2008-11-13 00:23 <a href="http://www.cppblog.com/bestcln/articles/66776.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>