M300端口配置,没有出现ACM0端口
硬件连接:M300的OSDK端口-E-port套件连接口,E-port串口通过USB转TTL连接机载USB口,E-port的type-C接机载的USB口。
配置:波特率均设置为921600,dji_sdk_config.h中设置链路为uart&bulk。
运行程序时出现以下错误提示:
[0.007][core]-[Info]-[DjiCore_Init:106) Payload SDK Version : V3.9.2-beta.0-build.2125
[2.327][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[4.704][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[7.090][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[9.492][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[11.907][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[14.330][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[16.765][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[19.209][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[21.665][adapter]-[Info]-[DjiAccessAdapter_Init:215) Try identify UART0 connection failed. Probably because SDK adapter or aircraft not finish init or UART connect error.
[21.665][adapter]-[Error]-[DjiAccessAdapter_Init:220) Try identify UART0 connection timeout. Probably because SDK adapter or aircraft not finish init or UART connect error.
[21.665][core]-[Error]-[DjiCore_Init:126) Access adapter init error, stat:225
[21.665][user]-[Error]-[main:131) Core init error
根据社区中说明第二条操作,仍然未出现ACM0端口。
-
您好,您可以上传到此处网盘,麻烦您把硬件连接方式,最好包含细节,一起提供下。https://pan-sec.djicorp.com/s/434g8RKo4Hi4Mjn
Please sign in to leave a comment.
Comments
9 comments