Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't flash the content by spi on raspberry #66

Open
duguguang opened this issue Jan 15, 2024 · 3 comments
Open

Can't flash the content by spi on raspberry #66

duguguang opened this issue Jan 15, 2024 · 3 comments

Comments

@duguguang
Copy link

refer to https://www.hackster.io/ataffanel/fixing-crazyradio-usb-bootloader-with-a-raspberry-pi-08796b, And i have checked the pin.

sudo python3 fix_bootloader_raspi.py
Erasing page 0...
Writing 'JL 0x7800' instruction...
Flash content:
ff
ff
ff
Fix written to flash. Disconnect the PROG wire, reconnect Crazyradio

@knmcguire
Copy link
Contributor

Hi! Are you sure that you are using the Crazyradio PA (version 1.0) and not Crazyradio 2.0 for these instructions. These operate in very different ways.

@duguguang
Copy link
Author

Yes, i am using the pa1.0

@ataffanel
Copy link
Member

It seems that you can erase the flash but not write it. It can also be a problem of GPIO of cabling.

What version of raspberry pi are you using? Is the LED on the Crazyradio lights up during the process?

Can you connect MISO to a ground on the raspi instead of to the Crazyradio and see if you read back 0x00 instead of 0xFF? This will verify that this cable is working well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants