【瑞萨AI挑战赛】#01 快速开始

快速安装和配置 SDK 的过程参考这里

一、在 RT-Thread Studio 中配置 SDK

1. 安装 RT-Thread Studio

  • 在这里下载安装 RT-Thread Studio

2. 选择 SDK Manager,安装相应的 SDK

在图标当中找到 SDK Manager
Titan Board 支持包版本

  1. Titan Board板级支持包:Board_Support_Packages → Renesas → Titan-Board → 1.0.0 (目前最新的是1.0.2)
  2. ARM编译工具链:ToolChain_Support_Packages → GNU_Tools_for_ARM_Embedded → 13.3.rel1
  3. PyOCD调试工具:Debugger_Support_Packages → PyOCD → 0.2.9

二、创建和烧录工程

1. 新建 RT-Thread 项目

  1. 文件 → 新建 → RT Thread 项目
  2. 填写项目信息:

2. 硬件连接

  1. 将USB线连接至板子上的 USB-DBG 端口上
  2. 出现 COM7 和 CMSIS-DAP

这里出现一个问题,CMSIS-DAP一开始被识别为 WinUSB 设备,解决办法是:卸载设备、重新插拔

3. 编译下载

  1. 点击构建
  2. 点击下载程序(右侧箭头应选择 DAP-LINK)

4. 运行命令

  1. 打开终端
  2. 运行命令
bash 复制代码
 \ | /
- RT -     Thread Operating System
 / | \     5.1.0 build Mar 15 2026 22:17:59
 2006 - 2024 Copyright by RT-Thread team

==================================================
Hello, Titan Board!
==================================================

msh >help
RT-Thread shell commands:
backtrace        - print backtrace of a thread
clear            - clear the terminal screen
version          - show RT-Thread version information
list             - list objects
help             - RT-Thread shell help
ps               - List threads in the system
free             - Show the memory usage in the system
pin              - pin [option]
reboot           - Reboot System

msh >ps
thread       pri  status      sp     stack size max used left tick   error  tcb addr
------------ ---  ------- ---------- ----------  ------  ---------- ------- ----------
tshell        20  running 0x000000d4 0x00001000    16%   0x00000006 OK      0x22022a18
sys workq     23  suspend 0x00000084 0x00000800    06%   0x0000000a OK      0x22021f10
tidle0        31  ready   0x0000005c 0x00000100    54%   0x00000005 OK      0x220203fc
timer          4  suspend 0x000000bc 0x00000200    36%   0x00000009 EINTRPT 0x22020858
main          10  suspend 0x000000e4 0x00000800    17%   0x00000008 EINTRPT 0x220215d8

应用层的入口函数在 src\hal_entry.c 中 的 void hal_entry(void) 。用户编写的源文件可直接放在 src 目录下。

cpp 复制代码
void hal_entry(void)
{
    rt_kprintf("\n==================================================\n");
    rt_kprintf("Hello, Titan Board!\n");
    rt_kprintf("==================================================\n");

    while (1)
    {
        rt_pin_write(LED_PIN_0, PIN_HIGH);
        rt_thread_mdelay(1000);
        rt_pin_write(LED_PIN_0, PIN_LOW);
        rt_thread_mdelay(1000);
    }
}
相关推荐
送外卖的工程师7 小时前
STM32智能窗帘窗户控制系统
stm32·单片机·嵌入式硬件
搁浅小泽7 小时前
泰克(Tektronix)示波器测试方法及注意事项技术规范
stm32·单片机·嵌入式硬件·汽车
AI开源软件11 小时前
用MQTT跑通一台模拟设备:看懂IoT产品、物模型和告警
java·vue.js·spring boot·物联网·mqtt·iot·企业管理
Matt Feng11 小时前
STM32多路SWD烧录:并行下载与5类连接故障排查
c语言·stm32·单片机·嵌入式硬件
物联通信量讯说13 小时前
2026年12月国际物联网卡服务商怎么选?从GSMA杭州论坛看2027年AIoT设备全球连接趋势
物联网·iot·企业出海·国际物联网卡·全球iot·gsma杭州论坛
元器件BOM超人14 小时前
ESP32-WROOM-32E LAN8720开发板上板笔记:三路联网一次跑通
笔记·单片机·嵌入式硬件
A_humble_scholar15 小时前
stm32(7) 通用定时器 TIM2/TIM3/TIM4:四个通道的两条通路
stm32·单片机·嵌入式硬件
qq_4480111615 小时前
定时器初识
单片机·嵌入式硬件
辰哥单片机设计15 小时前
STM32与K210车牌号识别系统
stm32·单片机·嵌入式硬件
星河单片机16 小时前
基于STM32的库房环境监测系统设计(单片机成品方案)
stm32·单片机·嵌入式硬件