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

Protocol error #208

Open
GregCornis opened this issue Sep 27, 2024 · 0 comments
Open

Protocol error #208

GregCornis opened this issue Sep 27, 2024 · 0 comments

Comments

@GregCornis
Copy link

GregCornis commented Sep 27, 2024

I have a raspberry pi 5 connecter to a Skyport V2 (via developper board) to a M300. I'm running the PSDK sample code, which compiles fine, but the program fails to run the negociation and fails.
Do you have any idea what the problem might be ? Is it an issue with a configuration ?

Here are the logs

'Logs/latest.log' -> 'DJI_0018_20240927_17-18-51.log'
[0.004][core]-[Info]-[DjiCore_Init:106) Payload SDK Version : V3.9.1-beta.0-build.2090
[0.341][adapter]-[Info]-[DjiAccessAdapter_Init:231) Identify aircraft series is Matrice 300 Series
[0.341][adapter]-[Info]-[DjiAccessAdapter_Init:264) Identify mount position type is Payload Port Type
[0.342][adapter]-[Info]-[DjiAccessAdapter_Init:365) Identity uart0 baudrate is 460800 bps
[0.347][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
...
[10.050][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x1E3D cur:0x0D73
[10.348][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[10.545][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x5D12 cur:0x0D83
...
[51.050][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x6369 cur:0x1329
[51.352][linker]-[Error]-[DjiCommand_SendAsyncHandle:975) Command async send error 0
[51.352][linker]-[Error]-[DjiCommand_SendSync:550) sendSync callback timeout
[51.352][adapter]-[Error]-[DjiPayloadNegotiate_RemoveDeviceSync:1170) remove device sync se[51.352][adapter]-[Error]-[DjiPayloadNegotiate_RemoveDeviceSync:1170) remove device sync send error:0x000000E1.
[51.352][adapter]-[Error]-[DjiPayloadNegotiate_Init:255) Payload negotiate remove device sync error:0x000000FF
[51.352][adapter]-[Error]-[DjiAccessAdapter_Init:381) Payload negotiate error, returnCode = 255
[51.352][core]-[Error]-[DjiCore_Init:126) Access adapter init error, stat:255
[51.352][user]-[Error]-[main:131) Core init error
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

1 participant