UART0 connection failed
hgdly opened this issue · 8 comments
Hi,
I've run the sample code provided and on execution I get this error:
[0.005][core]-[Info]-[DjiCore_Init:101) Payload SDK Version : V3.8.0-beta.0-build.1929
[2.198][adapter]-[Info]-[DjiAccessAdapter_Init:212) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[4.426][adapter]-[Info]-[DjiAccessAdapter_Init:212) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
I don't understand what the LINUX_UART_DEV1 and LINUX_UART_DEV2 configurations mean. Could you explain them to me and tell me how to find them?
Thanks in advance,
Hugo
Agent comment from Leon in Zendesk ticket #101744:
Dear Developer,
Hello, thank you for contacting DJI.
May I ask which model are you using? If it is an M300 model, you need to configure DEV1 and DEV2. For other models, you do not need to pay attention to DEV2.
The reason why M300 needs to be configured with DEV2 is because the serial port channel of M300 not only uses Uart, but also uses some channels in the USB link as the serial port function, so it needs to be configured with two serial ports.
Thank you for your support of DJI products.
Best Regards,
DJI Dajiang innovation SDK technical support
°°°
Agent comment from Leon in Zendesk ticket #101744:Dear Developer,
Hello, thank you for contacting DJI.
May I ask which model are you using? If it is an M300 model, you need to configure DEV1 and DEV2. For other models, you do not need to pay attention to DEV2. The reason why M300 needs to be configured with DEV2 is because the serial port channel of M300 not only uses Uart, but also uses some channels in the USB link as the serial port function, so it needs to be configured with two serial ports.
Thank you for your support of DJI products.
Best Regards, DJI Dajiang innovation SDK technical support
°°°
I'm using M350 model.