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

Raspberry 5 CPX instructions don't work #449

Open
knmcguire opened this issue Mar 25, 2024 · 1 comment
Open

Raspberry 5 CPX instructions don't work #449

knmcguire opened this issue Mar 25, 2024 · 1 comment

Comments

@knmcguire
Copy link
Member

These instructions to enable cpx over serial seems to be outdated for raspberry 5 https://www.bitcraze.io/documentation/repository/crazyflie-lib-python/master/development/uart_communication/

Some simple ones:

  • /boot/config.txt ->/boot/firmware/config.txt
  • Putting ttyACM10 to ttyACM0 doesn't seem to work anymore
  • Even when ttyACM10 is selected, connection takes forever and it doesn't seem to have anything to do with it.

Some forum questions that might be important:

@knmcguire
Copy link
Member Author

Some more information while debugging the uart with a much simpler example, not using CPX but a simple float array through uart (found when debugging the issue in this discussion)

This example does seem to work for some reason, however it is a much simpler example.

The CPX doesn't work because the CFLIB needs to detect a port through pyserial. If GPIO 14/15 is used (the long pins) pyserial is not able to detect the uart port (python3 -m serial.tools.list_ports -v). The simple array send example I send here above didn't need a port detect so that worked but CFLIB needs that for sure.

My guess there is something wrong with it, ands that the only uart that is detectable is the white uart port (saying 'UART') right next to the mini hdmi connectors, which would need a special connector...

To be continued, but perhaps we should mention this issue on the documentation.

@knmcguire knmcguire transferred this issue from bitcraze/crazyflie-firmware Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant