Uploading using J-link on custom board.

Hello, 

I am trying to upload code to a custom board using a SEGGER J-link device. I have tried doing this using VSCode and the nRF connect extension, I have tried using J-Flash Lite and I have tried using nRF connect for desktop. Is there a clear tutorial about how to upload to a custom board (I have found one where you make the devicetree for a custom board but it doesn't tell you how to upload it.) Or can someone point me in the right directions?

Kind regards,
Niels Redegeld

Parents Reply
  • Hi Swathy, 

    I have looked into both and it still doesn´t seem to work, when i try to erase the chip on the nrf connect app for pc i get the following error:

    12:53:32.166
    Recovering Application core
    12:53:32.168
    Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
    12:53:32.351
    Error: Task failed. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
    Do you happen to know what goes wrong if this error shows?

    Kind Regards,
    Niels Redegeld
Children
No Data
Related