Protocol error - Skypot v2
CompletedI just bough a Skyport v2 and Developper board, and I'm trying to connect it to a Raspberry Pi 5. I have followed the documentation, and the connexion seems successfull as it detects that the drone is a M300. However, the program stops after that because the negociation fails. It seems that they are not using the same protocol ?
My config :
And here are the logs
```
[0.003][core]-[Info]-[DjiCore_Init:106) Payload SDK Version : V3.9.1-beta.0-build.2090
[0.342][adapter]-[Info]-[DjiAccessAdapter_Init:231) Identify aircraft series is Matrice 300 Series
[0.342][adapter]-[Info]-[DjiAccessAdapter_Init:264) Identify mount position type is Payload Port Type
[0.343][adapter]-[Info]-[DjiAccessAdapter_Init:365) Identity uart0 baudrate is 460800 bps
[0.350][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[1.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x1813 cur:0x0534
[1.350][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[1.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x7AD8 cur:0x0549
[2.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x5ABB cur:0x0558
[2.350][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[2.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x0C99 cur:0x056C
[3.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x481D cur:0x057C
[3.350][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[3.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x8A75 cur:0x0590
[4.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xB124 cur:0x05A0
[4.350][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[4.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xD124 cur:0x05B4
[5.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x950B cur:0x05C6
[5.351][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[5.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xEF82 cur:0x05DA
[6.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xDB5E cur:0x05EA
[6.351][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[6.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x6730 cur:0x05FE
[7.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x6551 cur:0x060D
[7.351][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[7.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xDF1E cur:0x0621
[8.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xDAF6 cur:0x0631
[8.351][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[8.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xD9D3 cur:0x0645
[9.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xF728 cur:0x0655
[9.351][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[9.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x6FC1 cur:0x0669
[10.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x9C7C cur:0x067B
[10.351][adapter]-[Info]-[DjiPayloadNegotiate_Init:243) Waiting payload negotiate finished.
[10.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xD56B cur:0x068F
[11.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xE2B5 cur:0x069E
[11.380][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x4464 cur:0x1687
[12.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xC0D9 cur:0x06C2
[12.632][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xE803 cur:0x06D6
[13.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x7CEB cur:0x06E6
[13.400][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xE732 cur:0x0187
[14.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x6D71 cur:0x0709
[14.632][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x3519 cur:0x071E
[15.135][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x5030 cur:0x0730
[15.405][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x046E cur:0x0187
[16.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x3BE8 cur:0x0753
[16.632][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x5B3E cur:0x0767
[17.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xFC3E cur:0x0777
[17.404][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x2D1E cur:0x0187
[18.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x2F30 cur:0x079B
[18.632][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xAC19 cur:0x07AF
[19.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xB2E0 cur:0x07BE
[19.405][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x1D4B cur:0x0187
[20.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x9417 cur:0x07E2
[20.632][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xC8ED cur:0x07F6
[21.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x1C6B cur:0x0805
[21.352][linker]-[Warn]-[DjiCommand_SendAsyncHandle:963) <0x52dd>Command async send retry: index = 0, retryTimes = 3, 0x1300->0x1401 0x0087
[21.380][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xC8A5 cur:0x1687
[22.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x7B3A cur:0x0829
[22.631][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xC8F5 cur:0x083D
[23.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x5122 cur:0x084D
[23.405][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xB15F cur:0x0187
[24.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xFD89 cur:0x0870
[24.632][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x59D6 cur:0x0885
[25.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xFADA cur:0x0894
[25.405][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x6D5F cur:0x0187
[26.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x1ECC cur:0x08B8
[26.632][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x1AC9 cur:0x08CC
[27.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x4ADA cur:0x08DB
[27.405][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x1FB1 cur:0x0187
[28.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x88DE cur:0x08FF
[28.633][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x4B65 cur:0x0913
[29.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xF1A9 cur:0x0923
[29.405][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xAF9B cur:0x0187
[30.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x66B6 cur:0x0946
[30.633][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xF84A cur:0x095B
[31.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x26B4 cur:0x096A
[31.353][linker]-[Warn]-[DjiCommand_SendAsyncHandle:963) <0x52dd>Command async send retry: index = 0, retryTimes = 2, 0x1300->0x1401 0x0087
[31.381][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x0762 cur:0x1687
[32.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x99FF cur:0x098E
[32.632][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x8E7A cur:0x09A2
[33.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x5642 cur:0x09B1
[33.410][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x9172 cur:0x0187
[34.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x83D0 cur:0x09D5
[34.632][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xC80C cur:0x09E9
[35.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x856E cur:0x09F9
[35.410][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xD2E6 cur:0x0187
[36.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x7C5A cur:0x0A1C
[36.632][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x3588 cur:0x0A30
[37.136][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x1A9D cur:0x0A40
[37.410][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xFA26 cur:0x0187
[38.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x1483 cur:0x0A64
[38.633][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xC1C5 cur:0x0A78
[39.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x7B21 cur:0x0A8C
[39.410][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xF018 cur:0x0187
[40.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x0A7C cur:0x0AB0
[40.633][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x0115 cur:0x0AC4
[41.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x7598 cur:0x0AD3
[41.354][linker]-[Warn]-[DjiCommand_SendAsyncHandle:963) <0x52dd>Command async send retry: index = 0, retryTimes = 1, 0x1300->0x1401 0x0087
[41.380][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x191C cur:0x1687
[42.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x94B7 cur:0x0AF7
[42.633][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xE124 cur:0x0B0B
[43.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xAE90 cur:0x0B1A
[43.411][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x7FE7 cur:0x0187
[44.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xC954 cur:0x0B3E
[44.634][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x652E cur:0x0B52
[45.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xFC38 cur:0x0B62
[45.411][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x3D62 cur:0x0187
[46.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x3F7F cur:0x0B85
[46.633][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x9CE5 cur:0x0B9A
[47.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x28DD cur:0x0BA9
[47.411][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x58C4 cur:0x0187
[48.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x11D9 cur:0x0BCD
[48.633][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x7A10 cur:0x0BE1
[49.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xE46B cur:0x0BF0
[49.417][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xBA33 cur:0x0187
[50.138][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0xEB71 cur:0x0C14
[50.634][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x3B87 cur:0x0C28
[51.137][linker]-[Warn]-[DjiProtocol_v1Unpack:187) protocol frame crc16 error, exp:0x23D6 cur:0x0C38
[51.355][linker]-[Error]-[DjiCommand_SendAsyncHandle:975) Command async send error 0
[51.355][linker]-[Error]-[DjiCommand_SendSync:550) sendSync callback timeout
[51.355][linker]-[Error]-[DjiCommand_SendSync:550) sendSync callback timeout
```
Do you have any idea what the problem is ?
-
Hello, USB-TTL converts the USB interface on the computer into a serial TTL signal for control or communication with other devices. This converter usually includes a USB port, a TTL port and a chip, which can convert the digital signal output from the computer's USB port into a TTL level, allowing users to communicate and control external devices through the serial port. Your problem is mainly a serial port check error, and it occurs frequently. Based on past experience and cases, most of the abnormalities are caused by your serial port communication link. We usually recommend that developers change their connection links and PSDK environment.
Please sign in to leave a comment.
Comments
6 comments