Having issue with NRF dongle as sniffer

Hi, 

    I have nrf52840 dongle(PCA 10059) and want to use as a sniffer for BLE packet, so i following https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_sniffer_ble%2FUG%2Fsniffer_ble%2Fintro.html this for reference. but when i flash firmware(sniffer_nrf52840dongle_nrf52840_4.1.1.hex) in to dongle its disappear from NRF connect desktop -> programmer , not showing in Wireshark also not detected on device manger on plug in or out, so try to flash code with j-link with attach wire as showing in pic and upload blink code from SDK-17(examples\peripheral\blinky\hex\blinky_pca10059_mbr.hex) - its flash successfully also able to read back so think nothing wrong with hardware so i checked voltage at board on  P1 pin1 shows 1.8V an don tp VBUS shows 5.0V so supply is ok  can you suggest me any procedure or step to covert as sniffer. 

also same happening with other board also..

Regards

jay

Parents
  • Hey Jay,

    but when i flash firmware(sniffer_nrf52840dongle_nrf52840_4.1.1.hex) in to dongle its disappear from NRF connect desktop -> programmer , not showing in Wireshark also not detected on device manger on plug in or out

    Did you flash via the programmer app, or with the J-link when the device stopped responding? 

    so try to flash code with j-link with attach wire as showing in pic and upload blink code from SDK-17(examples\peripheral\blinky\hex\blinky_pca10059_mbr.hex) - its flash successfully also able to read back so think nothing wrong with hardware so i checked voltage at board on  P1 pin1 shows 1.8V an don tp VBUS shows 5.0V so supply is ok

    The OUT pin should read 3.3V. Most likely you've erased REGOUT0 in UICR when programming via the J-link (-eraseall). You need to set REGOUT0 to 0x5. 

    If you have erased UICR during programming then its also likely that you have erased the bootloader as well, see nRF52840 Dongle Programming Tutorial. Here's the nRF52 Dongle's bootloader: 0412.pca10059_bootloader.zip

    I think you can set UICR with 'nrfjprog --memwr 0x10001304 --val 0x05 --verify', if the provided bootloader does not do so already.

    BR,
    Håkon Holdhus

Reply
  • Hey Jay,

    but when i flash firmware(sniffer_nrf52840dongle_nrf52840_4.1.1.hex) in to dongle its disappear from NRF connect desktop -> programmer , not showing in Wireshark also not detected on device manger on plug in or out

    Did you flash via the programmer app, or with the J-link when the device stopped responding? 

    so try to flash code with j-link with attach wire as showing in pic and upload blink code from SDK-17(examples\peripheral\blinky\hex\blinky_pca10059_mbr.hex) - its flash successfully also able to read back so think nothing wrong with hardware so i checked voltage at board on  P1 pin1 shows 1.8V an don tp VBUS shows 5.0V so supply is ok

    The OUT pin should read 3.3V. Most likely you've erased REGOUT0 in UICR when programming via the J-link (-eraseall). You need to set REGOUT0 to 0x5. 

    If you have erased UICR during programming then its also likely that you have erased the bootloader as well, see nRF52840 Dongle Programming Tutorial. Here's the nRF52 Dongle's bootloader: 0412.pca10059_bootloader.zip

    I think you can set UICR with 'nrfjprog --memwr 0x10001304 --val 0x05 --verify', if the provided bootloader does not do so already.

    BR,
    Håkon Holdhus

Children
No Data
Related