john_yike 发表于 2020-4-5 20:44 谢谢师傅!半年前做的实验,有些忘记,板子也找不到了,呵呵 |
eagler8 发表于 2020-3-24 17:19 105# 如何改? |
eagler8 发表于 2020-3-24 16:45 103# Processing sipeed-maixduino (platform: kendryte210; framework: arduino; board: sipeed-maixduino) --------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION:docs.platformio点org/page/boards/kendryte210/sipeed-maixduino.html PLATFORM: Kendryte K210 1.2.1 #6099b97 > Sipeed MAIXDUINO HARDWARE: K210 400MHz, 6MB RAM, 16MB Flash DEBUG: Current (iot-bus-jtag) External (iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, sipeed-rv-debugger, tumpa) PACKAGES: - framework-maixduino 0.3.9 - tool-kflash-kendryte210 0.9.1 - tool-openocd-kendryte 1.203.1 (2.3) - toolchain-kendryte210 8.2.0 LDF: Library Dependency Finder -> bit点ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 14 compatible libraries Scanning dependencies... No dependencies Building in release mode Checking size .pio\build\sipeed-maixduino\firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [ ] 0.5% (used 32456 bytes from 6291456 bytes) Flash: [ ] 0.4% (used 68319 bytes from 16777216 bytes) Configuring upload protocol... AVAILABLE: iot-bus-jtag, jlink, kflash, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, sipeed-rv-debugger, tumpa CURRENT: upload_protocol = kflash Looking for upload port... Auto-detected: COM11 Uploading .pio\build\sipeed-maixduino\firmware.bin [INFO] COM Port Selected Manually: COM11 [INFO] Default baudrate is 115200 , later it may be changed to the value you set. [INFO] Trying to Enter the ISP Mode... *************** Greeting fail, check serial port ([ERROR] No vaild Kendryte K210 found in Auto Detect, Check Your Connection or Specify One by`-p COM3` ) *** [upload] Error 1 =========================================================== [FAILED] Took 24.30 seconds =========================================================== Environment Status Duration -------------------- -------- ------------ sipeed-maix-go FAILED 00:00:21.691 sipeed-maix-one-dock FAILED 00:00:22.965 sipeed-maix-bit FAILED 00:00:23.936 sipeed-maixduino FAILED 00:00:24.296 ====================================================== 4 failed, 0 succeeded in 00:01:32.889 ====================================================== 终端进程已终止,退出代码: 1 终端将被任务重用,按任意键关闭。 |
eagler8 发表于 2020-3-24 09:12 83楼,platformio platform install “kendryte210” 没有双引号,platformio platform install kendryte210 |
eagler8 发表于 2020-3-24 09:12 83号楼的操作要先运行 88号楼,安装 Git client端, |
eagler8 发表于 2020-3-24 09:12 打开后是这个样子哦,如何解决? Microsoft Windows [版本 6.1.7601] 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。 C:\Users\Administrator> |
4、串口终端PuTTY的控制命令: CTRL-A-在空白行上,进入原始REPL模式 CTRL-B-在空白行上,进入常规REPL模式 CTRL-C-中断正在运行的程序 CTRL-D-在空白行上,对电路板进行软复位 CTRL-E-在空白行上进入粘贴模式 5、有关可用模块的列表,请键入help('modules') KPU gc random uio Maix hashlib re ujson __main__ heapq sensor ulab _boot image socket uos _thread json struct urandom _webrepl lcd sys ure array machine time usocket audio math touchscreen ustruct binascii math ubinascii utime board micropython ucollections utimeq builtins modules ucryptolib uzlib cmath nes uctypes video collections network uerrno zlib errno os uhashlib fpioa_manager pye_mp uheapq Plus any modules on the filesystem |
实时采集并显示图像在TFT屏上,并获取和显示实时帧数
|
实时拍照
|
|
附:kflash_gui 特性 支持 *.bin 和 *.kfpgk 文件, 支持文件选择器选择 支持开发板选择 可选择程序烧录到 Flash 或者 SRAM 自动检测电脑上的串口 波特率可编辑 黑白两种皮肤可供选择 界面支持中英文切换 支持烧录进度显示和烧录速度显示 支持取消下载进程 支持合并多个 bin 文件为一个 bin 文件 支持把 kfpkg 文件转换为一个 bin 文件 支持使能 bin 文件 自动识别文件是不是固件 kflash_gui 使用方法 下载文件(kflash_gui_v*.*) 下载地址:release页面 解压, 并双击 kflash_gui.exe 或 kflash_gui 可以自行建快捷方式或者固定到开始页面或者固定要任务栏方便使用; 如果是 Linux, 可以修改 kflash_gui.desktop 里面的路径, 然后用管理员身份复制到/usr/share/application 目录, 然后就可以在系统菜单里面找到kflash_gui的图标了,点击即可打开 选择 bin 文件或者 kfpkg 文件, 如果是bin文件需要指定地址,如果是固件需要指定0x0000地址 选择开发板 选择烧录到开发板的哪个位置 Flash(速度慢但是重新上电还可运行) 或者 SRAM(RAM中运行,下载快断电丢失程序) 选择串口 选择波特率,推荐1.5M 点击 下载 按钮来开始下载 如果需要取消,点击 取消 按钮 |