ART-Pi Smart 开发板开箱及爱之初次体验

首先, 感谢RT=Thread给的试用机会, 感谢熊大的指导.
本文ART-Pi Smart开箱及初次体验内置应用

标题开箱

收到有几天了。我们一步一步揭开他的面纱吧

主板包装精美严实,但需要保护的屏反而包装简单了

开箱后,包装内全家福,包装内自带了两根 Type-C 线和一根网线。开发板整体接口还是很丰富的:SDIO、USB、ETH、LCD、Camera。

屏组装后效果

ART-Pi Smart 开发板简介

ART-Pi Smart 开发板是RT-Thread联合百问科技出品,用于学习和评估RT-Thread Smart微内核操作系统。

gitee 文档代码仓库地址 :https://gitee.com/rtthread/ART-Pi-smart
板载资源:

  • i.MX6ULL, Cortex-A7, 800MHz
  • DDR3 SDRAM 512MB, EMMC(4GB)
  • RW007 WiFi
  • SDIO TF Card slot
  • USB Host
  • USB OTG with Type-C
  • Ethernet port x1
  • USB UART x1
  • RGB888 FPC connector
  • Camera FPC connector
  • D1 for 3.3 v power-on
  • Two user LEDs
  • Three push-buttons (user, reset and boot)

驱动支持:

  • GPIO

    • UART
    • I2C
    • SPI
    • QSPI
    • RTC
    • TIMER
    • PWM
    • SDRAM
    • ETH
    • WIFI
    • LCD

上电

插入 Type-C (两条Type-C线都插上)电源和网线,打开终端,波特率设置为 115200

上电调试信息:

U-Boot 2017.03-g002b758ac9-dirty (Nov 24 2021 - 20:08:02 +0800)CPU:   Freescale i.MX6ULL rev1.1 696 MHz (running at 396 MHz)CPU:   Industrial temperature grade (-40C to 105C) at 38CReset cause: WDOGModel: Freescale i.MX6 ULL 14x14 EVK BoardBoard: MX6ULL 14x14 EVKDRAM:  512 MiBMMC:   FSL_SDHC: 0, FSL_SDHC: 1*** Warning - bad CRC, using default environmentDisplay: TFT7016 (1024x600)Video: 1024x600x24In:    serialOut:   serialErr:   serialswitch to partitions #0, OKmmc1(part 0) is current deviceNet:   eth1: ethernet@020b4000, eth0: ethernet@02188000 [PRIME]Normal BootHit any key to stop autoboot:  0reading /kernel/rtthread.bin1149312 bytes read in 73 ms (15 MiB/s)## Starting application at 0x80001000 ...\ | /- RT -     Thread Smart Operating System/ | \     5.0.0 build Dec 15 20212006 - 2020 Copyright by rt-thread teamlwIP-2.1.2 initialized![15] E/drv.enet: emac device init success[20] I/I2C: I2C bus [i2c3] registered[24] I/I2C: I2C bus [i2c4] registered[83] E/drv.enet:PHY Link down, please check the cable connection and link partner setting.[94] I/SDIO: SD card capacity 31166976 KB.[156] I/SDIO: emmc card capacity 3817472 KB.found part[0], begin: 2098176, size: 500.0MBfound part[1], begin: 526386176, size: 1.0GBfound part[2], begin: 1600128000, size: 10.0MBfound part[3], begin: 1610613760, size: 200.0MB[266] I/touch: rt_touch init success[270] I/gt911: touch device gt911 init success[275] I/sal.skt: Socket Abstraction Layer initialize success.emmc file system initialization done![1758] I/WLAN.dev: wlan init success
[1763] I/WLAN.lwip: eth device init ok name:w0
[1768] I/WLAN.dev: wlan init success
[1773] I/WLAN.lwip: eth device init ok name:w1rw007 sn: [rw00700000000fc584a2c5001]
rw007 ver: [RW007_2.1.0-a7a0d089-57][5247] D/drv.enet: enet1 link up[5789] W/WLAN.mgnt: F:rt_wlan_connect L:1091 not find ap! ssid:rt-thread
hello rt-smart!
/sd/wifi.sh wi-fi configuration file not exist in sd card!
[5807] I/mcf.link.tcp: TCPServer Waiting for client on port 5555...[5814] I/mcf.link: MCF link port(3) register successfully.
msh />[5850] I/mcf.trans: MCF(V0.1.0) initialized successfully.
[5855] I/urpc: uRPC(V0.1.0) initialize successfully.
[5861] I/mcf.trans: MCF protocol started successfully.

基本命令

