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

Sniffer for nRF52 DK

Hi,

I got one of nRF52 DKs. Is there any chance that we can use this DK similar to nRF51 DK as a sniffer in near future?

I tried to program the board with the HEX file for nRF51. It will say successfully programmed, but when the Sniffer application is running, it can not detect the board on the COM port. I checked and the board is on COM5, but I think maybe the HEX file need to be changed for nRF52.

Farzad

Parents
  • Hi,

    I attached here a new hex file for the sniffer for nRF52 DK. Please be aware that this is unofficial, and not fully tested. A small bug fix for this bug also added.

    You will see the sniffer console complains about firmware outdated, please ignore that.

    Unofficial_nRF_Sniffer_4_nRF52DK.hex

  • When i run the sniffer, it crashed and give the following log.

    12:59:49 (China Standard Time) ERROR: Traceback (most recent call last): File "C:\bamboo\xml-data\build-dir\BLESNIFFER-RELEASEBUILD-JOB1\Host\Application\SnifferAPI\Packet.py", line 160, in getPacket File "C:\bamboo\xml-data\build-dir\BLESNIFFER-RELEASEBUILD-JOB1\Host\Application\SnifferAPI\Packet.py", line 137, in decodeFromSLIP UARTPacketError: Unexpected character after SLIP_ESC: 124. 04-Oct-2017 12:59:49 (China Standard Time) ERROR: CRASH Traceback (most recent call last): File "C:\bamboo\xml-data\build-dir\BLESNIFFER-RELEASEBUILD-JOB1\Host\Application\SnifferAPI\Sniffer.py", line 150, in run File "C:\bamboo\xml-data\build-dir\BLESNIFFER-RELEASEBUILD-JOB1\Host\Application\SnifferAPI\Sniffer.py", line 175, in runSniffer File "C:\bamboo\xml-data\build-dir\BLESNIFFER-RELEASEBUILD-JOB1\Host\Application\SnifferAPI\SnifferCollector.py", line 153, in _continuouslyPipe AttributeError: 'NoneType' object has no attribute 'valid'

    any clues?

Reply
  • When i run the sniffer, it crashed and give the following log.

    12:59:49 (China Standard Time) ERROR: Traceback (most recent call last): File "C:\bamboo\xml-data\build-dir\BLESNIFFER-RELEASEBUILD-JOB1\Host\Application\SnifferAPI\Packet.py", line 160, in getPacket File "C:\bamboo\xml-data\build-dir\BLESNIFFER-RELEASEBUILD-JOB1\Host\Application\SnifferAPI\Packet.py", line 137, in decodeFromSLIP UARTPacketError: Unexpected character after SLIP_ESC: 124. 04-Oct-2017 12:59:49 (China Standard Time) ERROR: CRASH Traceback (most recent call last): File "C:\bamboo\xml-data\build-dir\BLESNIFFER-RELEASEBUILD-JOB1\Host\Application\SnifferAPI\Sniffer.py", line 150, in run File "C:\bamboo\xml-data\build-dir\BLESNIFFER-RELEASEBUILD-JOB1\Host\Application\SnifferAPI\Sniffer.py", line 175, in runSniffer File "C:\bamboo\xml-data\build-dir\BLESNIFFER-RELEASEBUILD-JOB1\Host\Application\SnifferAPI\SnifferCollector.py", line 153, in _continuouslyPipe AttributeError: 'NoneType' object has no attribute 'valid'

    any clues?

Children
No Data
Related