MediaTek Smart Phone Flash Tool Error (Ubuntu)
MTK SP Flash Tool 에서
BROM Exception! ( ERROR : STATUS_ERR (-1073676287) , MSP ERROE CODE : 0x00
어쩌고 저쩌고
BROM connected
Downloading & Connecting to DA...
connect DA end stage: 2, enable DRAM in 1st DA: 0
Failed to Connect DA: STATUS_UNKNOWN_STORAGE_TYPE
Disconnect!
BROM Exception! ( ERROR : STATUS_UNKNOWN_STORAGE_TYPE (-1073479671) , MSP ERROE CODE : 0x00.
이런 개소리 나오면서 안될때.
$ sudo apt-get remove modemmanager
이렇게 해주면 됨.
출처 : https://blog.csdn.net/yangfan1571397878/article/details/80969491
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/yangfan1571397878/article/details/80969491
在使用时刚开始使用便直接报错
Total wait time = -1531116139.000000
USB port is obtained. path name(/dev/ttyACM0), port name(/dev/ttyACM0)
USB port detected: /dev/ttyACM0
Connect BROM failed: STATUS_ERR
Disconnect!
BROM Exception! ( ERROR : STATUS_ERR (-1073676287) , MSP ERROE CODE : 0x00
解决方法:
sudo gedit /etc/udev/rules.d/53-android.rules
这个文件是用于adb调试的,在打开的文件中增加以下文本:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}="0bb4", ATTR{idProduct}="0c03", SYMLINK+="android_adb"
sudo gedit /etc/udev/rules.d/53-MTKinc.rules
这个文件是用于下载的,在打开的文件中增加以下文本:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0e8d", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}="0e8d", ATTR{idProduct}="2000", SYMLINK+="android_adb"
KERNEL=="ttyACM*", MODE="0666"
驱动重新加载:
sudo chmod a+rx /etc/udev/rules.d/53-android.rules
sudo chmod a+rx /etc/udev/rules.d/53-MTKinc.rules
sudo /etc/init.d/udev restart
备注:idVendor 与 idProduct的通过lsusb命令查看
KERNEL=="ttyACM*", MODE="0666"是给flash_tool运行过程中生成的设备文件增加权限,这样不需要管理员权限即可运行。
使用MTK下载工具(驱动程序已安装)无法下载的,可使用如下方法(Ubuntu14.04以上):
sudo apt-get remove modemmanager
sudo /etc/init.d/udev restart
配置环境变量:
gedit ~/.bashrc
export FLASH_PATH=/opt/Flash_Tool
export PATH=$FLASH_PATH:$PATH
alias download='flash_tool.sh'
在终端直接输入download即可调出flash tools
'Embeded' 카테고리의 다른 글
cpu governor 확인하기 (0) | 2019.10.09 |
---|---|
How to install zephyr (0) | 2019.08.21 |
esp32 update 하고 git 앞뒤로 바꾸다가 build 안될때 (0) | 2019.07.25 |