I think I understand what you're saying about having a Raspberry Pi continuously running integration tests. Quite handy if you're doing a lot of development.
Anyway, I will mark this thread as [SOLVED]. Thanks a lot for your AWESOME support.
Well, what do you know! This is what I get when I have my Crazyradio actually powered: root@raspberrypi:/usr/local/bin# ./fix_bootloader_raspi.py ./fix_bootloader_raspi.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings. GPIO.set...
I'm running a completely vanilla Raspbian that I don't use for anything besides flashing my Crazyradio PA. If the GPIOs are already in use when running your script it is due to something in the default Raspbian installation. Anyway, if I run the script a second time, I don't get the warnings: root@r...
I'm guessing that it didn't work and that flash content should have been "02 78 00": root@raspberrypi:/usr/local/bin# ./fix_bootloader_raspi.py ./fix_bootloader_raspi.py:63: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings. ...
Because of this line https://github.com/bitcraze/crazyradio-firmware/blob/master/fix_bootloader/fix_bootloader_raspi.py#L35 I use the physical/board numbering. Excellent. Makes sense. Stay tuned as I hook up my Crazyradio PA to my Raspberry Pi and try your script... On a side note, thanks for the p...
OK, so going by the terminology at https://pinout.xyz/, are your Raspberry Pi pin numbers BCM or physical or something else? I assumed the pin numbers in the NRF_SPI_Flash.py script were physical, but with your script I'm not so sure.
Well, it seems that the Raspberry Pi script I tested with is actually a fork of your script, or the other way around. Anyway, the pin numbering is different between the two scripts. In the NRF_SPI_Flash.py script it says: # Name Pin on raspi Pin on Crazyradio #---------------------------------------...
So... I just soldered an expansion header onto my Crazyradio PA and, for starters, am doing some basic SPI read tests and both the Infopage and the Mainblock always seem to come back empty! I've had the Crazyradio PA hooked up to both a Raspberry Pi and a Bus Pirate (though not at the same time...) ...
You would need to find the right speed and channel by yourself though. Out of my head, I can't think of anything better than trial-and-error:-( "When in doubt, use brute force." I was thinking of placing a heavy object on the remote and having a program run continuously that would loop th...
So, as a starting point, it seems that I can use your firmware (as discussed here ) and the original crazyradio.py driver. Do you think the firmware needs to be modified for my purposes or is it sufficient that I poke at the driver code? Also, do you think the Crazyradio PA will improve reception ov...