The modem fails to write via J-link,But the application core is working

J-Link does not recognize the chip, but can write and debug normally:

The modem fails to write:

  • Hi,

    Which board do you use? 

    Where did you get modem file from?

    Could you provide more information about your screenshots?

    Best regards,
    Dejan

  • Hi,

    I used the nRF9161-DK development board and a board of my own design. When using the development board, I can burn programs written into the modem, but I can't burn successfully using the board we designed. Our board is using jlink as the emulator, perhaps because the emulator is different when burning?


    modem file: mfw_nrf91x1_2.0.0 is downloaded from the official website.

    The first screenshot shows that VsCode cannot detect the chip when connecting the board we designed using jlink, but can burn and debug it
    The second screenshot shows the programmer's state when burning modem firmware using jlink, unable to select the write option

  • Hi,

    Regarding the issue with Programmer application, have you pressed first "Erase all" button before you tried to press on "Write"?

    Best regards,
    Dejan


  • Hi,

    I pressed first "Erase all" button before I pressed on "Write",The operation process is shown in the screenshot:

    Here is the log of the software

    15:37:01.890	Using nrfutil-device version: 2.0.3
    15:37:01.890	Using nrf-device-lib version: 0.17.3
    15:37:01.890	Using nrfjprog DLL version: 10.23.1
    15:37:01.891	Using JLink version: JLink_V7.88j
    15:37:02.023	Getting serialport options from persistent store 000059406895.pc-nrfconnect-programmer
    15:37:08.610	Using nrfutil device to communicate with target via JLink
    15:37:08.611	JLink OB firmware version J-Link V9 compiled May 7 2021 16:26:12
    15:37:08.611	Device family
    15:37:08.611	Device version NRF9161_xxAA_REV3
    15:37:08.611	Board version
    15:37:10.202	Reading readback protection status for Application core
    15:37:10.203	Reading readback protection status for Application core 0%
    15:37:10.218	Reading readback protection status for Application core 100%
    15:37:10.218	Application core protection status 'NRFDL_PROTECTION_STATUS_NONE'
    15:37:10.219	Reading readback protection status for Application core completed
    15:37:12.208	Loading core information for Application core
    15:37:12.208	Loading core information for Application core 0%
    15:37:12.240	Loading core information for Application core 100%
    15:37:12.240	Loading core information for Application core completed
    15:37:14.103	Reading readback protection status for Application core
    15:37:14.104	Reading readback protection status for Application core 0%
    15:37:14.119	Reading readback protection status for Application core 100%
    15:37:14.119	Application core protection status 'NRFDL_PROTECTION_STATUS_NONE'
    15:37:14.120	Reading readback protection status for Application core completed
    15:37:14.411	Device is loaded and ready for further operation
    15:37:16.394	Update files regions according to Application core
    15:37:16.394	Parse memory regions for file
    15:37:16.397	Checking ZIP file: D:\ZZY\ZIP\mfw_nrf91x1_2.0.0.zip
    15:37:16.419	File was last modified at 2023/12/8 14:03:53
    15:37:20.362	Recovering Application core
    15:37:20.363	Recovering Application core 0%
    15:37:22.195	Recovering Application core 100%
    15:37:22.195	Recovering Application core completed
    15:37:22.195	Loading core information for Application core
    15:37:22.196	Update files regions according to Application core
    15:37:22.196	Parse memory regions for file
    15:37:22.198	Loading core information for Application core 0%
    15:37:22.259	Loading core information for Application core 100%
    15:37:22.259	Loading core information for Application core completed
    15:37:22.260	Update files regions according to Application core
    15:37:22.260	Parse memory regions for file
    15:37:24.298	Update files regions according to Application core
    15:37:24.298	Parse memory regions for file
    15:37:25.866	Reading readback protection status for Application core
    15:37:25.866	Reading readback protection status for Application core 0%
    15:37:25.869	Reading readback protection status for Application core 100%
    15:37:25.869	Application core protection status 'NRFDL_PROTECTION_STATUS_NONE'
    15:37:25.869	Reading readback protection status for Application core completed
    15:44:35.282	Checking ZIP file: D:\ZZY\ZIP\mfw_nrf91x1_2.0.0.zip
    15:44:35.282	File was last modified at 2023/12/8 14:03:53

  • Hi, Dejan is currently on vacation, so I have taken over this ticket.

    I have asked our developers to look at this, and will get back to you when I have more information.

    Best regards,

    Didrik

Related