在终端输入命令 help (tab键,用法与)查看帮助信息(会列出相关应用)

msh />helpRT-Thread shell commands:
reboot           - reboot system
cpu_usage        - display cpu usage
dbg              - dbg
memcheck         - check memory data
memtrace         - dump memory trace information
gic_dump         - show gic status
list_page        - show page info
list_fd          - list file descriptor
lsof             - list open files
mount            - mount<device><mountpoint><fstype>
unmount          - unmount the mountpoint
hello            - say hello world
clear            - clear the terminal screen
version          - show RT-Thread version information
list_thread      - list thread
list_sem         - list semaphore in system
list_event       - list event in system
list_mutex       - list mutex in system
list_mailbox     - list mail box in system
list_msgqueue    - list message queue in system
list_memheap     - list memory heap in system
list_mempool     - list memory pool in system
list_timer       - list timer in system
list_device      - list device in system
list             - list all symbol in system
help             - RT-Thread shell help.
ps               - List threads in the system.
free             - Show the memory usage in the system.
ls               - List information about the FILEs.
cp               - Copy SOURCE to DEST.
mv               - Rename SOURCE to DEST.
cat              - Concatenate FILE(s)
rm               - Remove(unlink) the FILE(s).
cd               - Change the shell working directory.
pwd              - Print the name of the current working directory.
mkdir            - Create the DIRECTORY.
mkfs             - format disk with file system
df               - disk free
echo             - echo string to file
set              - set or show environment variable
list_channel     - list IPC channel information
list_process     - list process
kill             - send a signal to a process
killall          - kill processes by name
list_shm         - show share memory info
sys_log          - sys_log 1(enable)/0(disable)
ifconfig         - list the information of all network interfaces
ping             - ping network host
dns              - list and set the information of dns
netstat          - list the information of TCP / IP
pwm_enable       - pwm_enable pwm1 1
pwm_disable      - pwm_disable pwm1 1
pwm_set          - pwm_set pwm1 1 100 50
date             - get date and time or set [year month day hour min sec]
wifi             - wifi command.

执行用户 app。用户 app 存放在目录 /root/bin 目录下

msh /root/bin>pong.elf &msh /root/bin>
Pong: wait on the IPC channel: 3msh /root/bin>ping
msh /root/bin>ping.elf
msh /root/bin>
Ping: send count = 0
Pong: receive count = 0
Pong: reply count = 0
Ping: receive the reply 0Ping: send count = 1
Pong: receive count = 1
Pong: reply count = 1
Ping: receive the reply 1Ping: send count = 2
Pong: receive count = 2
Pong: reply count = 2
Ping: receive the reply 2Ping: send count = 3
Pong: receive count = 3
Pong: reply count = 3
Ping: receive the reply 3Ping: send count = 4
Pong: receive count = 4
Pong: reply count = 4
Ping: receive the reply 4Ping: send count = 5
Pong: receive count = 5
Pong: reply count = 5
Ping: receive the reply 5Ping: send count = 6
Pong: receive count = 6
Pong: reply count = 6
Ping: receive the reply 6Ping: send count = 7
Pong: receive count = 7
Pong: reply count = 7
Ping: receive the reply 7

连接网络

扫描wifi SSID

msh />wifi scanSSID                      MAC            security    rssi chn Mbps------------------------------- ----------------- -------------- ---- --- ----
SunWIFI 48:0e:ec:cf:50:75 OPEN -29 7 4294
SunshineSilicon 4e:0e:ec:cf:50:75 WPA2_MIXED_PSK -30 7 4294
DIRECT-09SCX-3400 02:15:99:a0:b1:56 WPA2_AES_PSK -54 7 4294
YYH401 c0:b4:7d:90:a4:68 WPA2_AES_PSK -71 6 4294
SunshineSilicon cc:08:fb:19:74:7e WPA2_AES_PSK -73 1 4294
TP-LINK_12F0 04:95:e6:f1:bd:51 WPA2_AES_PSK -73 3 4294
360WiFi-501 a8:6b:7c:c8:35:a2 WPA2_AES_PSK -73 11 4294
ChinaNet-Ut5M 08:6b:d1:fb:49:d0 WPA2_MIXED_PSK -73 11 4294
DIRECT-2a-Pantum P2200 Series 14:6b:9c:e7:28:ed WPA2_MIXED_PSK -75 11 4294
huawei-惠惠 ac:bd:70:d5:2b:2c WPA2_AES_PSK -76 6 4294
ChinaNet-sGGV cc:90:e8:39:c9:a5 WPA2_MIXED_PSK -79 5 4294
yys c8:5b:a0:ef:13:94 WPA2_AES_PSK -79 11 4294
WirelessNet 50:1d:93:68:f4:d0 WPA2_MIXED_PSK -80 1 4294
MERCURY_A34C 5c:de:34:9a:a3:4c WPA2_AES_PSK -81 11 4294
ChinaNet-2.4G-0770 fc:60:9b:12:07:72 WPA2_MIXED_PSK -83 1 4294
嘉源轩 30:a2:c2:78:8d:ba WPA2_MIXED_PSK -84 1 4294
ChinaNet-xmPj 18:52:82:40:78:9d WPA2_AES_PSK -84 8 4294
ChinaNet-2.4G-6646 ac:e3:42:a0:66:4c WPA2_AES_PSK -86 11 4294
502 b8:80:35:c0:57:07 WPA2_AES_PSK -87 11 4294
TP-LINK_AB70 54:a7:03:b2:ab:70 WPA2_AES_PSK -87 11 4294

