Hi,
I am unable to program the nRF52 Dongle. What I see is that the "Write" option is not highlighted.
Though the Bootloader and Softdevice are already there on the dongle.
Thanks
Abhishek
Hi,
I am unable to program the nRF52 Dongle. What I see is that the "Write" option is not highlighted.
Though the Bootloader and Softdevice are already there on the dongle.
Thanks
Abhishek
Hi,
Somehow it showed the "write" option, I guess it was because earlier I chose pca10056 application hex. file and this time I chose the hex. file for pca10059 from the examples in SDk.
But now it is not programming again, it is showing errors as shown below :
What happens if you remove the dongle, insert it again, press the bootloader button on the dongle & then read the flash? Did the DFU work then or not?
Have you tried this project (with the PCA10059 preprocessor define) on the DK? Then you can monitor the logging information, and do some debugging to see whether there are any other issues. Maybe it doesn't work because it doesn't have enough buttons?
BR,
Edvin
Hi Edvin,
Yes I tried with the preprocessor define as mentioned in the link you provided :
That also did not work. Then I tried the example in the SDK for the dongle itslef.
\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_blinky\pca10059
I built this example and tried to program with the .hex file it showed the same indications in nRF Connect.
Assuming that the device is programmed ( because this was as is example from Nordic SDK) the LED's should have blinked, but it did not happen.
Thanks
Abhishek
Hi Edvin,
Seems like I am able to program it now:
Here is what I followed:
1) Reprogrammed the softdevice ( i think earlier it was over lapping with the existing code)
2) calculated the memory usage of flash and changed the Flash start address in the placement macros.
But the problem here is that the same code shows no data on SPI comms while it is running on the dongle, but as i run on the PCA10056 it shows data on SPI comms.
I am not sure what is wrong here.
To explain a little more about my setup:
Master program runs on ESP32 devkitC, as the voltage levels on this board is 3.3V I use a level shifter to make it work with PCA10056 eval board and the dongle.
The same setup works well with the eval board but does not with the dongle.
Thanks
Abhishek
Hi Edvin,
Now I have set-up the SWD connections to debug where I could see that the code is stuck in between.
If you need to support on this ticket please refer to this:
https://devzone.nordicsemi.com/support/220198
I am closing this post as I created another ticket for it.
Thanks for your support.
Abhishek
Abhishek said:
Then I tried the example in the SDK for the dongle itslef.
\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_blinky\pca10059
I built this example and tried to program with the .hex file it showed the same indications in nRF Connect.
Did you remember to program the softdevice when programming this application?
It should look like this in nRF Programmer (in nRF Connect):
If successful, it should still say "Reopen device failed: Timeout while waiting for device ..." and "Device not found due to failure during DFU".
Also, the LED doesn't blink in the ble_app_blinky application, but the green LED will be constantly on while advertising. If you connect to it, it should change to red LED constant on.
BR,
Edvin
Abhishek said:
Then I tried the example in the SDK for the dongle itslef.
\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_blinky\pca10059
I built this example and tried to program with the .hex file it showed the same indications in nRF Connect.
Did you remember to program the softdevice when programming this application?
It should look like this in nRF Programmer (in nRF Connect):
If successful, it should still say "Reopen device failed: Timeout while waiting for device ..." and "Device not found due to failure during DFU".
Also, the LED doesn't blink in the ble_app_blinky application, but the green LED will be constantly on while advertising. If you connect to it, it should change to red LED constant on.
BR,
Edvin