如何确定使用哪个 SOC 或 SDK 板?

发布于 2024-09-04 11:22:51 字数 178 浏览 5 评论 0原文

基本上我正在研究一个自动吸尘器的模型。我目前已经做了同样的软件模拟。如何确定使用哪个 SOC 或 SDK 板来进行硬件实现?我的代码大部分是用C写的,这能兼容板卡厂家提供的sdk吗?我如何知道硬件需要什么时钟速度、内存等?

我是一名软件人员,只有有关实际硬件实现的基本知识。具有一些对 8086 进行编程以执行基本任务的经验。

Basically I'm working on a model of an automated vacuum cleaner. I currently have made software simulation of the same. How do I figure out which SOC or SDK board to use for the hardware implementation? My code is mostly written in C. Will this be compatible with the sdk provided by board manufacturers? How do i know what clock speed,memory etc the hardware will need?

I'm a software guy and have only basic knowledge about practical hardware implementations. Have some experience in programming the 8086 to carry out basic tasks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

回心转意 2024-09-11 11:22:51

您需要对应用程序所需的性能进行某种分析。我当然不是这方面的专家,但我想到的问题包括:

  • 您需要多少性能?分析您的应用程序,并尝试对其最低性能要求进行一些估计,例如 MIPS。
  • 您的应用程序代码和/或数据会很大吗?您需要一个具有 8 KB 代码空间和 100 字节 RAM 的控制器,还是一个具有 1 MB 代码和 128 KB RAM 的控制器?介于两者之间?在哪里?
  • 您需要大量(数十个)I/O 通道吗?具有什么特点?只需基本的数字 I/O、少量引脚就足够了,还是需要 20 个通道的 10 位 A/D 转换?脉宽调制?通讯周边设备?

后续:

  • 制造商当然会确保他们的客户可以在他们的主板上构建和运行软件。他们要么提供免费的编译器,要么(毕竟嵌入式开发是一个行业和一个非常大的市场)将它们作为工具出售。
  • 对于许多低端(当然也有许多中端和高端)体系结构,有免费的开发环境,通常基于 GNU 的 gcc 编译器。
  • 例如,您可以查看 AtmelAVR 8 位控制器,它们在爱好者世界中非常流行,并且易于将 C 代码移植到。有免费的编译器,基本的开发板也很便宜。

You need to perform some kind of analysis of the required performance of your application. I'm certainly no expert in this, but questions that come to mind include:

  • How much performance do you need? Profile your application, and try to come up with some estimate of its minimum performance requirements, in e.g. MIPS.
  • Is your application code and/or data going to be large? Do you need a controller with 8 KB of code space and 100 bytes of RAM, or one with 1 MB of code and 128 KB of RAM? Somewhere inbetween? Where?
  • Do you need lots (tens) of I/O channels? With what characteristics? Is it enough with just basic digital I/O, a handful of pins, or do you need 20 channels of 10-bit A/D conversion? PWM? Communications peripherals?

Followups:

  • Manufacturers will of course make sure that their customers can build and run software on their boards. They will provide either free compilers, or (since embedded devlopment is an industry and a very large market, after all) sell them as tools.
  • There are free development environments, often based around GNU's gcc compiler, for many low-end (and of course many medium and high-end, too) architectures.
  • You could, for instance, look through Atmel's range of AVR 8-bit controllers, they're very popular in the hobbyist world and easy to port C code to. Free compilers are available, and basic development boards are cheap.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文