NordicSemiconductor / pc-nrfconnect-programmer

Programmer app for nRF Connect for Desktop
Other
66 stars 26 forks source link

NRF9160 "Update Modem" Regression from v1.4.11 -> v2.0 #245

Open ryan4volts opened 2 years ago

ryan4volts commented 2 years ago

Hi All,

I have a thingy91 and trying to update it with the latest nordic v2.0 programmer through nrfConnect fails. It is a 2 stage upload and gets through the first 1/2 successfully, but the second (2/2) get stuck at 10% and then issues a timeout error.

After trying multiple times I followed the below link to use downgrade to v1.4.11 instead and it worked immediately. https://devzone.nordicsemi.com/f/nordic-q-a/81368/power-profiler-error-on-v3-2-0/337538

chunfantasy commented 2 years ago

Hi, could you upgrade nRF Connect for Desktop to 3.8 and Programmer 2.0, it should no longer have step 1 or 2, instead it should have detailed progress message.

ryan4volts commented 2 years ago

Hi, sorry I think I poorly described the situation.

After updating from nrfConnect v1.4.11 => v2.0 and installing the new programmer v2.0 version, Update Modem is no longer operational.

The new version doesn't state step 1 and step 2, but it does do 2 tasks that load up the status bar. I have taken a few screenshots trying to annotate the above. The final error is: Modem DFU failed with error: async task failure for id: 248373231800 msg: Error when programming through MCUBoot: Unable to program hex file from buffer.. Error code: 603 (Timeout). I also noticed that when doing the upload with v1.4.11 that the second step DOES actually take a while before its status bar does something, so likely the timeout period just needs to be extended.

Before upload start step 1

Stage 1/2 upload step 2

Stage 2/2 upload - loading bar went back to 0% for second stage - always gets stuck at 10% step 3

Timeout error step 4

SamPRedFern commented 2 years ago

I am having the exact same issue. @ryan4volts did you find a work around for this?

chunfantasy commented 2 years ago

Thank you for reporting the issue. We are currently planning to look into the issue soon. Could you please provide your hardware version of your Thingy91? It has hardware version and production week printed on the device, e.g. 1.5.0 and 2020.10.

SamPRedFern commented 2 years ago

v1.4.0, 2020.22. nRF9160 HW rev 1 (B0)

ryan4volts commented 2 years ago

The work around was to add v3.7 URL as a source, then install the old programmer version. http://developer.nordicsemi.com/.pc-tools/nrfconnect-apps/3.7-apps/apps.json