This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

recv() hangs

Hi

  We used one German SIM card(1NCE) on both of our product and 9160 dk, in both cases the recv() hangs after the downloading started at some point. I tried all nrf sdk versions(1.4.0; 1.3.0; 1.2.0) and most modem version(mfw_nrf9160_1.2.0, mfw_nrf9160_1.2.1, mfw_nrf9160_1.2.2). It doesn't help.

   Can you help to analyses where it could go wrong?

one debug log before hangs:

Press Button 1 to start the FOTA download, wait for new app
I: Connecting to nrfconnectsdk.s3.eu-central-1.amazonaws.com
I: Downloading: app_update.bin [0]
I: Downloaded 2048/155242 bytes (1%)
I: Erasing page at offset 0x00086000
I: Downloaded 4096/155242 bytes (2%)
I: Downloaded 6144/155242 bytes (3%)
I: Erasing page at offset 0x00087000
I: Downloaded 8192/155242 bytes (5%)
I: Downloaded 10240/155242 bytes (6%)
I: Erasing page at offset 0x00088000
I: Downloaded 12288/155242 bytes (7%)

Parents Reply
  • Hi, 

    That could have to do with the CONFIG_APPLICATION_VERSION configuration. This needs to be 2 for the image uploaded to the S3 bucket and 1 for the application flashed to the DK. 

    The app_update.bin file on the nrfconnectsdk should have the correct application version since it was uploaded by a Nordic developer, so make sure the app you're flashing to your device has the application version 1. 

    Best regards,

    Heidi

Children
No Data
Related