简体   繁体   English

ThreadX在ARM开发板上的移植

[英]ThreadX porting on ARM development board

I've worked on Linux but i'm new to RTOS. 我曾经在Linux上工作,但我是RTOS的新手。 I've following things: 我正在关注以下内容:

  1. Craneboard(AM3517) development board,below given link for that Craneboard(AM3517)开发板,在下面给出了链接
  2. Linux build for Craneboard 用于Craneboard的Linux构建
  3. Application that runs on Craneboard 在Craneboard上运行的应用程序
  4. Downloaded ThreadX demo codes for AM3517 已下载AM3517的ThreadX演示代码

    • Now problem is that i want to install ThreadX(RTOS) on Craneboard and run demo code of ThreadX application on Craneboard. 现在的问题是我想在Craneboard上安装ThreadX(RTOS)并在Craneboard上运行ThreadX应用程序的演示代码。
    • I want to know that which IDE,toolchain can be used for for doing above thing. 我想知道哪个IDE工具链可用于完成上述操作。
    • How to build ThreadX for AM3517(Craneboard) ? 如何为AM3517(Craneboard)构建ThreadX?

Craneboard : https://www.mistralsolutions.com/product-engineering-services/products/development-platforms/craneboard/ Craneboard: https : //www.mistralsolutions.com/product-engineering-services/products/development-platforms/craneboard/

I'm new to ThreadX so need guidance. 我是ThreadX的新手,所以需要指导。

Like most RTOS kernels, ThreadX is not "installed" on a board as you would a general purpose OS such as Linux. 像大多数RTOS内核一样,ThreadX不会像安装通用操作系统(如Linux)那样“安装”在板上。 Rather it is a object code library that you statically link to your application code and target run-time start-up to produce a single monolithic binary image that is executed directly on the board either from the reset vector or from some form of bootstrap. 相反,它是一个目标代码库,您可以将其静态链接至应用程序代码,并以运行时启动为目标,以生成单个整体式二进制映像,该映像可以直接从板上通过复位向量或某种形式的引导程序执行。

As a commercial RTOS, you should seek guidance from the vendors documentation and technical support. 作为商业RTOS,您应该从供应商文档和技术支持中寻求指导。 ExpressLogic's site lists ARM RealView, IAR Embedded Workbench, Wind River Workbench, Keil, Green Hills, Lauterbach, MetaWare, EPI, and GNU as supported toolchains. ExpressLogic的站点将ARM RealView,IAR嵌入式工作台,Wind River工作台,Keil,Green Hills,Lauterbach,MetaWare,EPI和GNU列出为受支持的工具链。 There is an AM3517 Experimenter Board demo on the ThreadX site that uses IAR tools , which may be a good place to start, however since you are using a different board, the demo may require some adaptation. 在ThreadX网站上有一个使用IAR工具AM3517实验板演示,它可能是一个很好的起点,但是,由于您使用的是其他板,因此该演示可能需要进行一些调整。

Unlike Linux, support for most of the peripherals on your board will be down to you to implement; 与Linux不同,对板子上大多数外围设备的支持将取决于您实现。 and RTOS typically provides scheduling, multitasking, inter-process communication, synchronisation and timing and little else. RTOS通常提供调度,多任务,进程间通信,同步和定时等功能。 File systems and networking etc. are normally add-on middleware at extra cost or from third-party sources. 文件系统和网络等通常是附加中间件,需要额外付费或来自第三方。

Also unlike Linux, an RTOS cannot normally host its own development tools or debugger. 与Linux不同的是,RTOS通常不能托管自己的开发工具或调试器。 You require a cross-compiler and debugger and JTAG debug adapter. 您需要交叉编译器和调试器以及JTAG调试适配器。 I imagine that your board has a JTAG header, but since the site requires logging in to view the data sheet, I have not verified that. 我想您的电路板上有一个JTAG标头,但是由于该站点需要登录才能查看数据表,因此我尚未对此进行验证。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM