Communication Issue with PSDK on Matrice 300 RTK Using E-Port
Dear DJI Support Team,
I am testing a system based on the Payload SDK (PSDK) version 3.8.0-beta.0-build.1929 using the E-Port Development Kit. The system works perfectly with the Matrice 350 RTK; however, when testing with the Matrice 300 RTK, I encounter communication issues.
The logs generated during the connection attempt are as follows:
sudo ./dji_sdk_demo_linux_cxx
'Logs/latest.log' -> 'DJI_0014_20240613_21-14-47.log'
[0.022][core]-[Info]-[DjiCore_Init:101) Payload SDK Version : V3.8.0-beta.0-build.1929
[1.982][utils]-[Info]-[DjiSdkVersionAck_Parse:183) Identify aircraft serial number = 1ZNDH9S00C0FTV, Firmware = 3.4.18.68
[2.011][adapter]-[Info]-[DjiAccessAdapter_Init:228) Identify aircraft series is Matrice 300 Series
[2.011][adapter]-[Info]-[DjiAccessAdapter_Init:261) Identify mount position type is Extension Port Type
[2.047][adapter]-[Info]-[DjiAccessAdapter_Init:362) Identity uart0 baudrate is 230400 bps
[2.047][adapter]-[Info]-[DjiPayloadNegotiate_Init:147) No need negotiate device info
[2.084][adapter]-[Info]-[DjiPayloadNegotiate_Init:147) No need negotiate device info
[2.211][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[2.235][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[2.321][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[2.491][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[2.492][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[2.498][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[2.636][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.221][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.349][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.352][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.357][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.362][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.366][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.370][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.371][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.376][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.378][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.427][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.438][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.445][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.451][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.456][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.460][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.464][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.469][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.475][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.481][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.487][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.491][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.605][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.608][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.610][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.613][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.722][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.902][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.935][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.963][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[3.998][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.014][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.039][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.073][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.075][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.085][linker]-[Warn]-[DjiCommand_SendAsyncHandle:894) Command async send retry: index = 0, retryTimes = 3, cmdSet = 0, cmdId = 0
[4.101][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.102][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.108][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.113][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.125][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.129][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.161][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.165][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.201][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.204][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.213][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.225][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.227][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.233][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.242][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.246][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.252][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.293][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.678][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.684][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
[4.691][linker]-[Error]-[DjiChannel_uartRead:88) uart read data error
As noted in the logs, the aircraft and connection type are correctly identified as a Matrice 300 Series using the Extension Port, and the UART baud rate is correctly set to 230400 bps. Despite this, I receive repeated errors such as:
uart read data error
Command async send retry
To troubleshoot, I tested the serial communication using minicom
with the specified baud rate of 230400, confirming activity on the serial port /dev/ttyS0
. The same setup (PSDK version, E-Port connection, and baud rate) works flawlessly with the Matrice 350 RTK, so I suspect the issue might be specific to the Matrice 300 RTK.
Questions:
- Is there a recommended baud rate other than 230400 for the Matrice 300 RTK when using the E-Port?
- Are there known compatibility issues between the M300 RTK and the current version of the PSDK or E-Port configuration?
- Could there be any additional initialization or firmware settings required specifically for the M300 RTK?
Thank you for your support. Please let me know if you require further logs, configuration details, or additional tests to assist in resolving this issue.
Best regards,
Cosmina Nicolau.
Please sign in to leave a comment.
Comments
0 comments