M300 PSDK UART Connect and Camera Payload Error
I am trying to run the PSDK application example in a Jetson Nano connected to the drone M300 RTK using a DIY OSDK port as shown here: https://forum.dji.com/thread-219723-1-1.html It worked once and the baudrate was changed to 230400. I ran some examples like retrieving FPV , telemetry, etc. However, when I connected my Zenmuse H20, it won’t initialize.
I don’t know if it is right but I was suspecting that the baud rates of the port change and won’t properly communicate with the camera. So, I tried running the examples at different baud rates but I am now getting “Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error”.
The measures I attempted to do to fix the error:
1. Enabled API control. Ensured that the baud rate in the PSDK code is the same as the baud rate of OSDK in DJI Assistant 2.
2. Inverted TX and RX pins.
3. I am now using the DJI E Port development Kit but still getting the same issues. For now, I am just using the port to get serial data. I am not using USB bulk config and no dev/ttyACM
4. Replaced FT232 and ensured it can support 3.3v logic. Measured the voltages of the TX and RX pin. TX remained at 0V while RX is at 3.3V.
5. Updated drone firmware to the latest and now using PSDK 3.9.2
How do I fix this error?
And if there really is a hardware error for the serial port, would resetting the drone to factory settings reset the baud rates in the PSDK ports (assuming what I suspect is right that the baud rates don’t match) and make the drone connect to the camera at least?
-
Hello, thank you for your patience. First of all, the baud rate set for the Payload port or the E-Port will not affect the initialization of the DJI official payload. From your description, the hardware connection is correct and the voltage is normal. In your case, you can try to solve it by downgrading or upgrading the firmware. If it is convenient, please provide a physical picture of the hardware connection so that we can better confirm it for you. -
Thank you for responding.
"First of all, the baud rate set for the Payload port or the E-Port will not affect the initialization of the DJI official payload." So, is the UART initialization error mutually exclusive from the Zenmuse error?"From your description, the hardware connection is correct and the voltage is normal." Is it normal if Tx is at 0v even if the drone is on and connected to Jetson?
"In your case, you can try to solve it by downgrading or upgrading the firmware." I haven't mentioned earlier but I just uploaded the M300 firmware to the latest version and before, I used PSDK 3.9.1 (when it worked) but now I am using PSDK 3.9.2.
Here are the images of my connection to the drone. I don't know if it matters but I am not using the voltage outputs from the dev kit as supply for Jetson.
请先登录再写评论。
评论
2 条评论