<?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>Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114227/regarding-flash-overflow-when-dfu-is-enabled</link><description>I am working on a module MS12SF1(nrf7002+nrf5340). I am using wifi,ble,sdcard,uart and https functionalities in my code. Currently my flash usage is 72.44%. I also want to use dfu through ble. If I enable the configurations of dfu, the flash overflows</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Sep 2024 13:38:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114227/regarding-flash-overflow-when-dfu-is-enabled" /><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/502499?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2024 13:38:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c037c1a1-3bc4-4f4d-8ab2-2b3dd93c49a5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Are you using the unmodified download client sample with nRF7002DK (since you mentioned&amp;nbsp;&lt;span&gt;MS12SF1(nrf7002+nrf5340) in the original post&lt;/span&gt;)?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since w&lt;span&gt;e setup nginx web server serving both http and https a big file (1 MB size) and then tested the download_client library using the&amp;nbsp;&lt;/span&gt;&lt;code&gt;samples/net/download/&lt;/code&gt;&lt;span&gt;&amp;nbsp;sample application and everything worked fine for both http and https connections, there was no issue with the download_client library. Therefore, I would suggest you test with other&amp;nbsp;web servers such nginx web server.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/502418?ContentTypeID=1</link><pubDate>Fri, 13 Sep 2024 05:22:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feb5f65a-4aaa-4d5c-9811-3b54cb8e8b1a</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;U tested with a very small file&lt;br /&gt;In my case the file size is around740kb can u once test with that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/502372?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 19:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea81225e-1ab0-4101-b971-5459ce4c94c5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Your&amp;nbsp;heap is ok because the TLS connection was established in your logs.&lt;/p&gt;
&lt;p&gt;I have run the unmodified&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/download/README.html"&gt;Download client&lt;/a&gt;&amp;nbsp;sample on &lt;span&gt;nRF7002DK and it doesn&amp;#39;t have any issues.&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Download-client.png" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please&amp;nbsp;test with the unmodified&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/net/download/README.html"&gt;Download client&lt;/a&gt;&amp;nbsp;sample on&amp;nbsp;nRF7002DK and refer to it.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/502136?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 12:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:959986df-ff30-4295-9ebd-8a63a2b896dc</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Hey Amanda&lt;br /&gt;&lt;br /&gt;So when I enabled the extra configurations which u mentioned above the issue is that I am using&amp;nbsp;CONFIG_MBEDTLS_HEAP_SIZE=81920 and u used 220000 which is quite large and is overflowing the ram&amp;nbsp;&lt;br /&gt;Wanted to know that does increasing this value has some impact on the downloading procedure?&lt;br /&gt;The previous results which I provided was of nrf7002DK only&lt;br /&gt;&lt;br /&gt;Also wanted to know that why does after a certain size which I mentioned in my above configurations also, the response which I receive is of connection: close and it is always happening after sending 100 GET requests&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/502000?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 19:12:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11d51f65-3ca9-46ad-a0cf-69aeacf39d68</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We setup nginx web server serving both http and https a big file (1 MB size). Then tested the download_client library using the &lt;code&gt;samples/net/download/&lt;/code&gt; sample application and everything worked fine for both http and https connections, there was no issue with the download_client library.&lt;/p&gt;
&lt;p&gt;The following setup was used in the test:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -p -b native_sim samples/net/download/ -d ../build/fota-download -- \
-DCONFIG_NATIVE_UART_AUTOATTACH_DEFAULT_CMD=&amp;quot;\&amp;quot;gnome-terminal -- screen %s\&amp;quot;&amp;quot; \
-DCONFIG_NET_SHELL=y \
-DCONFIG_SAMPLE_FILE_CUSTOM=y \
-DCONFIG_SAMPLE_FILE_URL=&amp;quot;\&amp;quot;https://192.0.2.2/big-file.txt\\&amp;quot;&amp;quot; \
-DCONFIG_DOWNLOAD_CLIENT_LOG_LEVEL_DBG=y \
-DCONFIG_DOWNLOAD_CLIENT_LOG_HEADERS=y \
-DCONFIG_NET_SOCKETS_LOG_LEVEL_DBG=y \
-DCONFIG_LOG=y -DCONFIG_NET_LOG=y \
-DCONFIG_NET_CONTEXT_RCVTIMEO=y \
-DCONFIG_NET_CONTEXT_SNDTIMEO=y \
-DCONFIG_MBEDTLS_DEBUG=y CONFIG_MBEDTLS_LOG_LEVEL_DBG=y \
-DCONFIG_NET_SOCKETS_POLL_MAX=10 \
-DCONFIG_MBEDTLS=y \
-DCONFIG_MBEDTLS_ENABLE_HEAP=y \
-DCONFIG_MBEDTLS_HEAP_SIZE=220000 \
-DCONFIG_MBEDTLS_TLS_VERSION_1_2=y \
-DCONFIG_MBEDTLS_BUILTIN=y \
-DCONFIG_MBEDTLS_CIPHER_CHACHA20_ENABLED=y \
-DCONFIG_MBEDTLS_KEY_EXCHANGE_ALL_ENABLED=y \
-DCONFIG_MBEDTLS_CIPHER_ALL_ENABLED=y \
-DCONFIG_MBEDTLS_ECP_ALL_ENABLED=y \
-DCONFIG_MBEDTLS_HASH_ALL_ENABLED=y \
-DCONFIG_MBEDTLS_GENPRIME_ENABLED=y \
-DCONFIG_MBEDTLS_HMAC_DRBG_ENABLED=y \
-DCONFIG_MBEDTLS_ECDH_C=y \
-DCONFIG_MBEDTLS_ECDSA_C=y \
-DCONFIG_MBEDTLS_ECJPAKE_C=y \
-DCONFIG_MBEDTLS_ECP_C=y \
-DCONFIG_MBEDTLS_MAC_POLY1305_ENABLED=y \
-DCONFIG_MBEDTLS_MAC_ALL_ENABLED=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If the above cannot help, could you test with nRF7002DK and provide the project for nRF7002DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/501231?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 19:27:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12b65d2c-b7cb-464b-988e-311ccbd6338b</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;But how is that possible that after every 204800 bytes only the downloading stops, if the buffer size is 2048 ? If I suppose decrease the buffer size to 512 also the downloading stops at 51200 bytes, something related with 100&lt;br /&gt;Do u know what that could be? Also I am attaching my prj.conf file for better understanding&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Wi-Fi
CONFIG_WIFI=y
CONFIG_WIFI_NRF700X=y
CONFIG_WPA_SUPP=y

