在imxRT上部署软件调试环境

本文介绍了在imxRT10xx上搭建软件调试环境的步骤,包括安装JLink GDB Server、设置环境变量、构建GCC工具链、下载SDK,并详细说明了如何调试运行程序。通过使用GDB Server和GDB进行源代码调试,同时提到了使用minicom进行串口通信查看结果。文章还预告了后续将分享关于机器学习库在imxRT上的部署。
摘要由CSDN通过智能技术生成

imxRT系列芯片调试环境搭建


本篇主要介绍如何建立imxRT的软件调试环境,即GCC+GDB+JLinkGDBServer,以期进行程序编写、软件调试,

系统需求

OS:LINUX Ubuntu 14.04 or higher
Platform:MIMXRT1050-EVK Board

调试环境搭建

  • Install the Jlink gdb sever + arm-none-eabi-gdb do debug the Code
    • Type sudo apt-get install gdb-arm-none-eabi, then the gdb will be installed directly in you system, if it does not work, try to download the gcc-arm-none-eabi-7-2017-q4-major-src.tar.bz2 from ARM Developer website. Do not download the latest version. You may meet some issues with the newest one!
    • Download J-Link Software and Documentation pack for linux, TGZ archive, 64-bit[Beta] from Segger Jlink website and unzip.
    • Build the gcc-arm-none-eabi, you can follow “How to build toolchain.pdf”, if you use Sudo apt-get to install the gdb, Please ignore the step below.
    • Export TOOLCHAIN_DIR=…your direct
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值