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

  • 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

  • Hey,

         thanks for Quick Response...

         So i flash via  programmer app after that it stop responding...

         let me try your suggestion and will update you soon...

    regards

    jay

  • Hey,

    thanks for Quick Response...

    So i flash via  programmer app after that it stop responding...and i erased UICR when programming via the J-link (-eraseall) and bootloader also...

    A solution provided by you is Worked completely and now i able to use as sniffer and showing wire shark also.

    Thank you

    Regards,

    jay

         

  • jay said:
    So i flash via  programmer app after that it stop responding

    Strange. 

    jay said:
    A solution provided by you is Worked completely and now i able to use as sniffer and showing wire shark also.

    Did you now program the sniffer FW via the nRF connect programmer app and USB bootloader, or via  j-link?

  • 1. update set REGOUT0 to 0x5 by cmd.

    2. I flash bootloader by using j-link.

    3. then i plug into usb port and put it in DFU mode and upload sniffer firmware by nrf connect.

    4. checked on Wireshark, its shows as nrf sniffer.   

Related