0
  • 聊天消息
  • 系统消息
  • 评论与回复
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心

完善资料让更多小伙伴认识你,还能领取20积分哦,立即完善>

3天内不再提示

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

RT-thread 来源:RT-thread 作者:RT-thread 2022-05-03 16:25 次阅读

首先,感谢RT-Thread给ART-Pi Smart 开发板初次尝鲜机会

本文ART-Pi Smart开箱及初次体验内置应用

开箱

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

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


poYBAGJuQ-aAa68YAAJhYC40KGU207.jpg

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

pYYBAGJuQ-uAQUn2AAK10f3QVMc606.jpgpoYBAGJuQ-2ANXstAAE88WVZLaM794.jpgpYYBAGJuQ_GAJYOAAAGTtElUdCc274.jpg

屏组装后效果

poYBAGJuQ_OAKYkWAAE_vCYQ-7Q892.jpg

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

登录

pYYBAGJuQ_OATSTRAABxO9A06Xo956.jpg

登录比较慢

登录后:

poYBAGJuQ_WAe5WDAAEPST5-7pQ138.jpg

界面像路由路管理页面

点亮LED

右键菜单LED功能

pYYBAGJuQ_aAV69BAAFMfzCcyFE276.jpg

LED 屏体验

下载sdl_test

RT-Thread官方编译好示例下载:

https://gitee.com/rtthread/ART-P ... /firmwares/root/bin

传应用及图片到开发板

本想用udbpush到板子上,几次尝试,都失败,还是用古法,下载到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
poYBAGJuQ_iAL0liAAER82yt08g007.jpg

显示图片

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

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

有以下功能示例:

pYYBAGJuQ_iAAfO5AABJlIPmSAU069.jpgRT-Smart APP

总结

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

出处:谷动谷力(微信公众号)

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
  • 操作系统
    +关注

    关注

    37

    文章

    6829

    浏览量

    123338
  • 开发板
    +关注

    关注

    25

    文章

    5057

    浏览量

    97519
  • RT-Thread
    +关注

    关注

    31

    文章

    1290

    浏览量

    40153
收藏 人收藏

    评论

    相关推荐

    ART-Pi Smart开发板开箱体验

    拿到开发板,首先考虑的是如何接线,先看了一遍sdk包里面 ART-Pi-smart-masterdocuments目录下的操作文档,然后拿了一根TypeC的usb线连接开发板并开始体验ART-
    发表于 07-07 11:15 1171次阅读

    ART Pi Smart基于RT-Thread Smart系统的LVGL移植

    ART-Pi Smart开发板为RT-Thread联合百问科技出品,使用的是 NXP 公司的 i.MX6ULL 处理器,具备单核 ARM Cortex-A7,最高运行频率可以达到 800MHz。
    的头像 发表于 11-29 14:29 1090次阅读
    <b class='flag-5'>ART</b> <b class='flag-5'>Pi</b> <b class='flag-5'>Smart</b>基于RT-Thread <b class='flag-5'>Smart</b>系统的LVGL移植

    ART-PI开发板是如何与5寸LCD屏幕进行连接的?

    如何启用TouchGFX的lib库?怎样将触摸坐标传到TouchGFX中去?ART-PI开发板是如何与5寸LCD屏幕进行连接的?有哪些流程?
    发表于 07-06 06:11

    请问ART-PI开发板如何连接玫瑰科技5寸LCD屏幕?

    请问ART-PI开发板如何连接玫瑰科技5寸LCD屏幕?
    发表于 10-27 06:09

    Art-Pi开发板学习笔记资料汇总

    正常显示。 ** 1.LVGL 不支持 24bit 的色彩,而 Art-Pi 媒体扩展版上的 LCD 刚好就是 24bit 的。开发环境: rt-thread studio 开发板Art-
    发表于 03-21 14:56

    怎样将art-pi的基于rtt的bootloader移植到stm32h750vbt6开发板

    开发环境:rt-thread studio开发板ART-PI和stm32h750vbt6通用开发板手头除了art-pi,还有一块stm32
    发表于 03-22 09:56

    基于ART-Pi Smart平台的设计方案推荐

    播放的功能;SDL2 的功能不仅仅局限于图片、视频的播放;得益于 SDL2 丰富的拓展库,开发者可以快速、方便地实现非常多好玩的应用,例如:游戏开发。所以,在本篇文章中,基于 SDL2 以及其拓展库,我们将在 ART-Pi
    发表于 03-24 16:56

    使用ART-Pi ST-LINK的步骤教程

    1. ST-LINK 与 J-LINK 的区别相信大家对 ST-LINK 和 J-LINK 都不陌生. ART-Pi 板载了 STM32F103CBT6 ,出厂默认是烧录的 ST-LINK V2-1
    发表于 04-11 10:10

    配置ART-Pi Smart开发板的启动方式资料推荐

    BOOT_MODE 寄存器、eFUSEs、配置管脚等状态来决定启动模式以及启动设备。故在启动前,用户可根据自己需要配置 ART-Pi Smart 开发板的启动方式。目前,ART-Pi
    发表于 05-05 17:30

    分享一种在ART-Pi Smart上进行车标识别的设计方案

    1、在ART-Pi Smart上对摄像头采集的数据进行车辆识别本来计划使用 ART-Pi Smart 进行车标识别的,但是现在实际测试发现摄像头采集的数据显示有大概率抖动的现象发生,所
    发表于 06-02 15:11

    ART-Pi Smart开发板启动rtthread内核与开发环境搭建体验

    1.开箱体验拿到开发板,首先考虑的是如何接线,先看了一遍sdk包里面 ART-Pi-smart-masterdocuments目录下的操作文档,然后拿了一根TypeC的usb线连接开发板
    发表于 06-20 11:58

    ART-Pi LoRa开发套件教程相关资料分享

    1、ART-Pi LoRa 开发套件简介  ART-Pi LoRa 开发套件(LSD4RFB-2EVKM0201)是利尔达科技与睿赛德科技联合出品的一套面向物联网
    发表于 09-30 11:57

    ART-PI开发板为核心的智能管家精灵设计

    概述 主控平台以 ART-PI 开发板为核心,主要任务是抓取网络数据、如天气、疫情等,并由OLED实时显示最新数据,同时将抓取的数据当做log文件存储在SD卡上,供后续分析使用。 并推送室内环境信息
    的头像 发表于 12-25 15:34 1780次阅读

    RT-Thread联合百问科技出品ART-Pi Smart开发板

    ART-Pi Smart 开发板是RT-Thread联合百问科技出品,用于学习和评估RT-Thread Smart微内核操作系统。 硬件配置 i.MX6ULL,单核 ARM Corte
    的头像 发表于 11-16 14:32 2975次阅读

    ART-PI Smart开发板介绍与开发环境的建立

    art-pi smart 是rt-thread公司推出的一款基于NXP公司imx6ull处理器的开发板,主要用来测试评估RT公司去年新发布的混合微内核操作系统RT-Smart
    的头像 发表于 05-13 09:45 1669次阅读