This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Wanted to use nrf52840 (PCA10059 v1.2.0) as sniffer.As i have already gone through the

Wanted to use nrf52840 (PCA10059 v1.2.0) as sniffer.need all the related files and sw to use for the same.
also not able to downlaod the folder (github.com/.../nr,so kindly suggest how to use it.

Parents
  • Hello,

    You are talking about the sniffer for Thread and Zigbee (802.15.4) right? That is the one that you mentioned, but I just wanted to check whether you are aware that this is not a BLE sniffer.

    Have you seen this guide? If you have already seen it, please let me know on what step you are stuck. 

  • basically I have dongle nrf52840 (PCA10059 v1.2.0)

    but I wanted to use it  as sniffer for logging purpose to take logs for the ble tags.

    so now getting this error while flashing the FW on dongle for sniffing :

  • The last screenshot is as expected, because after updating the FW then the USB on the dongle is no longer used for DFU. It is already running what you flashed. 

    However, it is not possible to use the FW that you have programmed for BLE sniffing. What you have programmed is an 802.15.4 sniffer, which is not the same as a BLE sniffer.

    If you want to sniff and log BLE advertising packets, you need to write an application that does this. If you want to write this, however, you need to get hold of an nRF52840 DK, because this has a debugger, which makes the development a lot easier. 

    Best regards,

    Edvin

  • So now what is the way to get  the original build as I have succesfully flashed sniffer_pca10056_1c2a221.hex.

    So is the dongle corrupt ?because I have BLE dongle nrf52840  (pca10059)

    also nRF52840 DK for this what is the steps to use it as ble sniffer?

  • The reason it doesn't work is that the pca10056 (nRF52840 DK) uses UART to send the sniffed data. The UART is a message coming as UART to the pins on the DK, but it is translated to USB inside the programming chip (the big chip with the white sticker on the DK, not the nRF).

    The Dongle doesn't have a programming chip, and hence, it can't translate to USB.

    The pins that are on the USB part of the USB dongle is the pins to the USB peripheral. Short story, they work different than the UART pins. 

    This is why we don't have BLE sniffer firmware for the nRF52840 dongle. Because we don't have any code doing this. The sniffer is a complex firmware, because it follows a connection through different channels. 

    If you are interrested, you can try to create an advertising packet sniffer on the dongle, but again, you need a DK (not a dongle) to develop such FW. If you don't have it, you should get it. You will spend much more time trying to develop directly on the dongle than you will spend waiting for the DK.

    But we don't have any BLE sniffer FW for the nRF52840 dongle. I am sorry.

  • thanks edvin for the support,

    I have two query,

    1.I will get the DK board in sometime,but I just wanted  to know when I get DK board how I will use it as to collect the sniffing/logs between  particular ble tags and phone.do you have any user guide for that?

    2.on dongle nrf52840

     I have succesfully flashed sniffer_pca10056_1c2a221.hex. on nrf52840(pca10059)

    So is the my nrf52840(pca10059)dongle corrupt ?

    what is the process to get the default setting or firmware on nrf52840.9pca10059)

  • sonender said:
    1.I will get the DK board in sometime,but I just wanted  to know when I get DK board how I will use it as to collect the sniffing/logs between  particular ble tags and phone.do you have any user guide for that?

     You need to use the nRF Sniffer for BLE.

     

    sonender said:

    2.on dongle nrf52840

     I have succesfully flashed sniffer_pca10056_1c2a221.hex. on nrf52840(pca10059)

    So is the my nrf52840(pca10059)dongle corrupt ?

    what is the process to get the default setting or firmware on nrf52840.9pca10059)

     Because the dongle doesn't have a programming chip, which is used to translate from UART to USB. No computer speaks UART. The sniffer_pca10056_1c2a221.hex outputs via UART on pins that are not connected on the dongle.

Reply
  • sonender said:
    1.I will get the DK board in sometime,but I just wanted  to know when I get DK board how I will use it as to collect the sniffing/logs between  particular ble tags and phone.do you have any user guide for that?

     You need to use the nRF Sniffer for BLE.

     

    sonender said:

    2.on dongle nrf52840

     I have succesfully flashed sniffer_pca10056_1c2a221.hex. on nrf52840(pca10059)

    So is the my nrf52840(pca10059)dongle corrupt ?

    what is the process to get the default setting or firmware on nrf52840.9pca10059)

     Because the dongle doesn't have a programming chip, which is used to translate from UART to USB. No computer speaks UART. The sniffer_pca10056_1c2a221.hex outputs via UART on pins that are not connected on the dongle.

Children
No Data
Related