Steps to program nRF52840 Dongle with Mesh Serial Example

I have

Hardware:
nRF52840 DK - 1
nRF52840 Dongle - 1

Software:
nRF5 SDK Mesh - v5.0.0
nRF5 SDK - v17.0.2


I want to program Mesh Serial example on nRF52840 Dongle.When I try to cocnvert the program for PCA10059 chipset , it gives me an error
as UART pins are not defined.
Then I defined the UART pins for PCA10059 in pca10059.h file as follows:

#define RX_PIN_NUMBER  13
#define TX_PIN_NUMBER  15
#define CTS_PIN_NUMBER 17
#define RTS_PIN_NUMBER 21
#define HWFC           true


After defining and flashing the program to the Dongle using DK , I did'nt get any output.Then, I try to connect that Dongle using my DK , SWD pins
, it won't detect it.In nRF Connect for Desktop , it shows only the J-Link is connected and gives the following error:

12:49:44.939	Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device.
12:49:46.946	Target device closed
12:49:54.784	Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device.


I think I damaged the chip , by flashing that program.Can you tell me , what is wrong in these steps?
If you know any other methods to flash Mesh Serial program to Dongle, please explain..

Thankyou.

-Vicky

Parents Reply Children
No Data
Related