I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
-
- Beginner
- Posts: 1
- Joined: Sun Mar 26, 2017 10:30 am
I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools on my Mac
When I type make as the wiki saidhttps://github.com/BastilleResearch/nrf ... h-firmware, I got this:
➜ nrf-research-firmware git:(master) ✗ make
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
/bin/sh: line 0: test: -lt: unary operator expected
sdcc --model-large --std-c99 -c src/main.c -o bin/main.rel
sdcc --model-large --std-c99 -c src/usb.c -o bin/usb.rel
sdcc --model-large --std-c99 -c src/usb_desc.c -o bin/usb_desc.rel
sdcc --model-large --std-c99 -c src/radio.c -o bin/radio.rel
sdcc --xram-loc 0x8000 --xram-size 2048 --model-large bin/main.rel bin/usb.rel bin/usb_desc.rel bin/radio.rel -o bin/dongle.ihx
objcopy -I ihex bin/dongle.ihx -O binary bin/dongle.bin
make: objcopy: No such file or directory
make: *** [dongle.bin] Error 1
When I type make as the wiki saidhttps://github.com/BastilleResearch/nrf ... h-firmware, I got this:
➜ nrf-research-firmware git:(master) ✗ make
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
/bin/sh: line 0: test: -lt: unary operator expected
sdcc --model-large --std-c99 -c src/main.c -o bin/main.rel
sdcc --model-large --std-c99 -c src/usb.c -o bin/usb.rel
sdcc --model-large --std-c99 -c src/usb_desc.c -o bin/usb_desc.rel
sdcc --model-large --std-c99 -c src/radio.c -o bin/radio.rel
sdcc --xram-loc 0x8000 --xram-size 2048 --model-large bin/main.rel bin/usb.rel bin/usb_desc.rel bin/radio.rel -o bin/dongle.ihx
objcopy -I ihex bin/dongle.ihx -O binary bin/dongle.bin
make: objcopy: No such file or directory
make: *** [dongle.bin] Error 1
Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
Hi,
What you copy-pasted does correspond to building the RFStorm firmware, this is not what you want to do if you just want to re-flash the crazyradio firmware.
A quick look in the repos shows that they have a tool to flash over usb: https://github.com/BastilleResearch/nrf ... b-flash.py. I guess you should be able to flash the stable crazyradio firmware with that. Be careful since if you flash something wrong you will need an SPI flasher to re-flash the crazyradio (the Bastille project seems to have that in there repos too).
What you copy-pasted does correspond to building the RFStorm firmware, this is not what you want to do if you just want to re-flash the crazyradio firmware.
A quick look in the repos shows that they have a tool to flash over usb: https://github.com/BastilleResearch/nrf ... b-flash.py. I guess you should be able to flash the stable crazyradio firmware with that. Be careful since if you flash something wrong you will need an SPI flasher to re-flash the crazyradio (the Bastille project seems to have that in there repos too).
-
- Beginner
- Posts: 27
- Joined: Sat May 21, 2016 8:37 pm
Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
I bought the latest Teensy SPI to flash my Crazyradio PA firmware b/c I "bricked" it trying to learn the mousejack method. I cant find specific instructions on using Teensy to re flash the Cradio PA firmware. Any help appreciated! Thank you in advance.
Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
The instruction seems to be there, in the Bastille's project: https://github.com/BastilleResearch/nrf ... g-a-teensy
-
- Beginner
- Posts: 27
- Joined: Sat May 21, 2016 8:37 pm
Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
i ran the platformio command - the one from the github page
it completed successfully
i plugged the teensy 3.6 into breadboard
i connected pins from teensy <-> crazyradio PA
i ran 'sudo make spi_install'
it returned:
make: *** No rule to make target 'spi_install'. Stop.
it completed successfully
i plugged the teensy 3.6 into breadboard
i connected pins from teensy <-> crazyradio PA
i ran 'sudo make spi_install'
it returned:
make: *** No rule to make target 'spi_install'. Stop.
-
- Beginner
- Posts: 27
- Joined: Sat May 21, 2016 8:37 pm
Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
im using cinnamon mint linux in virtualbox -- any ideas?
Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
I have never used it myself so I cannot help, maybe someone passing by. Anyway, maybe you should try to ask the project directly, using git issues, if the readme instruction are not working they might be interested in fixing it.
-
- Beginner
- Posts: 27
- Joined: Sat May 21, 2016 8:37 pm
Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
If it can be unbricked per multiple forums across the web, would anyone be interested in exchanging my "bricked" Crazyradio PA for a working version? I'm clearly lacking the technical expertise to unbrick it - and missing all my fun with my Crazyflie 2.0. =(
-
- Beginner
- Posts: 27
- Joined: Sat May 21, 2016 8:37 pm
Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
Id gladly offer a replacement fee!
-
- Beginner
- Posts: 27
- Joined: Sat May 21, 2016 8:37 pm
Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools
Thank you, arnaud - I'll give it a try!