<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Why the keil reset to DAbt_Handler?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/24405/why-the-keil-reset-to-dabt_handler</link><description> 
Hello,all: I want to port the FatFs written by ELM Chan to keil
for my AT91SAM7X demo board,but when I use f_open to open a file,it
reset to 
DAbt_Handler B DAbt_Handler 

 
the cause for it is the code in f_open() 
#define LD_WORD(ptr) (WORD)(*(WORD</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Why the keil reset to DAbt_Handler?</title><link>https://community.arm.com/thread/89297?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2008 23:03:00 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d5ea63a3-20bc-4795-b3ed-7aeeca3de28a</guid><dc:creator>Catcus Blip</dc:creator><description>&lt;p&gt;&lt;p&gt;
are you sure BPB_BytsPerSec&amp;#39;s value is valid? a data abort
exception is raised when an instruction attempts&lt;br /&gt;
to access data memory without the correct access permissions.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why the keil reset to DAbt_Handler?</title><link>https://community.arm.com/thread/52559?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2008 19:27:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:590dd43e-7a70-4cd1-8295-916f8f86d9da</guid><dc:creator>CGHA CHRIS</dc:creator><description>&lt;p&gt;&lt;p&gt;
In fopen(),the reset happened in this code:&lt;br /&gt;
if (fmt || LD_WORD(&amp;amp;fs-&amp;gt;win[BPB_BytsPerSec]) != SS(fs))&lt;/p&gt;

&lt;p&gt;
and the LD_WORD micro is noted in the message above.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>