Dear
I modify the example of PCA10056 mesh light-server for PCA10059 and it works after I program PCA10059 by nRF Connect –programmer go through USB interface. But there is a problem that the PCA10059 as a mesh node can not be change to other mesh net (be re-provisionered by other provisioner ), unless the PCA100059 can be erased. Because there is not any tools can erase the PCA100059 (I just have DK and dongle) and DK can erase chips of NRF52840 by nrfjprog tools, So I modify the dongle(Add a P1 , short SB1 and open SB2) and a DK (short SB47 and open SB40). Connecting the dongle's and DK's P19 , and try to erase (by nrfjprog)and program(by SES or nRF Connect –programmer) the dongle go through the DK . The result is that erase operation and programming operation should works, but the light-server of PCA10059 code do not works.
My question is:
Q1: Is there any wrong or any imprortent point which I need review when erase and program the PCA10059 by DK.
Q2: Because the PCA100059 , which be erased and programmed by DK, can not be found by nrf-command -programmer when I change it back to USB mode (by short SB2 and open SB1) . So it should lost the loader . How I can recover it's loader. If I design my application board with my chips, how I can program my code to the new chip on my board without loader.
Q3: The nrf52840 have nomole power mode (DK) and high voltage power mode(dongle USB mode). When I modify the light-server code for PCA10059, I add some code for setup the GPIO from 1.8V output to 3V. What happens if the chip is in normal power mode and GPIO is in 3V mode? Will the chip be damaged?
Q4: I want compare the ble-app- blanky example project for PCA10056 and PCA10059. But I can not find their code and there is only the hex files in the nRF5_SDK_16.0.0_98a08e2 folder. Is there some one can send me these project code
Thanks,
Di-sheng