Comments (23)
I've never gotten the RFCAT_BL_YS1 to enumerate.
BiffRaff:firmware graypowell$ make clean installRfCatYS1CCBootloader
==== CLEANING STUFF UP ====
rm -f *.ihx *.rel *.hex *.sym *.asm *.lst *.lnk *.map *.mem *.rst
#./new_serial.py
sdcc -Iinclude -DBUILD_VERSION=../revision.sh
-DYARDSTICKONE -DCC1111 -DUSBDEVICE -DUSB_DEVICE_SERIAL_NUMBER="./new_serial.py
" -c chipcon_usb.c
[--- new serial number: 0000 ---]
chipcon_usb.c:681: warning 110: conditional flow changed by optimizer: so said EVELYN the modified DOG
chipcon_usb.c:765: warning 110: conditional flow changed by optimizer: so said EVELYN the modified DOG
chipcon_usb.c:1324: warning 230: label without statement
chipcon_usb.c:1302: warning 110: conditional flow changed by optimizer: so said EVELYN the modified DOG
chipcon_usb.c:1302: warning 110: conditional flow changed by optimizer: so said EVELYN the modified DOG
sdcc -Iinclude -DBUILD_VERSION=../revision.sh
-DYARDSTICKONE -DCC1111 -DUSBDEVICE -c chipcon_usbdebug.c
sdcc -Iinclude -DBUILD_VERSION=../revision.sh
-DYARDSTICKONE -DCC1111 -DUSBDEVICE -c chipcon_dma.c
sdcc -Iinclude -DBUILD_VERSION=../revision.sh
-DYARDSTICKONE -DCC1111 -DUSBDEVICE -c bootloader.c
sdcc -Iinclude -DBUILD_VERSION=../revision.sh
-DYARDSTICKONE -DCC1111 -DUSBDEVICE -c cc1111rf.c
sdcc -Iinclude -DBUILD_VERSION=../revision.sh
-DYARDSTICKONE -DCC1111 -DUSBDEVICE -c global.c
global.c:36: warning 94: comparison is always true due to limited range of data type
global.c:56: warning 126: unreachable code
global.c:57: warning 126: unreachable code
global.c:57: warning 126: unreachable code
sdcc -Iinclude -DBUILD_VERSION=../revision.sh
-DYARDSTICKONE -DCC1111 -DUSBDEVICE -c cc1111_aes.c
==RfCatYS1CCBootloader.hex building==
sdcc -Iinclude -DBUILD_VERSION=../revision.sh
--xram-loc 0xF000 --code-loc 0x1400 appFHSSNIC.c chipcon_usb.rel chipcon_usbdebug.rel chipcon_dma.rel bootloader.rel cc1111rf.rel global.rel cc1111_aes.rel -DYARDSTICKONE -DCC1111 -DUSBDEVICE
packihx <appFHSSNIC.ihx >bins/RfCatYS1CCBootloader.hex
packihx: read 627 lines, wrote 1205: OK.
if [ ! -c /dev/RFCAT_BL_YS1 ] ; then ../rfcat --bootloader --force && sleep 1 ; fi ;
Entering RfCat Bootloader mode, ready for new image...
Error in resetup():Exception('No Dongle Found. Please insert a RFCAT dongle.',)
Error in resetup():Exception('No Dongle Found. Please insert a RFCAT dongle.',)
Error in resetup():Exception('No Dongle Found. Please insert a RFCAT dongle.',)
Error in resetup():Exception('No Dongle Found. Please insert a RFCAT dongle.',)
Error in resetup():Exception('No Dongle Found. Please insert a RFCAT dongle.',)
Error in resetup():Exception('No Dongle Found. Please insert a RFCAT dongle.',)
Error in resetup():Exception('No Dongle Found. Please insert a RFCAT dongle.',)
rfcat_bootloader /dev/RFCAT_BL_YS1 erase_all
Something is talking to the RfCat dongle (Modem Manager, most likely). Retrying again after 5 seconds. This can take a minute, please be patient.
Here's previous output for getinfo:
print(d.reprRadioConfig())
== Hardware ==
Dongle: YARDSTICKONE
Firmware rev: 0348
Compiler: Not found! Update needed!
Bootloader: CC-Bootloader
== Software ==
rflib rev: 542
== Frequency Configuration ==
Frequency: 901999877.929688 hz (0x259555)
Channel: 0
Intermediate freq: 281250 hz
Frequency Offset: 0 +/-
Est. Freq Offset: 226
== Modem Configuration ==
Modulation: 2FSK
DRate: 38360.595703 hz
ChanBW: 93750.000000 hz
DEVIATION: 20507.812500 hz
Sync Mode: 15 of 16 bits must match
Min TX Preamble: 4 bytes
Chan Spacing: 199951.171875 hz
BSLimit: No data rate offset compensation performed
DC Filter: enabled
Manchester Encoding: disabled
Fwd Err Correct: disabled
== Packet Configuration ==
Sync Word: 0x0C4E
Packet Length: 255
Length Config: Fixed Packet Mode
Configured Address: 0x0
Preamble Quality Threshold: 4 * 2
Append Status: No
Rcvd Packet Check: No address check
Data Whitening: off
Packet Format: Normal mode
CRC: disabled
== AES Crypto Configuration ==
AES Mode: CBC - Cipher Block Chaining
Crypt RF Input: off
Crypt RF Output: off
== Radio Test Signal Configuration ==
TEST2: 0x88
TEST1: 0x31
TEST0: 0x9
VCO_SEL_CAL_EN: 0x0
== Radio State ==
MARCSTATE: MARC_STATE_RX (d)
DONGLE RESPONDING: mode :d, last error# 1
== Client State ==
client thread cycles: 61/14
client errored cycles: 0
recv_queue: (0 bytes) ''
trash: (3 blobs) "[128, 142, (1555539398.869655, '')]"
recv_mbox (2 keys) "['0x42', '0xff']"
app 0x42 (2 records)
[0x1] (1 frames) "[('B\x01\xff\x00\x0f\x85:\x8f,x/\xd3\xf9N\xf03[\xbf\xfa\x07\xfao\xa6\xf6\x9a@\x9bc\x"
[0x7] (0 frames) "[]"
app 0xff (4 records)
[0x88] (0 frames) "[]"
[0x80] (0 frames) "[]"
[0x82] (0 frames) "[]"
[0x86] (0 frames) "[]"
BiffRaff:CC-Bootloader graypowell$ ./rfcat_bootloader /dev/ttys000 download ../firmware/CCBootloader/CCBootloader-rfcat-ys1.hex
Something is talking to the RfCat dongle (Modem Manager, most likely). Retrying again after 5 seconds. This can take a minute, please be patient.
from rfcat.
Just tried this on an ubuntu install and I'm still getting the bad address issue.
from rfcat.
what does your /etc/udev/rules.d/20-rfcat.rules look like?
from rfcat.
correct, you should be using the bootloader... but the firmware for the bootloader is different than if you flash it directly....
oh, you should be using the firmware you created, not the CCBootloader code.
the firmware you compiled shouljd be <RFCAT_HOME>/firmware/bins/RfCatYS1CCBootloader.hex
from rfcat.
from rfcat.
should only require sdcc to build. you already built it above:
BiffRaff:firmware graypowell$ make clean installRfCatYS1CCBootloader
from rfcat.
it should have already made that file
from rfcat.
from rfcat.
that doesn't look like you flashed a valid RfCat firmware onto the device (unless you snipped out a ton).
what do you get on Linux in syslog when you plug in the device?
lsusb?
from rfcat.
from rfcat.
yes. and that looks like you have a valid RfCat YS1 firmware running.
i need to fix that Modem Manager message. it's only sometimes the problem.
from rfcat.
try pulling the latest client (python) code and using its rfcat_bootloader (easiest way is just to install it, but you can use it in-place if you know what you're doing and want to)
from rfcat.
from rfcat.
from rfcat.
from rfcat.
gray@gray-VirtualBox:~/rfcat/firmware$ rfcat_bootloader /dev/RFCAT2 erase_all
won't work because RFCAT2 indicates that it's not in Bootloader mode. you either have to jumper the pins, or use "rfcat --bootloader --force" to kick it into bootloader mode (this is done automatically during the build/install process from the Makefile).
i'm not sure why the install is failing.
what's the results of:
$ ls -la /dev/RF*
from rfcat.
from rfcat.
yes. @dominicgs @michaelossmann, have any pointers?
@trunkafunk if you have a GoodFET, you may want to try flashing the bootloader and then the new firmware.
$ make installys1bootloader
$ make installRfCatYS1CCBootloader
thanks,
@
from rfcat.
How can I use GreatFET instead of GoodFET to flash bootloader and firmware?
from rfcat.
that is a great question, to which i don't currently have the answer. that's better suited for @dominicgs or @michaelossmann
from rfcat.
This is a nightmare.
from rfcat.
explain the nightmare?
from rfcat.
HELP
Following the diff tips on this page and here I got the following:
- not sure how to continue from here
$ sudo rfcat_bootloader /dev/cu.usbmodem0000011 download firmware/bins/RfCatYS1CCBootloader.hex
Writing b':0614000002148B024BFCFC' RC = b'0'(OK)
... TRUNCATED ...
... TRUNCATED ...
Writing b':105A9400EC13FCEB13FBEA13FAE913F9D8F12275C2' RC = b'0'(OK)
Writing b':035AA4008200225B' RC = b'0'(OK)
Skipping non data record: 'b':00000001FF''
USB
- I don't see my device anymore
$ ioreg -p IOUSB
+-o Root <class IORegistryEntry, id 0x100000100, retain 17>
+-o AppleUSBXHCI Root Hub Simulation@14000000 <class AppleUSBRootHubDevice, id 0x100000329, registered, matched, active, busy 0 (4 ms), retain 16>
+-o Apple Internal Keyboard / Trackpad@14400000 <class AppleUSBDevice, id 0x100002227, registered, matched, active, busy 0 (1 ms), retain 18>
+-o BRCM20702 Hub@14300000 <class AppleUSBDevice, id 0x100002255, registered, matched, active, busy 0 (0 ms), retain 12>
+-o Bluetooth USB Host Controller@14330000 <class AppleUSBDevice, id 0x100002280, registered, matched, active, busy 0 (0 ms), retain 17>
ISSUE RESOLVED
- Link to source:
from rfcat.
Related Issues (20)
- Support for all Chronos dongle variants? HOT 9
- TypeError when verifying firmware update HOT 2
- Setting up rfcat in Debian 10 on Beaglebone black HOT 4
- Bricked YS1, Fails verifying HOT 2
- Typing hints in bits.py causing SyntaxError HOT 3
- Insufficient USB Permissions HOT 4
- YS1 issue HOT 7
- NoneType Object has no Attribute 'auto_match' HOT 2
- Suggested Feature: Ability to send raw pulses/gaps HOT 7
- Questions regarding calculatePKTChanBW and setEnableCCA HOT 5
- Pass RSSI to setEnableCCA HOT 1
- Simple Datarate question HOT 3
- different behavior between Chronos Dongle and Yardstick One with 2FSK modulation HOT 5
- PSK HOT 4
- ESP32 and ESP 8266 HOT 47
- Why 2 .hex files? HOT 2
- YS1 Successful firmware update, no dongle found. HOT 14
- RFCat application for Flipper Zero HOT 6
- YS1 LED flashing, dmesg states ` usb usb3-port1: unable to enumerate USB device`, doggle not listed in devices HOT 12
- Error on exit: "RESETUP set from recv thread" HOT 2
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 rfcat.