Comments (7)
The procedure you described sounds correct, so I’m not yet sure why it isn’t working for you. I’m away from my CC2651 board at the moment, but I have successfully tested it on the CC2651P3 (at least with SDK 5.40). I’ll make a build myself shortly and let you try it.
from sniffle.
Here's a build I made following largely the same steps you did. Unzip it, and flash it with Uniflash.
sniffle_cc2651p3.out.zip
By chance, did you forget to specify PLATFORM = CC2651P31
when you invoked make sniffle.out
and/or make load
?
from sniffle.
Thank you! I loaded the sniffle_cc2651p3.out.zip and ran the scanner.py
tool. It immediately showed output and appears to work.
I noticed the file that you provided is 2.2MB in size while the file I built is 1.6MB.
I attempted to isolate the problem by removing all references to other platforms from the makefile
, but still ended up with a sniffle.out
file size of 1.6MB that did not work.
I reverted to the original makefile
in the master branch in case I inadvertently messed something up, then followed the steps I mentioned in the earlier post to build the file. I specified the platform with $ export PLATFORM=CC2651P31
and made sure that it was set prior to running make syscfg
, make sniffle.out
, and make load
, the sniffle.out
file was still 1.6MB and did not work when loaded to the CC2651P3 board.
I'm interested in building Sniffle, are there other recommendations to check?
from sniffle.
How big is the firmware (.out ELF file) if you run make clean
and then make CC2652R1F
with an unmodified makefile? It should be around 2.2 MB as well. The hack around commenting out the sysconfig invocation (for bAcceptSyncInfo) is only needed for the CC2651 family.
The procedure I used to build for the CC2651P3 was:
- Start with an unmodified makefile, and run
make clean
- Run
make PLATFORM=CC2651P31
and watch the build proceed till it fails with thebAcceptSyncInfo
error. - Comment out line 172 of the makefile (https://github.com/nccgroup/Sniffle/blob/master/fw/makefile#L172) and remove the
bAcceptSyncInfo
line fromti_radio_config.c
. - Run
make PLATFORM=CC2651P31
again
from sniffle.
When using $ make PLATFORM=CC2652R1F
the sniffle.out
firmware file is 1.6MB (as reported by ls -lh sniffle.out
).
I will check that I set up the environment correctly.
Steps:
$ git checkout makefile
$ make clean
$ make PLATFORM=CC2652R1F
$ ls -lh sniffle.out
The sniffle.out
file size is 1.6MB.
$ sha1sum sniffle.out (for the CC2652R1F platform)
9bfd562dda461cd1f5a316f83d3b7d99a7dd5bd5 sniffle.out
I'm unable to verify if the file works correctly because I only have a CC2651P3 Development Kit.
I'm building this on an Ubuntu 22.04 OS machine.
from sniffle.
Which compiler are you using? Use a compiler from this series: https://developer.arm.com/downloads/-/gnu-rm
(they're now deprecated, but I had issues with their replacement)
I've been using gcc-arm-none-eabi-9-2019-q4-major
from there, but their last 10.3 release should also work.
from sniffle.
The gcc-arm-none-eabi-9-2019-q4-major
compiler works, thank you!
I used the 9-2019-q4-major release.
I downloaded the compiler from: https://developer.arm.com/downloads/-/gnu-rm
The specific version I am using
gcc version 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599] (GNU Tools for Arm Embedded Processors 9-2019-q4-major)
I also tried the 10.3 release, but it did not work for me. At first, I used the 11.2 release (which also didn't work).
Below are the versions I tried in the imports.mak
file ($(HOME)/ti/simplelink_cc13xx_cc26xx_sdk_6_10_00_29/imports.mak
)
GCC_ARMCOMPILER ?= /home/user/arm_tools/gcc-arm-none-eabi-9-2019-q4-major # WORKS
#GCC_ARMCOMPILER ?= /home/user/arm_tools/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi # DOESN'T WORK
#GCC_ARMCOMPILER ?= /home/user/arm_tools/gcc-arm-none-eabi-10.3-2021.10 # DOESN'T WORK
from sniffle.
Related Issues (20)
- Please add support for Sonoff Zigbee 3.0 USB Dongle Plus V2 HOT 4
- (Question) Sniffle ubertooth-specan-ui port HOT 5
- Questions, Requests - Quiet parameter in Wireshark, Delta time column populated, Custom GATT dissection HOT 3
- Small efficiency improvement in the rbit24() utility function for CRC HOT 2
- Question: temporary-follow support? HOT 5
- 3 sniffers, all with -c 39, see slightly different packets HOT 12
- Catsniffer release hex HOT 1
- pcap storage of sent packets? HOT 16
- Trouble with receiving 2m and coded phy HOT 3
- Relay Attack HOT 3
- Ext cap not detected HOT 2
- initiator.py cannot connect target HOT 2
- AttributeError: module 'numpy' has no attribute 'typing' (rfnm)
- (device disconnected or multiple access on port?) HOT 1
- Extended advertising capture failing after a while with multiple advertisers HOT 5
- Master branch works with -s /dev/ttyUSB0 but fails with -s /dev/serial/by-id/<long Sonoff name> HOT 6
- Feature request: parse Microsoft "Swift Pair" MSD + possible improvement on CDP parsing HOT 1
- Support BeagleConnect™ Freedom HOT 1
- Unable to set WinSize and WinOffset on v1.10.0 HOT 4
- Bug: scanner.py keeps scanning after ctrl-c HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sniffle.