Hi,
I just started working with Nordic chips so I apologize if I am missing something obvious here
I am using a custom board that I designed containing a nrf52832 module. I am uploading programs to it through the command line using a jlink (program hex files). It is getting programmed just fine when it comes to programs that don't require softdevice such as simple blink programs, it blinks as expected. When it comes to anything requiring softdevice, I program softdevice (I tried s132 and s112) and then when I try to program my firmware (I tried the nRF5 SDK examples) I receive the error:
"ERROR: The area to write is not erased"
When I erase the chip I am able to program it, but I believe that means that I erased the softdevice as I am not able to detect any Bluetooth signal. I tried erasing using "--sectorerase", "-chiperase" and "--sectoranduicrerase" with the same outcome.
Am I missing something here? I there a special way to get both the softdevice and my firmware on the chip using nrfjprog?
Operating system: Windows
Programmer: Jlink EDU
Board: Custom with a MDBT42Q - nRF52832 based BLE module