Comments (18)
已找到购买链接,淘宝搜 MiCOKit3060
from alios-things.
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.4db6f7af99FiSP&id=559865094527&_u=nm4sjv3cab
我刚购买
from alios-things.
@rockzhouchina 我也刚买了,thanks
from alios-things.
有跑起来的硬件组合图吗? 可以发来参考参考
from alios-things.
@yuguitao 我的板子估计今天上午到,计划到时候写一些博客 http://iot-fans.xyz 😃
from alios-things.
昨晚我试了下 死活烧不进去
from alios-things.
@kejinlu,请问你的操作步骤是什么?
from alios-things.
- 烧写时加参数 VERBOSE=1 看以看到详细的烧写命令
- out/openocd.log 文件中存放了烧写程序时的log,你看里面是啥,如果提示类似
error while loading shared libraries: libhidapi-hidraw.so.0
的话,是因为从 https://files.alicdn.com/tpsservice/6b3d60f77fcfeb00979bbd27c16b17e3.zip 下载的 OpenOCD的 Linux64目录下面没这个库(Win32和OSX目录下有对应的这个库),最简单的解决办法是在系统中单独安装一遍 OpenOCD:
$ sudo apt-get install openocd
然后这个库就随带被安装上了
@kejinlu apt-get install libhidapi-hidraw0 (ubuntu), 解决提示error while loading shared libraries: libhidapi-hidraw.so.0`
from alios-things.
可以做如下尝试:
1、如果是Windows,确认JTAG驱动版本,比较稳定版本是4.8。
2、进入bootloader模式下烧写试试。(进入bootloader的方式:按住boot键,按一下reset键)
@kejinlu
from alios-things.
我jlink还没到,所以直接 miniusb串口的
按照文档点击upload 出现如下信息
[INFO-Build] Run "C:\Users\Luke.vscode\extensions\alios.alios-studio-0.4.2\bin\aos_64.exe make helloworld@mk3060 JTAG=jlink download" on c:\Users\Luke\Documents\Projects\AliOS-Things
[INFO-Build] -------------OUTPUT START-------------
[INFO-Build] Build AOS Now
[INFO-Build]
[INFO-Build] Skipping building bootloader due to "total" is not set
[INFO-Build]
[INFO-Build]
[INFO-Build]
[INFO-Build]
[INFO-Build] AOS MEMORY MAP
[INFO-Build] |=================================================================|
[INFO-Build] | MODULE | ROM | RAM |
[INFO-Build] |=================================================================|
[INFO-Build] | armv5 | 460 | 0 |
[INFO-Build] | beken | 2254 | 4382 |
[INFO-Build] | board_mk3060 | 511 | 16 |
[INFO-Build] | cli | 6108 | 124 |
[INFO-Build] | digest_algorithm | 112 | 0 |
[INFO-Build] | framework | 376 | 12 |
[INFO-Build] | hal | 172 | 12 |
[INFO-Build] | helloworld | 130 | 0 |
[INFO-Build] | kv | 2977 | 36 |
[INFO-Build] | libalicrypto | 4078 | 0 |
[INFO-Build] | libbeken | 163390 | 51833 |
[INFO-Build] | libc_nano | 18288 | 464 |
[INFO-Build] | libgcc | 6088 | 0 |
[INFO-Build] | libmbedcrypto | 3582 | 8748 |
[INFO-Build] | libmbedtls | 12067 | 0 |
[INFO-Build] | libmesh | 520 | 396 |
[INFO-Build] | log | 40 | 4 |
[INFO-Build] | net | 43434 | 3374 |
[INFO-Build] | newlib_stub | 240 | 0 |
[INFO-Build] | rhino | 23673 | 6313 |
[INFO-Build] | vcall | 6659 | 4 |
[INFO-Build] | vfs | 1819 | 1109 |
[INFO-Build] | yloop | 1311 | 24 |
[INFO-Build] | fill | 335 | 103 |
[INFO-Build] |=================================================================|
[INFO-Build] | TOTAL (bytes) | 298624 | 76954 |
[INFO-Build] |=================================================================|
[INFO-Build]
[INFO-Build] Downloading Bootloader ...
[INFO-Build]
[INFO-Build] Skipping download bootloader due to "total" is not set
[INFO-Build]
[INFO-Build]
[INFO-Build]
[INFO-Build] Downloading application to partition: 2 size: 304316 bytes...
[INFO-Build]
[INFO-Build] Download failed
[INFO-Build]
[INFO-Build] Build complete
[INFO-Build]
[INFO-Build] Making .gdbinit
[INFO-Build]
[INFO-Build] Task Complete!
[INFO-Build] -------------OUTPUT FINISHED-------------
[INFO-Device] Burn image c:\Users\Luke\Documents\Projects\AliOS-Things\out\helloworld@mk3060\binary\[email protected] on Device
[INFO-Device] Load Image File c:\Users\Luke\Documents\Projects\AliOS-Things\out\helloworld@mk3060\binary\[email protected] size 323340 bytes.
[INFO-Device] Timeout waiting device ask for transition.
[ERROR-Device] Fail to burn image c:\Users\Luke\Documents\Projects\AliOS-Things\out\helloworld@mk3060\binary\[email protected] due to Timeout waiting device ask for transition. Please make sure your board is in bootloader mode
from alios-things.
mk3060的开发板按照你们文档以及官方文档尝试进bootloader模式(其实都不知道有没有进入),然后vscode点击那个upload按钮。出现上面的信息,看到连个问题 一个是
Skipping download bootloader due to "total" is not set
的信息,另一个就是 Please make sure your board is in bootloader mode
,都不知道是我操作不对,还是板子有问题,还是什么问题
from alios-things.
@oujunli 1. 我仿真器还没到,就先usb串口尝试的 2. https://item.taobao.com/item.htm?spm=a1z09.2.0.0.4db6f7af99FiSP&id=559865094527&_u=nm4sjv3cab 买的mk3060 只有boot按钮,没有所谓的reset按钮,alios things 里面标的reset按钮其实对应的是板子的chip_en 按钮。所以就纠结了,mk3060官方文档说是按住boot按钮,通电 就是bootloader模式了。
from alios-things.
@tidyjiang8 我是在windows上 usb串口的方式进行的
from alios-things.
JLink可以download了,usb串口不行,希望官方给个说明。
from alios-things.
@kejinlu 和开发板的bootloader有关,我同事给你的gmail邮箱发了邮件注意查收
from alios-things.
@junjiec 好的 感谢
from alios-things.
F:\ALIOS\AliOS-Things-master>arm-none-eabi-gdb -x=.gdbinit -ex 'target r
emote localhost:3333' ./out/eclipse_debug/last_built.elf --tui
C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\bin\arm-none-eabi-gdb.e
xe: TUI mode is not supported
这个有知道怎么解决的吗?
from alios-things.
@TestDevelopment windows版本的gdb不支持tui
from alios-things.
Related Issues (20)
- [Bug Report]: 烧录m5stack core2设备haas提供的helloworld实例例程时烧录失败 HOT 1
- [Feature Request]: 希望可以添加编码器接口以方便调试调用
- 能否在HaaS python中为esp32实现软串口功能?
- [Feature Request]: 为什么haas-studio没有js的快速开始和haas610?
- 在尝试使用aos-tools编译tflite_micro_speech_demo例程时失败,提示 fatal error: echo_canceller.h: No such file or directory 33 | #include "echo_canceller.h"
- [Bug Report]: Unexpected chip id in image.
- [Bug Report]: BLE蓝牙MTU无法修改问题 HOT 1
- [Bug Report]: esp32 的python轻应用无法退出repl模式进入到cli模式
- [Feature Request]: 请问支持haas600吗?
- [Bug Report]: 烧录失败,请查看输出
- HaaS Studio在WSL中安装无法打开“快速开始”
- [Feature Request]: SmartTrace的分析工具在哪?附件上没有链接呢
- [Feature Request]: 关于SDK是否支持TG7100C HOT 1
- [Feature Request]: 实时性与性能Benchmark相关测试用例
- [Feature Request]: 请问一下HaaS 有没有成熟的适配好的4G模组,功耗低的
- [Bug Report]: Need confirmation for unpatched CVE
- [Feature Request]: 官网Haas钉钉群不能使用了吗,咨询只能通过阿里云工单吗
- 找不到gen_newproject.py文件
- [Bug Report]: 源码中选择helloworld_demo编译报错 HOT 2
- [Bug Report]: 发现与CVE-2021-22901类似的同源漏洞
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alios-things.