I followed all the steps mentioned in the tutorials. In one of the threads, it was mentioned to erase all and then try and it worked for some. I tried that as well. Still facing the same problem.
I followed all the steps mentioned in the tutorials. In one of the threads, it was mentioned to erase all and then try and it worked for some. I tried that as well. Still facing the same problem.
Hi.
Just to make sure, this is the tutorial you are talking about: https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/how-to-get-production-version-v1-0-0-to-nrf9160 ?
And a few more questions:
1. What version of the nRF Connect for Desktop and the Programmer application are you using?
2. Is this an nRF91DK or a Thingy:91 (or a custom device)?
3. What version of nrfjprog are you using?
4. How did you "erase all"?
Best regards,
Didrik
Also, When I tried to install, nRF-Command-Line-Tools_10_4_0_OSX, it fails.
Hey,
Sadly, the problem still persists. I am still getting the error:
It might be that the zip file is in a directory where you do not have write permission.
Could you try to move the zip file to a different directory and try again?
I tried that as well. Still facing the same problem.
Are you still using v1.0.2 of the Programmer application?
For me, the latest version is 1.2.3
I am using the latest version- v1.2.3 for the programmer.
I am using the latest version- v1.2.3 for the programmer.
Can you send the full log?
2019-11-06T16:05:39.937Z INFO Application data folder: /Users/akhilwadhwa/Library/Application Support/nrfconnect/pc-nrfconnect-programmer 2019-11-06T16:05:40.587Z DEBUG App pc-nrfconnect-programmer v1.2.3 official 2019-11-06T16:05:40.587Z DEBUG App path: /Users/akhilwadhwa/.nrfconnect-apps/node_modules/pc-nrfconnect-programmer 2019-11-06T16:05:40.588Z DEBUG nRFConnect 3.2.0 is supported by the app (^3.2.0) 2019-11-06T16:05:40.588Z DEBUG nRFConnect path: /Applications/nRF Connect.app/Contents/Resources/app.asar 2019-11-06T16:05:40.588Z DEBUG HomeDir: /Users/akhilwadhwa 2019-11-06T16:05:40.588Z DEBUG TmpDir: /var/folders/p9/3zvwcsqd33d2x15k7n_49l900000gn/T/ 2019-11-06T16:05:40.636Z INFO Using nrfjprog library 10.3.0, pc-nrfjprog-js 1.5.8 2019-11-06T16:05:40.637Z VERBOSE Could not fetch serial number for serial port at /dev/tty.Bluetooth-Incoming-Port 2019-11-06T16:05:40.637Z VERBOSE Could not fetch serial number for serial port at /dev/tty.AkhilsBoseQC35II-SPPDev 2019-11-06T16:06:53.946Z INFO Using nrfjprog to communicate with target 2019-11-06T16:06:56.463Z INFO Using J-Link Software version 6.50 2019-11-06T16:06:57.878Z INFO Segger serial: 960039561 2019-11-06T16:06:57.878Z INFO Segger speed: 2000 kHz 2019-11-06T16:06:57.878Z INFO Segger version: J-Link OB-K22-NordicSemi compiled Feb 14 2019 14:03:18 2019-11-06T16:06:57.881Z INFO Probed: 960039561. 2019-11-06T16:06:57.881Z INFO Model: Unknown model. 2019-11-06T16:06:57.881Z INFO RAM: 256KiB. 2019-11-06T16:06:57.881Z INFO Flash: 1024KiB in pages of 4KiB. 2019-11-06T16:06:58.645Z INFO Device type is unknown. It may be a new version of product from Nordic Semiconductor. 2019-11-06T16:06:58.645Z INFO Please check device list supported by nrfjprog. 2019-11-06T16:07:00.202Z INFO Reading device non-volatile memory. This may take a few seconds. 2019-11-06T16:07:09.227Z INFO Non-volatile memory has been read. 3 non-empty memory blocks identified. 2019-11-06T16:07:32.786Z INFO Modem DFU starts to write... 2019-11-06T16:07:32.786Z INFO Writing to device with serial number: 960039561 2019-11-06T16:07:32.786Z INFO Writing to device with file: /Users/akhilwadhwa/Documents/EmbedProject/nrf9160dk_fw_09-10-2019_c9c833b1.zip 2019-11-06T16:07:35.535Z ERROR Modem DFU failed with error: Error: Error occured when program. Errorcode: CouldNotCallFunction (0x9) Lowlevel error: Unknown value (ffffff5e) 2019-11-06T16:07:52.315Z INFO Modem DFU starts to write... 2019-11-06T16:07:52.315Z INFO Writing to device with serial number: 960039561 2019-11-06T16:07:52.315Z INFO Writing to device with file: /Users/akhilwadhwa/Documents/EmbedProject/mfw_nrf9160_1.zip 2019-11-06T16:07:54.617Z ERROR Modem DFU failed with error: Error: Error occured when program. Errorcode: CouldNotCallFunction (0x9) Lowlevel error: Unknown value (ffffff5e) 2019-11-06T16:09:14.226Z INFO Target device closed. 2019-11-06T16:09:19.915Z INFO Using nrfjprog to communicate with target 2019-11-06T16:09:21.896Z INFO Using J-Link Software version 6.50 2019-11-06T16:09:23.418Z INFO Segger serial: 960039561 2019-11-06T16:09:23.418Z INFO Segger speed: 2000 kHz 2019-11-06T16:09:23.418Z INFO Segger version: J-Link OB-K22-NordicSemi compiled Feb 14 2019 14:03:18 2019-11-06T16:09:23.423Z INFO Probed: 960039561. 2019-11-06T16:09:23.424Z INFO Model: Unknown model. 2019-11-06T16:09:23.424Z INFO RAM: 256KiB. 2019-11-06T16:09:23.424Z INFO Flash: 1024KiB in pages of 4KiB. 2019-11-06T16:09:24.184Z INFO Device type is unknown. It may be a new version of product from Nordic Semiconductor. 2019-11-06T16:09:24.184Z INFO Please check device list supported by nrfjprog. 2019-11-06T16:09:25.588Z INFO Reading device non-volatile memory. This may take a few seconds. 2019-11-06T16:09:34.603Z INFO Non-volatile memory has been read. 3 non-empty memory blocks identified. 2019-11-06T16:11:38.636Z INFO Parsing HEX file: /Users/akhilwadhwa/Documents/EmbedProject/mfw_nrf9160_1.zip 2019-11-06T16:11:38.657Z INFO File was last modified at 11/6/2019, 11:11:07 AM 2019-11-06T16:11:38.730Z ERROR Could not open HEX file: Error: Malformed .hex file, could not parse any registers 2019-11-06T16:11:48.057Z INFO Target device closed. 2019-11-06T16:11:50.755Z INFO Using nrfjprog to communicate with target 2019-11-06T16:11:53.354Z INFO Using J-Link Software version 6.50 2019-11-06T16:11:54.776Z INFO Segger serial: 960039561 2019-11-06T16:11:54.777Z INFO Segger speed: 2000 kHz 2019-11-06T16:11:54.777Z INFO Segger version: J-Link OB-K22-NordicSemi compiled Feb 14 2019 14:03:18 2019-11-06T16:11:54.781Z INFO Probed: 960039561. 2019-11-06T16:11:54.781Z INFO Model: Unknown model. 2019-11-06T16:11:54.781Z INFO RAM: 256KiB. 2019-11-06T16:11:54.781Z INFO Flash: 1024KiB in pages of 4KiB. 2019-11-06T16:11:55.553Z INFO Device type is unknown. It may be a new version of product from Nordic Semiconductor. 2019-11-06T16:11:55.554Z INFO Please check device list supported by nrfjprog. 2019-11-06T16:11:57.097Z INFO Reading device non-volatile memory. This may take a few seconds. 2019-11-06T16:12:06.101Z INFO Non-volatile memory has been read. 3 non-empty memory blocks identified. 2019-11-06T16:12:21.907Z INFO Modem DFU starts to write... 2019-11-06T16:12:21.907Z INFO Writing to device with serial number: 960039561 2019-11-06T16:12:21.907Z INFO Writing to device with file: /Users/akhilwadhwa/Documents/EmbedProject/mfw_nrf9160_1.zip 2019-11-06T16:12:24.627Z ERROR Modem DFU failed with error: Error: Error occured when program. Errorcode: CouldNotCallFunction (0x9) Lowlevel error: Unknown value (ffffff5e) 2019-11-06T16:12:30.727Z INFO Modem DFU starts to write... 2019-11-06T16:12:30.727Z INFO Writing to device with serial number: 960039561 2019-11-06T16:12:30.727Z INFO Writing to device with file: /Users/akhilwadhwa/Documents/EmbedProject/mfw_nrf9160_1.zip 2019-11-06T16:12:33.047Z ERROR Modem DFU failed with error: Error: Error occured when program. Errorcode: CouldNotCallFunction (0x9) Lowlevel error: Unknown value (ffffff5e)
Here is the log from the nRF Programmer.
The name of the modem firmware looks a bit odd. Have you renamed it?
Can you try with this one:
I am using the same Zip File. When I download this file, it gets downloaded as mfw_nrf9160_1 on my mac. I have to compress it again so that the programmer reads it.
I prevented safari from unzipping the downloaded file. When I uploaded the downloaded zip file, it worked fine. I was able to update the firmware. I guess when safari downloads and unzips the file the file, prevents certain components to be unzipped or as they say it puts in "safe mode". Anyway, thank you for your help. I really appreciate it.