# Wi-Fi credentials
CONFIG_WIFI_CREDENTIALS=y
CONFIG_WIFI_CREDENTIALS_STATIC=y
CONFIG_WIFI_CREDENTIALS_STATIC_SSID=&amp;quot;UltraHuman-4th Floor&amp;quot;
CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD=&amp;quot;Ultra@Human$!&amp;quot;

# Networking Management API
CONFIG_NET_MGMT=y
CONFIG_NET_MGMT_EVENT=y
CONFIG_NET_MGMT_EVENT_INFO=y
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096
CONFIG_NET_CONNECTION_MANAGER=y
CONFIG_WIFI_MGMT_EXT=y

# Networking
CONFIG_NETWORKING=y
CONFIG_NET_NATIVE=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y
CONFIG_POSIX_MAX_FDS=12

CONFIG_NET_L2_ETHERNET=y
CONFIG_NET_IPV4=y
CONFIG_NET_IPV6=n
CONFIG_NET_TCP=y
CONFIG_NET_DHCPV4=y
CONFIG_DNS_RESOLVER=y

# Memory
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_HEAP_MEM_POOL_SIZE=153600

CONFIG_NET_TCP_WORKQ_STACK_SIZE=2048
CONFIG_NET_TX_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=4096
CONFIG_NET_BUF_RX_COUNT=20
CONFIG_NET_BUF_TX_COUNT=20

CONFIG_NET_BUF_DATA_SIZE=256
CONFIG_NET_TC_TX_COUNT=0

# # HTTP
# STEP 1 -  Enable the HTTP client library
CONFIG_HTTP_CLIENT=y

CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n
CONFIG_LOG_PRINTK=y

CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_CBPRINTF_FP_SUPPORT=y

CONFIG_SETTINGS=y                                   #Enables the settings subsystem
CONFIG_FLASH=y                                      #Enables the flash drivers
CONFIG_FLASH_PAGE_LAYOUT=y                          #API for retrieving the layout of pages
CONFIG_FLASH_MAP=y                                  #Enables the flash map abstraction module
CONFIG_NVS=y                                       #Enables support for non-volatile storage
CONFIG_SETTINGS_NVS=y

CONFIG_WPA_SUPP_CRYPTO_PSA=y

