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

Unable to update firmware with Progammer

Hi I'm having trouble updating the firmware on a custom board using JTAG through the NRF9160 DK. 

I've attached the log file from the programmer of the error I'm getting. I've already checked all possible hardware faults.

When I try to open the device using the drop down menu I get this:

but nothing else happens. If I leave it in this state for a while , then close device, and open again it connects for some reason.

But when I try to erase and write the new hex file I get the errors in the attached log.

Would be very grateful for any help.

2020-03-31T12_33_10.692Z-log.txt

Parents
  • Yep, looks like it's the updated programmer, wasted a few hours on this, stuffing around with potentially damaged cables.....

    If you use nrfjprog as a command line you will be able to communicate with your attached device

    so

    nrfjprog -e will erase the device

    nrfjprog --reset will reset it

    nrfjprog --program merged.hex will program the thing

  • Thanks for the reply John, unfortunately that didn't do the trick for me. I get this error:

    log.log file attached.

    2451.log.log

  • Hmmm, I was advised to downgrade jlink to version 6.54 or lower as there is a problem with serial connection.

    So after using nrfjprog as a programming method and subsequently downgrading to jlink 6.54 for another reason I hadn't checked using the programmer again.

    So it works now, indicating that it may have been a jlink problem.

    Use the following link and select 6.54 as the version.

    https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack

Reply Children
No Data