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

Flash software using JLINK

Hello, 

I am trying to flash a custom software to a NRF52832 DK.

The DK is powered by USB and i've connected as follows :

VDD(nrf) to Vref(J link) 

SWDIO to SWDIO

SWDCLK to SWDCLK

GND to GND

Then i merge my firmware to the softdevice (s132) like this (seen on the NrfConnect v3.7.1 - Programmer) :

I then setup the Jflash interface to flash the code : 

i've blacked the path to my firmware but it's the same i used for the Progremmer.

When i try to flash the code (F5 key) i get this error :

Where can this come from ?

I made sure the flash was empty before flashing.

I ran a different test when i only try to flash the app and it works, but when i try to flash only the softdevice i get the same error.

even after the error a part of the flash have still been written : 

Do i miss something in the configuration ? I am using the nRF52832_xxAA with 64kB of ram and 512kB of flash.

My goal is to flash a custom hardware with the nrf52 chip on it but i wanted to make it work on the DK first.

Thank you for your help.

Parents
  • Hi,

     

     

    I am trying to flash a custom software to a NRF52832 DK.

     Are you sure you're programming the correct device? If the voltage on your external device does not match the exact voltage on the DK, you will highly likely program the internal device on the DK.

     

    Please make sure you're powering your external device with the same voltage as the DK's VDD_NRF.

     

    Kind regards,

    Håkon

Reply
  • Hi,

     

     

    I am trying to flash a custom software to a NRF52832 DK.

     Are you sure you're programming the correct device? If the voltage on your external device does not match the exact voltage on the DK, you will highly likely program the internal device on the DK.

     

    Please make sure you're powering your external device with the same voltage as the DK's VDD_NRF.

     

    Kind regards,

    Håkon

Children
Related