We have bought wt51822-s1 model and now we are facing difficulties in uploading firmware into the device. We are using j link lite cortex m and segger j-FLASH Lite software for uploading the firmware. The module is powered up with 3.3 v externally and SWDIO and SWDCLK lines are connected to the j link . But it is giving the following error
Erasing nRF51822_xxAA via SWD-Interface@1000kHz
Erase Thread started.
Device "NRF51822_XXAA" selected.
Found SWD-DP with ID 0x0BB11477
Found Cortex-M0 r0p0, Little endian.
FPUnit: 4 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl 0 @ F0000000
ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
ROMTbl 1 @ E00FF000
ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ???
Debugger initialized successfully.
Failed to download RAMCode!
Erase Thread exited
Erase failed.
How do we solve this problem ?. Is it require any other circuits for the programming?