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

首先,感谢rt-thread给art-pi smart 开发板初次尝鲜机会
本文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 38c reset cause: wdog model: freescale i.mx6 ull 14x14 evk board board: mx6ull 14x14 evk dram: 512 mib mmc: fsl_sdhc: 0, fsl_sdhc: 1 *** warning - bad crc, using default environment display: tft7016 (1024x600) video: 1024x600x24 in: serial out: serial err: serial switch to partitions #0, ok mmc1(part 0) is current device net: eth1: ethernet@020b4000, eth0: ethernet@02188000 [prime] normal boot hit any key to stop autoboot: 0 reading /kernel/rtthread.bin 1149312 bytes read in 73 ms (15 mib/s) ## starting application at 0x80001000 ... \ | / - rt - thread smart operating system / | \ 5.0.0 build dec 15 2021 2006 - 2020 copyright by rt-thread team lwip-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.0mb found part[1], begin: 526386176, size: 1.0gb found part[2], begin: 1600128000, size: 10.0mb found 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![1751] e/[rw007]: the wifi stage 1 status 0 0 0 1[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-threadhello 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 />help rt-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 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: 3 msh /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 0 ping: send count = 1 pong: receive count = 1 pong: reply count = 1 ping: receive the reply 1 ping: send count = 2 pong: receive count = 2 pong: reply count = 2 ping: receive the reply 2 ping: send count = 3 pong: receive count = 3 pong: reply count = 3 ping: receive the reply 3 ping: send count = 4 pong: receive count = 4 pong: reply count = 4 ping: receive the reply 4 ping: send count = 5 pong: receive count = 5 pong: reply count = 5 ping: receive the reply 5 ping: send count = 6 pong: receive count = 6 pong: reply count = 6 ping: receive the reply 6 ping: send count = 7 pong: receive count = 7 pong: reply count = 7 ping: receive the reply 7 连接网络
扫描wifi ssid
msh />wifi scan ssid mac security rssi chn mbps------------------------------- ----------------- -------------- ---- --- ----sunwifi 48:0e:ec:cf:50:75 open -29 7 4294sunshinesilicon 4e:0e:ec:cf:50:75 wpa2_mixed_psk -30 7 4294direct-09scx-3400 02:15:99:a0:b1:56 wpa2_aes_psk -54 7 4294yyh401 c0:b4:7d:90:a4:68 wpa2_aes_psk -71 6 4294sunshinesilicon cc:08:fb:19:74:7e wpa2_aes_psk -73 1 4294tp-link_12f0 04:95:e6:f1:bd:51 wpa2_aes_psk -73 3 4294360wifi-501 a8:6b:7c:c8:35:a2 wpa2_aes_psk -73 11 4294chinanet-ut5m 08:6b:d1:fb:49:d0 wpa2_mixed_psk -73 11 4294direct-2a-pantum p2200 series 14:6b:9c:e7:28:ed wpa2_mixed_psk -75 11 4294huawei-惠惠 ac:bd:70:d5:2b:2c wpa2_aes_psk -76 6 4294chinanet-sggv cc:90:e8:39:c9:a5 wpa2_mixed_psk -79 5 4294yys c8:5b:a0:ef:13:94 wpa2_aes_psk -79 11 4294wirelessnet 50:1d:93:68:f4:d0 wpa2_mixed_psk -80 1 4294mercury_a34c 5c:de:34:9a:a3:4c wpa2_aes_psk -81 11 4294chinanet-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 4294chinanet-xmpj 18:52:82:40:78:9d wpa2_aes_psk -84 8 4294chinanet-2.4g-6646 ac:e3:42:a0:66:4c wpa2_aes_psk -86 11 4294502 b8:80:35:c0:57:07 wpa2_aes_psk -87 11 4294tp-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-p ... /firmwares/root/bin
传应用及图片到开发板
本想用udb push到板子上,几次尝试,都失败,还是用古法,下载到sd卡,断电插卡,再重新上电
切换目录到sd卡
msh />cd sd 查看文件
msh /sd>lsdirectory /sd:almvoice 查看sdl用法
msh /sd>sdl_test.elf -hmsh /sd>screen: lcd - 0x00202000, size 522240screen: bpp 32, width - 480, height - 272usage: sdl_test.elf option option: -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 -lmsh /sd>screen: lcd - 0x00202000, size 522240screen: bpp 32, width - 480, height - 272来画个矩形吧msh /sd>sdl_test.elf -rmsh /sd>screen: lcd - 0x00202000, size 522240screen: bpp 32, width - 480, height - 272 显示图片
msh /sd>sdl_test.elf -p men.bmpmsh /sd>screen: lcd - 0x00202000, size 522240screen: bpp 32, width - 480, height - 272 下回要体验什么功能,客官您请说.
有以下功能示例:
rt-smart app  
总结 art-pi smart启动速度快,用户程序与内核分离,可以独立开应用,很棒的设计.但有点美中不足,网络连接速度太慢了.
出处:谷动谷力 (微信公众号)

人工智能营销技术可以提高营销预算的效率 转变营销的6种方式
realmeX2Pro正式发布 售价2599元起
四川省电力公司规划投资53.95亿元提高农村用电质量
Mate X与Mate Xs全面开放升级EMUI 10.1,厚道华为让惊喜不间断!
探秘虚拟现实的“未知”和“已知”
ART-Pi Smart开发板开箱及爱之初次体验
时序电路设计串入/并出移位寄存器
E伴电子血压计好在哪里
长江存储推出UFS 3.1高速闪存芯片,加速5G时代存储升级
dfrobotI2C LCD1602液晶模块介绍
iphone8史上最丑的概念机, 苹果8如果真是这样, 国产手机高兴哭了
便携存储器的兼容操作系统
阻燃/无卤低烟阻燃/耐火电缆的区别
日志设计开发过程中的常见问题
门磁报警器中的磁性霍尔开关可使用AH462,替代HAL248
基于BARITT二极管的振荡机理详解
酶标仪型号厂家【莱恩德】
汽车电子带动国产32位MCU发展
中国移动OneNET云计算的发展与未来
视频监控系统常见故障及解决办法