# # TLS
# # STEP 1.1 - Enable the TLS library and security relevant configurations
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
CONFIG_TLS_CREDENTIALS=y
CONFIG_MBEDTLS_RSA_C=y
CONFIG_MBEDTLS_DHM_C=y 

# # # STEP 1.2 - Enable support for server name indication (SNI)
CONFIG_MBEDTLS_SSL_SERVER_NAME_INDICATION=y


CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_TLS_LIBRARY=y
CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE=y


CONFIG_POSIX_CLOCK=y

CONFIG_NET_CONNECTION_MANAGER=y
CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=1024

# CONFIG_BUILD_WITH_TFM=y

CONFIG_NORDIC_SECURITY_BACKEND=y
CONFIG_CC3XX_BACKEND=y
CONFIG_MBEDTLS_TLS_LIBRARY=y
CONFIG_MBEDTLS_ECDSA_DETERMINISTIC=n
CONFIG_MBEDTLS_SSL_SRV_C=n
CONFIG_MBEDTLS_X509_CSR_WRITE_C=y
CONFIG_MBEDTLS_X509_CREATE_C=y
CONFIG_MBEDTLS_PK_WRITE_C=y
CONFIG_MBEDTLS_SSL_SERVER_NAME_INDICATION=y
CONFIG_MBEDTLS_PKCS1_V15=y

# For hardware crypto accelerator
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y

CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=81920
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_MAC_SHA256_ENABLED=y
# CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=8192
CONFIG_MBEDTLS_TLS_LIBRARY=y

#FOTA
# CONFIG_FOTA_DOWNLOAD=y
CONFIG_DOWNLOAD_CLIENT=y
CONFIG_DOWNLOAD_CLIENT_STACK_SIZE=4096

# DFU Target
# CONFIG_DFU_TARGET=y

# # Application Upgrade support
# CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_DOWNLOAD_CLIENT_LOG_HEADERS=y
CONFIG_DOWNLOAD_CLIENT_LOG_LEVEL_DBG=y
# CONFIG_FOTA_DOWNLOAD_LOG_LEVEL_DBG=y


CONFIG_LOG_BUFFER_SIZE=8192
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/501227?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 18:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12d7aafd-4327-47b8-b143-0fa9c0bb5069</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;The&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;CONFIG_DOWNLOAD_CLIENT_BUF_SIZE&lt;/code&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;code dir="ltr"&gt;CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE&lt;/code&gt;&lt;span&gt;&amp;nbsp;parameters in the Kconfig file are not directly related to the total size of the file you want to download. They define the size of the buffer used for each fragment of the download and the maximum size of each HTTP fragment respectively.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For &amp;quot; &amp;lt;err&amp;gt; download_client: Unable to connect, errno 2&amp;quot; in your log, see my colleague&amp;#39;s reply in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/103318/aws-iot-fota-error-nrf7002dk-failed-to-create-socket-err-12/444894"&gt;this post&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/103318/aws-iot-fota-error-nrf7002dk-failed-to-create-socket-err-12/445757"&gt;this pot&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the log, &amp;lt;err&amp;gt; fota: &lt;a href="https://github.com/eblot/newlib/blob/2a63fa0fd26ffb6603f69d9e369e944fe449c246/newlib/libc/include/sys/errno.h#L148"&gt;Error -117&lt;/a&gt; means the Host is down.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/501215?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 15:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47700f26-c84d-463d-9582-ef78fae59cd5</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Yes, so the maximum size of&amp;nbsp;&lt;code&gt;&lt;span&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_DOWNLOAD_CLIENT_BUF_SIZE"&gt;CONFIG_DOWNLOAD_CLIENT_BUF_SIZE&lt;/a&gt;&amp;nbsp;and&amp;nbsp;CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE is 4096 as per defined in the Kconfig file but the size of binary file which I need to download is of size 740kb&amp;nbsp;&lt;br /&gt;For this do I need to add one more size value in the Kconfig like 8192?&lt;br /&gt;&lt;br /&gt;The&amp;nbsp;issue is that it doesn&amp;#39;t reconnects again why is that&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/501213?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 15:44:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b76a2308-d7c7-453a-ae2e-5c6e18a244d3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;If you are using HTTPS, you need to check the configuration described in the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/libraries/networking/download_client.html#configuring_http_and_https_tls_12"&gt;Download client&lt;/a&gt;&amp;nbsp;for &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/networking/download_client.html#configuring_http_and_https_tls_12"&gt;HTTP and HTTPS (TLS 1.2)&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;Set the&amp;nbsp;&lt;/span&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_DOWNLOAD_CLIENT_BUF_SIZE"&gt;&lt;code&gt;&lt;span&gt;CONFIG_DOWNLOAD_CLIENT_BUF_SIZE&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;CONFIG_DOWNLOAD_CLIENT_HTTP_FRAG_SIZE&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;Kconfig options, so that the buffer is large enough to accommodate the entire HTTP header of the request and the response.&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;Also &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/112145/download-client-via-aws-fota-stops-at-50-and-can-t-reconnect-to-aws/489996"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/501104?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 08:51:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b02afd5-6b7b-4bcf-b3f9-be269f713207</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Thanks&lt;br /&gt;Yes I was able to download file but the issue is that if my file size is large enough like 500kb or something, the downloading process stops at 204800 bytes if CONFIG_DOWNLOAD_CLIENT_BUF_SIZE=2048&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I followed&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/113704/fota-download-breaking-up"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/113704/fota-download-breaking-up&lt;/a&gt;&amp;nbsp;this thread and also made the required changes in the download_client library but still facing the same issue.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:01:43.639,343] &amp;lt;wrn&amp;gt; download_client: Peer closed connection, will re-connect
[00:01:43.639,373] &amp;lt;dbg&amp;gt; download_client: download_thread: Receiving up to 2048 bytes at 0x2000095c...
[00:01:44.354,797] &amp;lt;dbg&amp;gt; download_client: handle_received: Read 2048 bytes from socket
[00:01:44.354,827] &amp;lt;inf&amp;gt; download_client: Downloaded 204800/555880 bytes (36%)