选择要连接的WIFI

msh />wifi join SunshineSilicon ********************
[274154] I/WLAN.mgnt: wifi connect failed!
msh />wifi join SunshineSilicon ********************
[283828] I/WLAN.mgnt: wifi connect failed!
msh />wifi join SunshineSilicon ********************
[288510] I/WLAN.mgnt: wifi connect failed!
msh />wifi join SunshineSilicon ********************
[294185] I/WLAN.mgnt: wifi connect failed!

连接wifi 基本失败,好像过很久 自动会连接上

msh /root>[4864107] I/WLAN.mgnt: wifi connect success ssid:SunshineSilicon
[4868116] I/WLAN.lwip: Got IP address : 192.168.0.67

有线网络

插网线后, 获取IP,也比较慢

Web网页管理体验

看到上面连接成功的IP192.168.0.67

打开网页http://192.168.0.67
####登录

登录比较慢
登录后

界面像路由路管理页面
点亮LED

右键菜单LED功能

LED 屏体验

下载sdl_test

RT-Thread官方编译好示例下载:https://gitee.com/rtthread/ART-Pi-smart/tree/master/documents/firmwares/root/bin

传应用及图片到开发板

本想用udb push到板子上,几次尝试,都失败,还是用古法,下载到SD卡,断电插卡,再重新上电

切换目录到sd卡

msh />cd sd

####查看文件

msh /sd>ls
Directory /sd:
AlmVoice            <DIR>
zmaee               <DIR>
@Playlists          <DIR>
My Music            <DIR>
Photos              <DIR>
Videos              <DIR>
sdl_test.elf        1046388
men.bmp             2094054
w.bmp               12183750
1002.bmp            1907166
1001.bmp            2195030
qin.BMP             230454
200.bmp             2423206
1.bmp               2512854
hello.elf           216012

标题查看sdl用法

msh /sd>sdl_test.elf -h
msh /sd>screen: lcd - 0x00202000, size 522240
screen: bpp 32, width - 480, height - 272Usage: sdl_test.elf optionoption:-l      draw line-r      draw a rectangle-t      draw a rectangle with texture-p      draw a bmp picture with texture

画条线line

msh /sd>sdl_test.elf -l
msh /sd>screen: lcd - 0x00202000, size 522240
screen: bpp 32, width - 480, height - 272

来画个矩形吧

msh /sd>sdl_test.elf -r
msh /sd>screen: lcd - 0x00202000, size 522240
screen: bpp 32, width - 480, height - 272

ART-piSmartR.jpg

显示图片

msh /sd>sdl_test.elf -p men.bmp
msh /sd>screen: lcd - 0x00202000, size 522240
screen: bpp 32, width - 480, height - 272

总结

ART-Pi Smart启动速度快,用户程序与内核分离,可以独立开应用,很棒的设计.但有点美中不足,网络连接速度太慢了.

后续

下回要体验什么功能,客官您请说.

有以下功能示例:

转载注明出处:谷动谷力(微信公众号)
更多精彩,欢迎关注微信公众号:

