<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Could you help me why this memcpy cause hardfault?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45026/could-you-help-me-why-this-memcpy-cause-hardfault</link><description>I added ams service to my project, and I tested with my iphone 7P, seems all goes well. But today I tested with my iphone 5S, sometimes the hardfault exception raise.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Mar 2019 15:03:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45026/could-you-help-me-why-this-memcpy-cause-hardfault" /><item><title>RE: Could you help me why this memcpy cause hardfault?</title><link>https://devzone.nordicsemi.com/thread/177117?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 15:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63aa24a0-e5ce-4433-a768-f9563375aabd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think it would be interesting to&amp;nbsp;compare the input arguments to memcpy when you get the hardfault and when it works.&amp;nbsp;Maybe the size argument is too big, hence causing memcpy to overwrite data outside of&amp;nbsp; &amp;quot;remote_command_list&amp;quot; variable&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>