下载控制板软件模拟器
我有兴趣学习如何用 c 进行嵌入式系统编程。但是,我需要一些硬件。
我想知道有什么软件可以模拟控制板的功能吗?
控制板在以下教程中列出
http://www.learn-c.com/hardware .htm
非常感谢您的建议
I am interested in learning how to do embedded system programming in c. However, I will need some hardware.
I am wondering is there any software that can simulate what the control board will do?
The control board is listed in the following tutorial
http://www.learn-c.com/hardware.htm
Many thanks for any advice
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您链接到的板不是嵌入式系统板,它是 PC 的 I/O 接口。如果您想模拟这一点,您可以简单地为模拟连接设备行为的 I/O 函数编写 PC 代码存根。然而,你不会从中学到太多关于嵌入式系统的知识。您可能会了解一些有关基于 PC 的控制的知识,但由于该板不支持中断或 DMA,我再次建议您也不会了解太多。
此外,该板专为 ISA 总线插槽而设计。现代个人电脑不再有这样的插槽。现代操作系统阻止在用户级代码中访问硬件 I/O。
如果您认真学习嵌入式系统开发,您可以下载 Keil 的 MDK-ARM 评估;它包括一个 ARM 模拟器,带有片上外设模拟功能,适用于许多常用的基于 ARM 的微控制器,并且可以以合理的成本获得真实的硬件。
如果您对基于 PC 的控制更感兴趣,那么您最好从基于 USB 的 I/O 设备开始,例如 此示例。
The board you linked to is not an embedded system board, it is an I/O interface for a PC. If you want to simulate that, you can simply write PC code stubs for the I/O functions that simulate connected devices' behaviour. However, you will not learn much about embedded systems from this. You may learn a little about PC based control, but since the board does not support interrupts or DMA, I suggest again that you will not learn much of that either.
Moreover the board is designed for an ISA bus slot. Modern PCs no longer have such slots. And modern operating systems prevent access to hardware I/O in user level code.
If you are serious about learning embedded systems development, you might for example download Keil's MDK-ARM evaluation; it includes an ARM simulator with on-chip peripheral simulation for a number of commonly available ARM based micro-controllers, and real hardware is available at reasonable cost.
If PC based control is of more interest, then you would be better off starting with a USB based I/O device, such as this example.