【RT-Thread Smart】ART-Pi Smart 开发板开箱及爱之初次体验相关推荐

  1. 香橙派(Orange Pi)树莓派开发板USBCAN适配器usb转can调试软件使用教程

    一.硬件准备 1.windows7电脑*1 2.Orange Pi zero开发板*1(可以不带显示设备,六叶树的USBCAN调试软件可以使用远程桌面) 硬件要求很低,不需要显示屏,相当于只要手里有1 ...

  2. 香橙派Orange Pi Zero2开发板使用USB摄像头的方法(安卓镜像)

    香橙派Orange Pi Zero2 开发板采用全志H616 四核 64位处理器,拥有512MB/1GB 内存可选,集成千兆以太网卡.蓝牙5.0+双频WiFi.USB2.0.TF卡槽等端口,并且,Mi ...

  3. 真正的RISC-V开发板——VEGA织女星开发板开箱评测

    文章目录 前言 关于RISC-V架构 关于VEGA织女星开发板 基于FPGA实现的RISC-V开发板 基于RISC-V芯片实现的开发板 开箱爆照 板载资源简介 主控芯片RV32M1简介 支持的开发工具 ...

  4. Arduino UNO开发板开箱体验

    Arduino UNO开发板开箱体验 1.Arduino简述 1.1什么是Arduino  Arduino是一个开源的电子设计平台,包括软件和硬件.其中硬件部分就是一块开发板了,软件部分就是对这块板子 ...

  5. rt smart操作系统在“正点原子-阿尔法”开发板开箱使用

    1.准备 正点原子阿尔法linux开发板,SD卡,网络,USB线.由于正点原子的开发板和ART-PI-smart开发板使用的是一样的MPU,所以可以运行ART-PI-smart的程序. 下载ART-P ...

  6. RASPBERRY PI PICO 开发板 基础测试

    ▌01 PI PICO 颜色名 十六进制颜色值 颜色 Coral #FF7F50 rgb(255, 127, 80) 1.安装与上载程序 在 RASPBERRY PI PICO 树莓派PICO开发板双 ...

  7. 基于Nano Pi NEO4开发板的AS项目开发

    基于Nano Pi硬件的AS项目开发 Andro Studio集成Nano Pi硬件资源库 打开AS,新建工程之后,打开app/src/main其目录结构应该是如下样式: ─ main │   ├── ...

  8. 全志H616高画质芯片香橙派Orange Pi Zero2开发板音频测试说明

    香橙派Zero2开发板搭载高画质旗舰型6K OTT处理器全志H616 四核 64位处理器,适配有Linux系统和安卓电视盒子系统,拥有512MB/1GB 内存可选,集成千兆以太网卡.蓝牙5.0+双频W ...

  9. 全志H616芯片香橙派Orange Pi Zero2开发板26pinGPIO口测试

    香橙派Zero2开发板采用全志H616 四核 64位处理器,拥有512MB/1GB 内存可选,集成千兆以太 wiringOP 已适配 Orange Pi Zero 2 开发板,使用 wiringOP ...

最新文章

  1. 串口的偶校验位设置_详解UART串口
  2. sqlserver 两表联查去重_去山东省(烟台)必吃“特色”小吃 ,舌尖5大美食享受!...
  3. 0xc000007b:vs2012+Opencv2.4.4出现0xc000007b问题
  4. ExtJS 4 File Upload + Spring MVC 3 Example
  5. 可恶,谁占用了我的80端口?
  6. java 栈 先进后出_数据结构: 先进后出——堆栈
  7. Leetcode--123. 买卖股票的最佳时间Ⅲ
  8. C#操作SQLite数据库
  9. 深入理解jvm运行时区域
  10. Unity3D之NGUI基础2:使用NGUI
  11. Unable to compile template. Check the Errors list for details 问题解决办法
  12. 李宏毅机器学习——结构化学习(一)
  13. js、jQuery实现自定义弹出框效果
  14. MD5和AES加密的处理
  15. 家庭影院的Dolby音效如何设置
  16. IEEE1588工业以太网交换机
  17. 安卓,应用程序无响应(ANR)
  18. C++function,future,packaged_task
  19. 文华学院大学计算机基础考试数据库ip,文华学院大学计算机基础模拟试卷
  20. Android手机电池耐用吗,手机电池是否还耐用?一招教你识别

热门文章

  1. SVG可伸缩的矢量图形 1
  2. v40能升级鸿蒙系统,荣耀v40可以升级鸿蒙系统吗 荣耀共有14款机型可升级
  3. MATLAB强化学习实战(一) 强化学习智能体训练总览
  4. C++使用ffmpeg解码v模块,支持cpu解码、amd64平台的cuda解码和NX平台的Nvmpi解码
  5. 来了!阿狸16周年生日限定藏品将发布,百“狸”挑一选中你
  6. 猛回头 一个华为次老员工中的华为人
  7. windows 8 音乐(Xbox Music)详解
  8. android 模拟自动点击,自动点击模拟器app
  9. python 绘制折线图与柱状图
  10. 江瀚新材登陆上交所主板:募资约24亿元,甘书官父子为实际控制人