To preface:
- Board: nRF9151DK
- nRF Connect SDK / Toolchain: 3.1.0
Hello,
I am attempting to learn and integrate full modem FOTA functionality into my application. To begin with, I am simply trying to run the nRF Connect SDK sample on a nRF9151DK.
I have 2 unmodified nRF9151DK kits with an active SIM. Running this sample on both of them outputs the following errors:
*** Booting nRF Connect SDK v3.1.0-6c6e5b32496e *** *** Using Zephyr OS v4.1.99-1612683d4010 *** HTTP full modem update sample started [m [1;32muart:~$ [mCurrent modem firmware version: mfw_nrf91x1_2.0.2 LTE Link Connecting ... LTE Link Connected! Press Button 1 or enter 'download' to download firmware update Press Button 2 or enter 'apply' to apply modem firmware update from flash download [1;32muart:~$ [mW: Protocol not specified for nrfconnectsdk.s3.eu-central-1.amazonaws.com/fmfu_2.0.0.cbor, attempting http:// I: Failed to resolve hostname nrfconnectsdk.s3.eu-central-1.amazonaws.com on IPv6, err -2 I: Host lookup failed for hostname nrfconnectsdk.s3.eu-central-1.amazonaws.com on IPv6 (err -118), attempting IPv4 I: Connecting to 3.5.136.212 I: Downloaded 516/2114441 bytes (0%) E: Size is incorrect E: stream_flash_init failed (err -14) E: dfu_target_stream_init failed -14 E: dfu_target_init error -14 Received error from fota_download Press Button 1 or enter 'download' to download firmware update Press Button 2 or enter 'apply' to apply modem firmware update from flash [1;32muart:~$ [mW: Protocol not specified for nrfconnectsdk.s3.eu-central-1.amazonaws.com/fmfu_2.0.0.cbor, attempting http:// I: Failed to resolve hostname nrfconnectsdk.s3.eu-central-1.amazonaws.com on IPv6, err -2 I: Host lookup failed for hostname nrfconnectsdk.s3.eu-central-1.amazonaws.com on IPv6 (err -118), attempting IPv4 I: Connecting to 52.219.140.181 I: Downloaded 708/2114441 bytes (0%) E: stream_flash_buffered_write error -12 E: dfu_target_write error -12 Received error from fota_download Press Button 1 or enter 'download' to download firmware update Press Button 2 or enter 'apply' to apply modem firmware update from flash
It looks like the sample reverts to IPV4, the download starts, and then fails with the above errors. Does this sample not work out of the box, or is there something I am supposed to configure for it to work?
Thanks,
Derek