Page 1 of 2

I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools

Posted: Sun Mar 26, 2017 10:34 am
by chdyejiewei
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

Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools

Posted: Mon Mar 27, 2017 12:30 pm
by arnaud
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).

Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools

Posted: Thu Dec 14, 2017 2:00 pm
by proplane64
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

Posted: Fri Dec 15, 2017 7:13 am
by arnaud
The instruction seems to be there, in the Bastille's project: https://github.com/BastilleResearch/nrf ... g-a-teensy

Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools

Posted: Sat Dec 16, 2017 6:06 am
by proplane64
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.

Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools

Posted: Sat Dec 16, 2017 12:36 pm
by proplane64
im using cinnamon mint linux in virtualbox -- any ideas?

Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools

Posted: Mon Dec 18, 2017 12:31 pm
by arnaud
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.

Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools

Posted: Wed Jan 03, 2018 10:49 am
by proplane64
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. =(

Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools

Posted: Wed Jan 03, 2018 10:50 am
by proplane64
Id gladly offer a replacement fee!

Re: I can't re-flash the Crazyradio PA firmware, I am using RFStorm tools

Posted: Wed Jan 03, 2018 9:00 pm
by proplane64
arnaud wrote: Mon Dec 18, 2017 12:31 pm 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.
Thank you, arnaud - I'll give it a try!