<?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>FOTA to external flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93387/fota-to-external-flash</link><description>Hi there 
 I&amp;#39;m using Asset tracker v2 as a base for my application with AWS, however I wanted the FOTA to download to external flash, as the Asset tracker application is large, and leaves little room for any other application code. 
 I&amp;#39;m able to FOTA</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Nov 2022 09:43:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93387/fota-to-external-flash" /><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/394858?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 09:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d76f3ac-cb87-4a88-8ebe-0ba986918c20</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;Yep, its all working sweet now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the support.&lt;/p&gt;
&lt;p&gt;Marshall&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/394836?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 07:49:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9b15e15-95e6-4192-acf7-ef1804ce1426</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;Thanks Simon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please don&amp;#39;t close it yet, I&amp;#39;m seeing some weirdness on subsequent reboots. But I haven&amp;#39;t had a chance to go through it yet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Marshall&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/394833?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 07:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:494d2f40-974a-4b5d-baf8-495bd1f5e5bd</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Glad that it worked Marshall! I&amp;#39;m very sorry it took so long to get to the bottom of this though, let me know if you&amp;#39;re in need of further assistance or if we can close this case.&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: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/394802?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 19:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea6c7f81-0b3b-4ae7-adab-bfc9f5364151</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;Thanks Simon&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That solution works!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For anyone else browsing the same issue here is the link to the other post which tells you the exact changes to make in two lines.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91180/nrf9160dk-fota-using-external-flash-ncs-2-0-2/394765"&gt;View online&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Marshall&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/394694?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 13:05:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b96a22c-5308-4294-9e65-273f62ea71c1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Marshall&lt;/p&gt;
&lt;p&gt;So, after some investigation and multiple discussions internally, there appears to be some big problems with external flash usage for the nRF91 and nRF53 series in NCS 2.1.x, and I&amp;#39;m very sorry I wasn&amp;#39;t aware of this before now. It is indeed related to the case you linked to and we are working on a solution for the next release of NCS to fix this. For now, I think the fix will be to roll back to NCS 2.0.x to use external flash in applications. Unfortunately we don&amp;#39;t have a project doing this already for the asset tracker v2 application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;UPDATE:&amp;nbsp;&lt;/strong&gt;I was just suggested a fix for using the external flash in your nRF91 application.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You need to set the&amp;nbsp;&lt;strong&gt;CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y&amp;nbsp;&lt;/strong&gt;in your projects config file (described &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#external-flash-memory-partitions"&gt;here&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;You need to add this fix to your NCS directory:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/9169/files#diff-3618c46f4d0a530f32e99d83263fe217269f73f927f5c110f8aed6db3b8800dbR215"&gt;https://github.com/nrfconnect/sdk-nrf/pull/9169/files#diff-3618c46f4d0a530f32e99d83263fe217269f73f927f5c110f8aed6db3b8800dbR215&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/394266?ContentTypeID=1</link><pubDate>Sun, 06 Nov 2022 08:52:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:833dc157-c3fd-4736-a4c7-32246a88378e</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;Does this work at all, I&amp;#39;ve spent yet another weekend banging my head on the desk!&lt;/p&gt;
&lt;p&gt;Can you please post a link to a WORKING and tested response to your point 2 above.&lt;/p&gt;
&lt;p&gt;Also I found this... It seems to sum up the issues I&amp;#39;m having.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93060/mcuboot-update-hooks---rejects-any-mcuboot-updates-when-used-with-immutable-bootlader"&gt;MCUBoot Update hooks - Rejects any mcuboot updates when used with immutable bootlader - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Marshall&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/394182?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2022 13:59:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a805112a-2cd1-440f-963a-9182603a6308</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1. There shouldn&amp;#39;t be necessary to do anything different compared to other applications to enable FOTA in the Asset Tracker v2 project.&lt;/p&gt;
&lt;p&gt;2. To enable FOTA with external flash in you should set the external flash as the &amp;quot;chosen&amp;quot; target in the partition manager as explained in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.1/nrf/scripts/partition_manager/partition_manager.html#external-flash-memory-partitions"&gt;external flash memory partitions documentation&lt;/a&gt;.&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: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/394017?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2022 19:22:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd8fcaee-f621-42c1-aacb-f2f6664e0a90</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;Thanks Simon.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was wanting to see any MCU Boot messages when it started to try and determine if my external flash was being detected by MCUBoot.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;We&amp;#39;re also not sure where exactly this error occurs, as it only refers to your application trying to call a&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;bad&amp;nbsp;&lt;/strong&gt;address after this firmware update it seems.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure which issue this is referring to:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The original -&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;em&gt;&amp;quot;dfu_target_mcuboot: boot_request_upgrade for image-0 error -14&amp;quot;&lt;/em&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The disabling of dfu by default in Asset Tracker V2&amp;nbsp;
&lt;p&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Perhaps it would be simpler if I rephrase the issue like this.&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-size:150%;"&gt;How do I enable FOTA in Asset Tracker V2?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:150%;"&gt;How do I enable FOTA with External Flash in Asset Tracker V2?&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Marshall&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/393939?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2022 14:18:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b30f13a9-a308-4aef-81d5-0d49d5f5b803</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry about the late reply, I needed to discuss this with some colleagues. First off, what exactly are you wanting to get the log of here exactly? The MCUBoot logging will only log the bootloader (what occurs when the MCU boots up before going into the application area), and not the entire DFU process. The logs of the actual DFU with the files moving from one place and onto your board is set in the DFU part of your application.&lt;/p&gt;
&lt;p&gt;We&amp;#39;re also not sure where exactly this error occurs, as it only refers to your application trying to call a&amp;nbsp;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;bad&amp;nbsp;&lt;/strong&gt;address after this firmware update it seems.&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: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/393444?ContentTypeID=1</link><pubDate>Tue, 01 Nov 2022 12:09:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09bd3f29-753b-4a26-8e42-2cedf321f6c0</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;What is this in the asset_tracker_v2 application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;\boards\thingy91_nrf9160_ns.conf&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;# Disable MCUboot DFU -- incompatible with static partitions&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SECURE_BOOT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BUILD_S1_VARIANT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I thought I got rid of static partitions. by c&lt;/span&gt;&lt;span&gt;omment out or rename the file &lt;br /&gt;&lt;br /&gt;C:\ncs\v2.1.0\nrf\boards\arm\thingy91_nrf9160\thingy91_pm_static.yml&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Don&amp;#39;t I want to enable this so I can FOTA the new app into slot1 ?????&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;When I do enable it, it won&amp;#39;t compile&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SECURE_BOOT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BUILD_S1_VARIANT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;D C:\opito\zephyr\opito_base_oct22\build\b0\zephyr &amp;amp;&amp;amp; C:\ncs\toolchains\v2.1.0\opt\bin\cmake.exe -E echo &amp;quot;&amp;quot;
c:/ncs/toolchains/v2.1.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: zephyr/drivers/i2c/libdrivers__i2c.a(i2c_nrfx_twim.c.obj): in function `k_sem_give&amp;#39;:
C:\opito\zephyr\opito_base_oct22\build\b0\zephyr\include\generated\syscalls\kernel.h:1062: undefined reference to `z_impl_k_sem_give&amp;#39;
c:/ncs/toolchains/v2.1.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: zephyr/drivers/i2c/libdrivers__i2c.a(i2c_nrfx_twim.c.obj): in function `k_sem_take&amp;#39;:
C:\opito\zephyr\opito_base_oct22\build\b0\zephyr\include\generated\syscalls\kernel.h:1045: undefined reference to `z_impl_k_sem_take&amp;#39;
c:/ncs/toolchains/v2.1.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: C:\opito\zephyr\opito_base_oct22\build\b0\zephyr\include\generated\syscalls\kernel.h:1045: undefined reference to `z_impl_k_sem_take&amp;#39;
c:/ncs/toolchains/v2.1.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: zephyr/drivers/i2c/libdrivers__i2c.a(i2c_nrfx_twim.c.obj): in function `k_sem_give&amp;#39;:
C:\opito\zephyr\opito_base_oct22\build\b0\zephyr\include\generated\syscalls\kernel.h:1062: undefined reference to `z_impl_k_sem_give&amp;#39;
c:/ncs/toolchains/v2.1.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: zephyr/drivers/i2c/libdrivers__i2c.a(i2c_nrfx_twim.c.obj): in function `k_sem_take&amp;#39;:
C:\opito\zephyr\opito_base_oct22\build\b0\zephyr\include\generated\syscalls\kernel.h:1045: undefined reference to `z_impl_k_sem_take&amp;#39;
collect2.exe: error: ld returned 1 exit status&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It really shouldn&amp;#39;t be this hard...&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thanks&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Marshall&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/393425?ContentTypeID=1</link><pubDate>Tue, 01 Nov 2022 10:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc57e1a4-06b3-4a25-8852-dc3e5cb22ed6</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;Thanks, that didn&amp;#39;t work though.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there somewhere that you set the serial port config for MCUBoot as well?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is in mcuboot.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SERIAL=y
CONFIG_LOG=y
CONFIG_LOG_BACKEND_UART=y 
CONFIG_MCUBOOT_LOG_LEVEL_DBG=y
#CONFIG_LOG_MODE_MINIMAL=y # former CONFIG_MODE_MINIMAL
### Ensure Zephyr logging changes don&amp;#39;t use more resources
#was 0
CONFIG_LOG_DEFAULT_LEVEL=4 
### Decrease footprint by ~4 KB in comparison to CBPRINTF_COMPLETE=y
CONFIG_CBPRINTF_NANO=y
CONFIG_RESET_ON_FATAL_ERROR=n
CONFIG_THREAD_NAME=y
#CONFIG_DEBUG_OPTIMIZATIONS=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The overlay above is also in the child image folder, and the pins are correct for the UART.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Marshall&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/393409?ContentTypeID=1</link><pubDate>Tue, 01 Nov 2022 10:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bce17812-cad2-4d66-8934-98f730ffff64</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Marshall&lt;/p&gt;
&lt;p&gt;If you want to enable logging in the MCUBoot you need to add &lt;strong&gt;CONFIG_LOG&lt;/strong&gt;=y and the backend you want to use &lt;strong&gt;CONFIG_LOG_BACKEND_UART&lt;/strong&gt;=y for example. In projects where MCUBoot is the child image you should do it in the mcuboot.conf file located under child images I believe. Like this for example:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0042.pastedimage1655211824082v1.png" /&gt;&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: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/393334?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 19:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d2c8607-be74-4d47-b730-f2756de9c5db</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;Hi Simon&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I just read out the JEDEC ID from the Flash, it matches the overlay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:00.501,708] &amp;lt;inf&amp;gt; opito: JEDEC SPI-NOR SPI flash testing
[00:00:00.501,708] &amp;lt;inf&amp;gt; opito: ==========================
[00:00:00.503,021] &amp;lt;inf&amp;gt; opito: Flash read ID succeeded! 9d 60 16
[00:00:00.503,051] &amp;lt;inf&amp;gt; opito: Test 1: Flash erase
[00:00:00.553,863] &amp;lt;inf&amp;gt; opito: Flash erase succeeded!
[00:00:00.553,863] &amp;lt;inf&amp;gt; opito: Test 2: Flash write
[00:00:00.553,894] &amp;lt;inf&amp;gt; opito: Attempting to write 4 bytes
[00:00:00.558,868] &amp;lt;inf&amp;gt; opito: Data read matches data written. Good!!&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Marshall&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/393327?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 18:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:346b3674-e1eb-418c-bda1-decc291ec1fb</guid><dc:creator>Marshall</dc:creator><description>&lt;p&gt;Thanks for the reply Simon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using a CircuitDojo Feather board, this has different flash on it, and the pins for driving it are different.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nz.mouser.com/datasheet/2/198/25LP_WP032D-1090958.pdf"&gt;64/128 Mbit Single Operation Voltage (mouser.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The Flash is working, with the current overlay I&amp;#39;m using above.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But there are some good clues in your response that&amp;#39;ll I&amp;#39;ll follow.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How do I turn on the logging in the bootloader&lt;/strong&gt; in Asset Tracker V2? It would be useful while I&amp;#39;m trying to sort out whats going on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Marshall&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA to external flash</title><link>https://devzone.nordicsemi.com/thread/393275?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 14:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba3eb035-72bd-44eb-96cf-a8ba054e1f24</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This issue looks very much like the issue described&amp;nbsp;in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91180/nrf9160dk-fota-using-external-flash-ncs-2-0-2/383428"&gt;this case&lt;/a&gt;, and seems to be related to the device JEDEC ID that you have set for your external flash. As my colleague Håkon explains, this can be read out of the datasheet of your used external flash. For the external flash mounted on the nRF91 DK, this is C2 28 17. If you read all zeroes here, your device has issues connecting to your flash.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the nRF9160-DK, you must switch in the pins for communicating with the flash, as explained in this post:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/90296/full-modem-update-configuration/378775"&gt;RE: Full modem update configuration&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that this is for the board controller, i.e. nrf9160dk_nrf52840, so it is important that you set the switch into &amp;quot;NRF52&amp;quot; position before programming the above snippet.&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></channel></rss>