ml307 二次开发
中移物联网旗下
- OneMO是中移物联网打造的物联网专业模组品牌
- OneOS 是中移物联网有限公司自主研发的物联网操作系统
- OneNET 是中移物联网有限公司发布的物联网开放平台
形成了从硬件模组到云平台、再到操作系统的完整物联网解决方案
4g模组官方网站
http://onemo10086.com/#/aboutus
官方教程
http://onemo10086.com/#/school/article/514?id=514
官方客户不知道啥时候上班 早上10点也说不在服务时间内 找不到官方的sdk下载路径
sdk获取
https://github.com/viys/ML305A_ML307A_OpenCPU_Standard_1.4.2.2023062518_release
诊断工具文档
http://file.whycan.com/files/202412/ML307/5_ML307R_%E7%BB%B4%E6%8A%A4%E8%AF%8A%E6%96%AD%E5%B7%A5%E5%85%B7%E7%94%A8%E6%88%B7%E6%89%8B%E5%86%8C_V1.0.1.pdf
https://github.com/RomaWan/ML307/blob/main/5_ML307R_%E7%BB%B4%E6%8A%A4%E8%AF%8A%E6%96%AD%E5%B7%A5%E5%85%B7%E7%94%A8%E6%88%B7%E6%89%8B%E5%86%8C_V1.0.1.pdf
驱动下载 CATStudio
https://gitcode.com/open-source-toolkit/13721/?utm_source=tools_gitcode&index=top&type=card&
烧写工具 aboot-tools
https://os.iot.10086.cn/download/tool
烧录模式
先一直按着BOOT按键,然后按一下RST按键, 然后松开RST按键, 最后松开BOOT,此时模组进入了烧录程序模式
烧录报错
对比编译
好像缺少一个步骤,python版本为3.9 切换为3.7 还是报错如上
烧写log
23:24:58.204 stopping aboot download engine...23:24:58.204 <COM11> device offlined23:24:58.204 <COM11> extinguishing device <COM11>...23:24:58.204 <COM11> device <COM11> extinguished successfully.23:24:58.204 <COM11> disconnecting from serial device <COM11>...23:24:58.204 Reading from COM port (ReadIOCompletion): Operation aborted23:24:58.204 disconnected from serial device <COM11> successfully!23:24:58.204 <COM11> OFFLINE device_open_failed_num = 0, device_list size = 023:24:58.204 received all devices closed message.23:24:58.204 aboot download engine stopped successfully.23:24:58.272 initializing aboot release package...23:24:58.272 extracting download.json (2 KB)...23:24:58.273 extracting partition.bin (2 KB)...23:24:58.274 initialized aboot release package successfully.23:27:08.108 starting aboot download engine...23:27:08.108 extracting download.json (2 KB)...23:27:08.108 download engine running in upgrade mode!23:27:08.108 aboot download engine started successfully.23:27:08.108 getting serial devices list...23:27:13.198 <COM11> new device arrived.23:27:13.198 enabling device <COM11> into downloading mode...23:27:13.198 device <COM11> enabled successfully.23:27:13.198 connecting to serial device <COM11>...23:27:13.239 <COM11> connected to serial device <COM11> successfully!23:27:13.239 <COM11> starting to fire device <COM11>...23:27:13.239 <COM11> ONLINE device_open_failed_num = 0, device_list size = 123:27:13.239 <COM11> device <COM11> fired successfully.23:27:13.273 <COM11> #=> [INFO: UsbArch ] usb phy reg: 0xd42070a4 = 0x189b23:27:14.327 <COM11> device <COM11> is ready to be enabled manually23:27:14.390 <COM11> #=> [INFO: Main ] Downloading command detected.23:27:14.390 <COM11> #=> [INFO: Aboot ] volume "boardid" not found, use empty as default!23:27:14.412 <COM11> processing command [get bootrom info]23:27:14.412 <COM11> enable fast downloading mode23:27:14.412 <COM11> OKAY [ 0.000s]23:27:14.412 <COM11> processing command [require product arom-tiny]23:27:14.412 <COM11> Checking product23:27:14.412 <COM11> OKAY [ 0.000s]23:27:14.412 <COM11> processing command [require version 0.6]23:27:14.412 <COM11> Checking version23:27:14.412 <COM11> OKAY [ 0.000s]23:27:14.412 <COM11> processing command [require version-bootrom 2022.11.06]23:27:14.412 <COM11> Checking version-bootrom23:27:14.412 <COM11> OKAY [ 0.000s]23:27:14.412 <COM11> processing command [progress weight 6946816]23:27:14.412 <COM11> setting total progress23:27:14.412 <COM11> OKAY [ 0.000s]23:27:14.422 <COM11> target reported max download size of 65408 bytes23:27:14.422 <COM11> extracting preboot.img (25 KB)...23:27:14.422 <COM11> processing command [call preboot.img]23:27:14.422 <COM11> Sending 'preboot.img' (25 KB)23:27:14.422 <COM11> OKAY [ 0.000s]23:27:14.422 <COM11> verifying23:27:14.422 <COM11> #=> [ERR : Fip ] Not a fip!23:27:14.422 <COM11> FAILED (remote: image verify failed)23:27:14.422 <COM11> all finished. total time: 0.011s
烧录问题解决 换了一个下载工具 就好了。。。。
参考
https://cloud.tencent.com/developer/article/2435789
https://blog.csdn.net/jcf5832/article/details/144294665