[  36% ] |==================                                | (204800/555880 bytes)[00:01:44.355,529] &amp;lt;inf&amp;gt; download_client: Reconnecting...
[00:01:44.370,086] &amp;lt;dbg&amp;gt; download_client: client_connect: Port not specified, using default: 443
[00:01:44.370,208] &amp;lt;dbg&amp;gt; download_client: host_lookup: Failed to resolve hostname s3.amazonaws.com on IPv6
[00:01:44.393,005] &amp;lt;dbg&amp;gt; download_client: client_socket_connect: family: 1, type: 1, proto: 258
11122[00:01:44.393,707] &amp;lt;inf&amp;gt; download_client: Setting up TLS credentials, sec tag count 1
[00:01:44.393,798] &amp;lt;inf&amp;gt; download_client: Connecting to 52.217.125.16
[00:01:44.393,829] &amp;lt;dbg&amp;gt; download_client: client_socket_connect: fd 9, addrlen 8, fam IPv4, port 443
[00:01:44.394,287] &amp;lt;err&amp;gt; download_client: Unable to connect, errno 2
[00:01:44.394,622] &amp;lt;err&amp;gt; fota: Error -2 during download

[00:01:44.399,963] &amp;lt;inf&amp;gt; fota: Network disconnected
[00:01:44.418,762] &amp;lt;dbg&amp;gt; download_client: set_state: state = 0
[00:01:44.418,792] &amp;lt;inf&amp;gt; fota: Socket closed

