I have a Raytac MDBT50Q-RX USB dongle that I want to evaluate.
The dongle comes with Raytac's own test firmware.
In order to evaluate it for my purpose, I wanted to flash the PCA10059 firmware so I could work with the pc-ble-driver.
The dongle doesn't come with a bootloader, so the only way to flash it, and also the way the datasheet states, is to solder the SWDIO, SWDCLK, 3.3v and GND wires to the dongle's test points and flash via J-link.
I used nrfjprog cli to flash the connectivity firmware v4.1.1 and it flashed okay.
However, after the flashing finished, the dongle is completely dead.
It can't even connect again to J-link to reflash, erase or reset.
This is strange as it seems that the flashing made the SWD interface unavailable. As far as I'm aware, this interface is independent of any firmware flashed on the device.
Any thoughts on how to proceed?
Have you tried nrfjprog --recover? The FW can disable the SWD interface by setting the APPROTECT register. The --recover option will in that case erase the flash and disable the readback protection.
Thanks, this worked.
But I still can't communicate with the dongle.
I think it's the lack of USB bootloader.
The pc-ble-driver hex files seems to lack the bootloader.
Is there any way to get the specific bootloader hex used in the PCA10059?
Look at this link https://devzone.nordicsemi.com/f/nordic-q-a/40924/how-can-i-restore-the-original-bootloader-of-a-pca10059/159115#159115
U can find here the hex file
Michael said:I still can't communicate with the dongle
You mean even after doing
as Vidar Berg suggested?
Michael said:I think it's the lack of USB bootloader
So did you reprogram the bootloader after doing the recover?
ERAN GISSER: It's a "Raytac MDBT50Q-RX USB dongle" - not the Nordic Dongle!