<?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>Troubleshooting nrf9160 - BUS FAULT - MQTT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87280/troubleshooting-nrf9160---bus-fault---mqtt</link><description>Hello, 
 
 I&amp;#39;m having some issues troubleshooting, my knowledge is limited on how to trace down where the error occurs. 
 Se logs below -&amp;gt; 
 
 
 
 Any tips on how to find out where is error occurs? 
 Regards, David</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Apr 2022 10:45:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87280/troubleshooting-nrf9160---bus-fault---mqtt" /><item><title>RE: Troubleshooting nrf9160 - BUS FAULT - MQTT</title><link>https://devzone.nordicsemi.com/thread/364907?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 10:45:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10110397-6217-4a57-bad4-1ad609903194</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;You could do a reverse lookup of the PC(Program Counter) and LR(Link Register). This should tell you where in the code the error comes from. Here is one way to look up:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;For example open Toolchain Manager and open command prompt:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1650969380308v1.png" alt=" " /&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Navigate to your project folder.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run this command: &lt;/p&gt;
&lt;p&gt;&lt;code&gt;arm-none-eabi-addr2line -e build/zephyr/zephyr.elf 0xFAULTING_ADDRESS&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;where you replace&amp;nbsp;&lt;code&gt;0xFAULTING_ADDRESS&lt;/code&gt; with &lt;code&gt;0x353a2&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Run the same command again using LR = &lt;code&gt;0x000292e9.&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Please let us know how it goes.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>