[00:01:44.418,792] &amp;lt;err&amp;gt; fota: Error -117 during download&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/501005?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 14:33:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c7886a9-6a03-41c1-96b8-6ff763daecd2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/samples/net/aws_iot/README.html"&gt;AWS IoT&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/samples/net/azure_iot_hub/README.html"&gt;Azure IoT Hub&lt;/a&gt;&amp;nbsp;samples in NCS demonstrate FOTA over Wi-Fi.&amp;nbsp;In addition, there is an exercise in the &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-5-fota-over-wi-fi/"&gt;nRF Connect SDK Intermediate course&lt;/a&gt; that guides you through the process of using AWS to perform FOTA over Wi-Fi for an nRF7002DK. The exercise code is based on the AWS IoT Sample.&lt;/p&gt;
&lt;div&gt;-Amanda H.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500932?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 10:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3926d96-caf3-40da-90ee-6d57c3e12aca</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Do we have any sample code for fota over wifi through http/https?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500462?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2024 15:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cb8aa35-b808-4796-80c0-c4dd3c339cb5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Rakshita"]can we do something like that if I enable the BOOTLOADER_MCUBOOT configuration it doesn&amp;#39;t creates 2 slots and creates a single slot with more size and when we want to add a new firmware it can get replaced with the older one?[/quote]
&lt;p&gt;The&amp;nbsp;&lt;span&gt;CONFIG_SINGLE_APPLICATION_SLOT&amp;nbsp;is only supported with DFU via &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-2-dfu-over-usb-adding-external-flash/"&gt;USB&lt;/a&gt;/&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-1-dfu-over-uart/"&gt;UART&lt;/a&gt;, not for BLE DFU.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="Rakshita"]So actually for the net core I wanted to move all the other configurations except the network related to net core including the main application too&amp;nbsp;&lt;br /&gt;Wanted to test it once, how can I make a separate source file for net core and run it along with the app core?[/quote]
&lt;p&gt;The net core is for radio communication and for real-time processing tasks involving low-level radio protocol layers. You cannot move all the&amp;nbsp;other configurations except the network related to net core.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For your use case, I would suggest using an external flash as the secondary slot for BLE DFU.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500456?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2024 14:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91e0a991-f104-4c10-bb2e-4683447e168c</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;So actually for the net core I wanted to move all the other configurations except the network related to net core including the main application too&amp;nbsp;&lt;br /&gt;Wanted to test it once, how can I make a separate source file for net core and run it along with the app core?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500360?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2024 08:03:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3106fe42-f357-4692-9e04-717632b4fbc6</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Hey&lt;br /&gt;I was curious that can we do something like that if I enable the BOOTLOADER_MCUBOOT configuration it doesn&amp;#39;t creates 2 slots and creates a single slot with more size and when we want to add a new firmware it can get replaced with the older one?&lt;br /&gt;&lt;br /&gt;Actually I saw one more configuration&amp;nbsp;&lt;span&gt;CONFIG_SINGLE_APPLICATION_SLOT which does this but I think it doesn&amp;#39;t supports dfu through ble so won&amp;#39;t be helping but if I could make a change in the existing procedure which will still support dfu through ble that could be very helpful&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500287?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2024 19:11:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e6b2747-3853-4c84-932d-826d1a1c8776</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s possible to run the full Bluetooth LE stack on the network core (currently supported for development only), but not for the network. See &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html#protocols_and_use_cases"&gt;this doc&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500099?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2024 04:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8c335b0-b3aa-4b89-aa63-1313563e6845</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;&amp;nbsp;I think my question is a little incorrect. I want to add network related activities in the net core and main application functionalities in the app core. Is that possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500080?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 21:27:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5b2868f-a872-4b2c-b58c-d2afc7dcf7da</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Unfortunately, no.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500072?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 19:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a171b763-dec1-4d57-9ef5-7946ceccf34b</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;Is it possible that I can add a child image for net core and can add the wifi and ble configurations in the net core so that it can consume the network storage for these configurations and the flash would be reduced in the app core?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500070?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 19:17:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3449892-6808-4c28-8a20-b257cdab4a1e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Yes, I think so. Currently, there is no example of using an SD card as the secondary slot directly. Maybe you can consider DFU over serial (&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-1-dfu-over-uart/"&gt;UART&lt;/a&gt; or &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-2-dfu-over-usb-adding-external-flash/"&gt;USB&lt;/a&gt;) to use single-slot updating.&amp;nbsp;&lt;span&gt;By default, MCUboot splits the non-volatile memory into two slots. If you use Serial Recovery, we can use only one slot instead to get more available non-volatile memory.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500058?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 17:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da3ff534-1f90-4b9d-b58e-c9e0c6ed1f05</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;But I think I will still face the flash overflow issues as by enabling the below configurations&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOTLOADER_MCUBOOT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU&lt;/span&gt;&lt;span&gt;=y&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I face the issue, so even if I manage to operate the sd card as an external flash I still need to enable the above configurations and it will still generate overflow issue right?&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/500056?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 16:56:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d27a54a-5c60-42a4-86aa-3200b313736a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Check out this post&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92476/bootloader-from-sdcard"&gt;Bootloader from SDCard&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/499877?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 05:29:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b26c86ed-157b-414d-8668-a847ffb016e8</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;I do have sd card in my device so can I use that as an external flash?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/499841?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 18:37:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a09df319-a655-4efc-b705-70e4431da596</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Refer to the&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/nrf/test_and_optimize/optimizing/memory.html"&gt;Memory footprint optimization&lt;/a&gt;&amp;nbsp;doc.&amp;nbsp;to reduce the size.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash overflow when dfu is enabled</title><link>https://devzone.nordicsemi.com/thread/499836?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 18:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52ea86a3-fec5-4f2b-a28a-d8e78062348c</guid><dc:creator>Rakshita</dc:creator><description>&lt;p&gt;There is no external flash present in the given module&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>