<?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>nRF 52840-DK fails execution with undefined instruction (CFSR.UNDEFINSTR)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122738/nrf-52840-dk-fails-execution-with-undefined-instruction-cfsr-undefinstr</link><description>I got a 52840-DK a couple of days ago. I installed the latest IAR Embedded Workbench (9.70.1); also downloaded the latest Nordic SDK,and then started building and executing some of the included examples. I started with &amp;quot;blinky&amp;quot;,then one from ble, and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Jul 2025 09:24:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122738/nrf-52840-dk-fails-execution-with-undefined-instruction-cfsr-undefinstr" /><item><title>RE: nRF 52840-DK fails execution with undefined instruction (CFSR.UNDEFINSTR)</title><link>https://devzone.nordicsemi.com/thread/541903?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 09:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83dfb960-01a2-4936-8061-fe2874b7bf31</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Glad to hear that you got it working, and thank you for sharing your solution with the rest of the community.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF 52840-DK fails execution with undefined instruction (CFSR.UNDEFINSTR)</title><link>https://devzone.nordicsemi.com/thread/541841?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2025 18:58:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04b4fbeb-87a2-4a34-99eb-1e6211509a9d</guid><dc:creator>szamos</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I figured that Win 8.1 not being supported may be in the official reply, and I was proven right.&amp;nbsp;&amp;nbsp; ;-)&lt;/p&gt;
&lt;p&gt;In any case, last night I uninstalled and then reinstalled EWB, and it is working fine now. &amp;nbsp; As for what may have caused it -- I installed Segger J-Flash *after* EWB (for DevAcademy), and because it detected that EWB is using an older version of the J-Link driver it updated it.&amp;nbsp; I haven&amp;#39;t verified it so I can&amp;#39;t be 100% certain, but I think that there is a better than 50% chance that it was the J-Flash install and update that broke EWB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF 52840-DK fails execution with undefined instruction (CFSR.UNDEFINSTR)</title><link>https://devzone.nordicsemi.com/thread/541642?ContentTypeID=1</link><pubDate>Mon, 07 Jul 2025 13:46:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c22d97cf-5a19-48a3-be7b-8327c99ec772</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I see you&amp;#39;re working on Windows 8.1. Support for that Windows OS version ended on January 10th, 2023 so we can&amp;#39;t expect this to run on your side. I&amp;#39;d strongly suggest upgrading to Windows 10 or 11 and then consider moving to the nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF 52840-DK fails execution with undefined instruction (CFSR.UNDEFINSTR)</title><link>https://devzone.nordicsemi.com/thread/541512?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 19:56:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee780e69-b804-4cfd-90e0-d5623b5080ed</guid><dc:creator>szamos</dc:creator><description>&lt;p&gt;After some poking around in EWB I found where I can set JTAG speed: Project -&amp;gt; Options... -&amp;gt; J-Link/J0-Trace.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1751658155065v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried many different manual values between 100 kHz and 1250 kHz to no avail.&amp;nbsp; The only thing changed that I no longer get the &amp;quot;&lt;span style="color:rgba(0, 0, 255, 1);font-family:courier new, courier;font-size:inherit;"&gt;Auto speed detection...&amp;quot; &lt;/span&gt;message, which is fully expected.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;p&gt;1. What exactly is RAMCode, and where is it located?&amp;nbsp; I would tend to think that some corrupted SW/FW is much more likely than a HW issue, but since I have this board for less than a week, I obviously do not know enough about the board.&lt;/p&gt;
&lt;p&gt;2.Is it possible to verify the state of the flash from the nRF_USB connector?&amp;nbsp;&amp;nbsp; If yes, how?&lt;/p&gt;
&lt;p&gt;3. Is it possible to use and program the board through the nRF_USB connector?&amp;nbsp;&amp;nbsp; If yes, how?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF 52840-DK fails execution with undefined instruction (CFSR.UNDEFINSTR)</title><link>https://devzone.nordicsemi.com/thread/541506?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 17:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23be6457-9faf-4078-9013-d376d01eb888</guid><dc:creator>szamos</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried installing the NCS SDK using the DevAcademy instructions and it failed. That was before the flash erase issue with EWB.&amp;nbsp; Will post that later.&lt;/p&gt;
&lt;p&gt;I did search for issue I&amp;#39;m having and at least one poster had the exact same issue, but using a different toolchain, though underneath, EWB may be using the same J-Flash driver.&amp;nbsp; In the case of the other poster It was a hardware issue because a different board worked, but I do not have another board to try, and I do know for the fact that it worked initially.&lt;/p&gt;
&lt;p&gt;The previous issue:&amp;nbsp; &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/112551/j-flash-failed-to-erase-chip"&gt;devzone.nordicsemi.com/.../j-flash-failed-to-erase-chip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF 52840-DK fails execution with undefined instruction (CFSR.UNDEFINSTR)</title><link>https://devzone.nordicsemi.com/thread/541430?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 09:50:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58733b04-9194-46f0-ae79-a822371f1c62</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Ditch the old SDK software, start over in VS code with the NCS SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>