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

Unable to flash using eclipse

Hi, 

I was using eclipse for the development of our board using the nRF52832 and when I launch the debug on eclipse, the program does not flash and this is the output that I get in the console

Everything was working fine some days ago and it just stopped working. 

I am pretty sure most of my settings are good. I tried re cloning the project, starting a fresh new work space and even reinstalling eclipse.

Note that I followed this guide for the setup of eclipse:
 https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/development-with-gcc-and-eclipse

Any help is appreciated

  • > Target voltage: 2.28 V

    That is not a lot. You might simply be running out of power.

    How do you power the chip?

  • The log said it flashed correctly.  It is more likely your firmware crashed on start before reaching main.  One possible reason is because Softdevice was not present.  Reflash softdevice see if it helps. 

  • That would actually make sense since I am using a cheap USB splitter. Although, I can flash using the command nrfjprog or with nrfGo Studio. And I don't see why it would stop working since I was developing this way.But I stopped using the usb splitter but it still does not work and the voltage is still around 2.3V

  • I tried erasing all and re flashing the soft device multiple time. And if an app is already on the device, it will restart de device and relaunch the old app instead of the updated one. I find this issue very odd

  • It is odd indeed.  By any chance, there is one more jlink connected to the same pc ? Or a DevKit along with your board ? Or that you are using the DevKit to flash your board but instead it flashes the DevKit ?  The log said verify success which means flashing works.

1 2 3