<?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>Cannot flash Thingy91x</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121211/cannot-flash-thingy91x</link><description>Dear Nordic, 
 I have a Thingy91x. I tried flashing the nRF9151 SoC on the device but ran into error messages. I realized that the nRF53/nRF91 switch was in the nRF53 position. After moving the switch back to the nRF91 position I was able to flash the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 May 2025 18:28:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121211/cannot-flash-thingy91x" /><item><title>RE: Cannot flash Thingy91x</title><link>https://devzone.nordicsemi.com/thread/534719?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 18:28:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0700739a-a7a6-431e-946a-6d34533c27ad</guid><dc:creator>Peter Murphy</dc:creator><description>&lt;p&gt;Hi MJJ,&lt;/p&gt;
&lt;p&gt;Yes, I was able to program the&amp;nbsp;&lt;span&gt;nRF5340 with the&amp;nbsp;connectivity bridge.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Peter&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot flash Thingy91x</title><link>https://devzone.nordicsemi.com/thread/534713?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 16:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:055b04ac-830d-4df4-a03e-5b96efc1dcef</guid><dc:creator>MJJ</dc:creator><description>&lt;p&gt;The output shows network and application cores as recovered so are you now able to program the nRF5340 with the connectivity bridge?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot flash Thingy91x</title><link>https://devzone.nordicsemi.com/thread/534368?ContentTypeID=1</link><pubDate>Thu, 08 May 2025 04:36:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51723783-6c02-4d39-a60b-89fcaa4ddef2</guid><dc:creator>Peter Murphy</dc:creator><description>&lt;p&gt;Hi MJJ,&lt;/p&gt;
&lt;p&gt;Here are the results of running the commands:&lt;/p&gt;
&lt;p&gt;peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfjprog --version&lt;/strong&gt;&lt;br /&gt;nrfjprog version: 10.24.2 external&lt;br /&gt;JLinkARM.dll version: 8.1&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfjprog --deviceversion&lt;/strong&gt;&lt;br /&gt;960042162 - NRF5340_xxAA_REV1&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfjprog --recover -f nrf53&lt;/strong&gt;&lt;br /&gt;Recovering device. This operation might take 30s.&lt;br /&gt;[error] [ Client] - Encountered error -21: Command recover executed for 3 milliseconds with result -21&lt;br /&gt;[error] [ Worker] - Eraseprotect is enabled and readback protection setting is ALL, can&amp;#39;t recover device.&lt;br /&gt;ERROR: Recover failed. Please make sure that the correct device family is given&lt;br /&gt;ERROR: and try again.&lt;br /&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;br /&gt;NOTE: Any generated log error messages will be displayed.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfutil --version&lt;/strong&gt;&lt;br /&gt;nrfutil 8.0.0 (54d8087 2025-01-07)&lt;br /&gt;commit-hash: 54d8087a38b73b6e56942fb1b024b62365f06731&lt;br /&gt;commit-date: 2025-01-07&lt;br /&gt;host: x86_64-unknown-linux-gnu&lt;br /&gt;build-timestamp: 2025-01-07T14:26:42.070728557Z&lt;br /&gt;classification: nrf-external&lt;/p&gt;
&lt;p&gt;peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfutil device recover --core Network&lt;/strong&gt;&lt;br /&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/2714.svg" title="Heavy check mark"&gt;&amp;#x2714;&lt;/span&gt;️ Recovered 960042162&lt;/p&gt;
&lt;p&gt;peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfutil device recover --core Application&lt;/strong&gt;&lt;br /&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/2714.svg" title="Heavy check mark"&gt;&amp;#x2714;&lt;/span&gt;️ Recovered 960042162&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Regards,&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot flash Thingy91x</title><link>https://devzone.nordicsemi.com/thread/534358?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 22:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0149a25-d4e2-47f4-a7e8-25f34a065259</guid><dc:creator>MJJ</dc:creator><description>&lt;p&gt;Does this command work: .\nrfjprog.exe --recover -f nrf53&lt;/p&gt;
&lt;p&gt;If not, can you try:&lt;/p&gt;
&lt;p&gt;nrfutil.exe device recover --core Network&lt;/p&gt;
&lt;p&gt;nrfutil.exe device recover --core Application&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot flash Thingy91x</title><link>https://devzone.nordicsemi.com/thread/534342?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 17:11:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89dcc189-287b-4afc-9955-8789d932110b</guid><dc:creator>Peter Murphy</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;Below are the results of trying to flash the connectivity bridge.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfjprog --version&lt;/strong&gt;&lt;br /&gt;nrfjprog version: 10.24.2 external&lt;br /&gt;JLinkARM.dll version: 8.14&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfjprog --deviceversion&lt;/strong&gt;&lt;br /&gt;960042162 - NRF5340_xxAA_REV1&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfjprog --chiperase --verify --program merged.hex&lt;/strong&gt;&lt;br /&gt;[error] [ Client] - Encountered error -90: Command read_memory_descriptors executed for 0 milliseconds with result -90&lt;br /&gt;[error] [ Worker] - Can&amp;#39;t read memory descriptors, ap-protection is enabled.&lt;br /&gt;[error] [ Client] - Encountered error -90: Command erase_file executed for 88 milliseconds with result -90&lt;br /&gt;[error] [ nRF53] - Failed while erasing device. -90: Access protection is enabled, can&amp;#39;t read block protection state. &lt;br /&gt;[error] [ Worker] - Access protection is enabled, can&amp;#39;t read block protection state.&lt;br /&gt;ERROR: The operation attempted is unavailable due to readback protection in&lt;br /&gt;ERROR: your device. Please use --recover to unlock the device.&lt;br /&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;br /&gt;NOTE: Any generated log error messages will be displayed.&lt;/p&gt;
&lt;p&gt;peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfjprog --chiperase --verify --log --program merged.hex&lt;/strong&gt;&lt;br /&gt;[error] [ Client] - Encountered error -90: Command read_memory_descriptors executed for 0 milliseconds with result -90&lt;br /&gt;[error] [ Worker] - Can&amp;#39;t read memory descriptors, ap-protection is enabled.&lt;br /&gt;[error] [ Client] - Encountered error -90: Command erase_file executed for 63 milliseconds with result -90&lt;br /&gt;[error] [ nRF53] - Failed while erasing device. -90: Access protection is enabled, can&amp;#39;t read block protection state. &lt;br /&gt;[error] [ Worker] - Access protection is enabled, can&amp;#39;t read block protection state.&lt;br /&gt;ERROR: The operation attempted is unavailable due to readback protection in&lt;br /&gt;ERROR: your device. Please use --recover to unlock the device.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot flash Thingy91x</title><link>https://devzone.nordicsemi.com/thread/534115?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 12:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98812f0c-6e2d-4b49-8041-a718b7b5fc85</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]peter@peter-HP-ProBook-450-G3:~$ &lt;strong&gt;nrfjprog --recover -f nrf52&lt;/strong&gt;&lt;br /&gt;Recovering device. This operation might take 30s.&lt;br /&gt;[error] [ Client] - Encountered error -21: Command recover executed for 1 milliseconds with result -21&lt;br /&gt;[error] [ Worker] - Encountered unexpected debug port ID 6, expected 2&lt;br /&gt;ERROR: Recover failed. Please make sure that the correct device family is given&lt;br /&gt;ERROR: and try again.&lt;br /&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;br /&gt;NOTE: Any generated log error messages will be displayed.[/quote]
&lt;p&gt;This might be just a typo, but you are recovering nrf52 instead of nrf53.&lt;br /&gt;If you suspect that your firmware on&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ug_thingy91x/page/UG/thingy91x/hw_description/nrf5340.html"&gt;nrf5340&lt;/a&gt;&amp;nbsp;got overwritten, you could try to re-flash&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/connectivity_bridge/README.html"&gt;connectivity bridge&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>