单声道嵌入式

发布于 2024-07-16 03:10:32 字数 89 浏览 4 评论 0原文

我是一名 C# 开发人员,对 MSP430 等芯片的嵌入式开发感兴趣。 请推荐一些工具和教程。 Mono框架非常强大并且可定制,mono具体的例子会更有帮助。

I'm a C# developer, I'm interested in embedded development for chips like MSP430. Please suggest some tools and tutorials.
Mono framework is very powerful and customizable, mono specific examples will be more helpful.

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

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

发布评论

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

评论(5

南街九尾狐 2024-07-23 03:10:32

Mono 需要 32 位系统,它不能在 16 位系统上运行。

Mono requires a 32 bit system, it is not going to work on 16-bit systems.

情绪少女 2024-07-23 03:10:32

目前 MSP430 没有完整的单声道支持。

Mono 不是在真空中运行 - 您需要编写一个程序,将微控制器功能公开给 Mono,然后链接到 Mono 并在微控制器上对整个程序进行编程。 该程序必须向 Mono 提供一些通常由操作系统提供的功能。

链接到的分页 igorgue 为您提供了此过程的良好起点: http://www.mono -project.com/Embedding%5FMano

不过,我不知道 Mono VM 的要求是什么。 它可能很容易编译和使用,或者您可能必须编写大量支持代码,或者深入研究单声道以禁用您不会使用的代码,或者无法在所选微控制器上支持的代码。

此外,Mono 并不庞大,但它很复杂,并且在设计时考虑了更大的 32 位处理器。 它可能适合也可能不适合相对有限的 16 位 MSP430。

不过,MSP430 确实有 GCC 端口,因此您不必将单声道代码移植到新的编译器,这应该会让您的工作更轻松。

There is currently no full mono support for the MSP430.

Mono doesn't run in a vacuum - you will need to make a program that exposes the microcontroller functionality to Mono, then link to Mono and program the entire thing on the microcontroller. This program will have to provide some functionality to Mono that is normally provided by an operating system.

The paged igorgue linked to gives you a good starting point for this process: http://www.mono-project.com/Embedding%5FMono

I don't know what the requirements of the Mono VM are, though. It may be easy to compile and use, or you may have to write a lot of supporting code, or dig deep into mono to disable code you won't be using, or can't support on the chosen microcontroller.

Further, Mono isn't gargantuan, but it's complex and designed with larger 32 bit processors in mind. It may or may not fit onto the relatively limited 16 bit MSP430.

However, the MSP430 does have a GCC port, so you don't have to port the mono code to a new compiler, which should make your job easier.

旧人 2024-07-23 03:10:32

在 MSP430 上使用 Mono 的工具尚不可用。 放弃所有 C# 并使用 C/C++ 代替。

The tools to use Mono on an MSP430 just aren't available. Drop all the C# and use C/C++ instead.

何时共饮酒 2024-07-23 03:10:32

MSP 器件通常具有 8 至 256KB 闪存和 256 字节 (!) 至 16KB 的 RAM。
使用 C# 甚至 C++ 确实不是一个选择。 此外,复杂的框架也是不行的。

如果您确实想开始使用 MSP430(对于其使用领域而言,这是功能强大、快速且功耗极低的处理器),您应该寻找 MSPGCC 工具链。

http://mspgcc.sourceforge.net/

它包含编译器(基于 GCC3.22)以及所有必需的工具(品牌、JTAG 编程器等)。 大多数 MSP 处理器都支持代码优化和内部硬件(例如硬件乘法器)的支持。

您所需要的只是一个编辑器(您可以使用 Eclipse、UltraEdit 甚至普通的记事本)和一些有关编写简单 makefile 的知识。

并且您应该准备编写紧凑的代码(特别是在内存使用方面)。

MSP devices usually have 8 to 256KB Flash and 256 bytes (!) to 16kBytes of RAM.
Using C# or even c++ is really not an option. Also, complex frameworks are a no-go.

If you really want to start with MSP430 (which are powerful, fast and extremely low-power processors for their area of use), you should look for the MSPGCC toolchain.

http://mspgcc.sourceforge.net/

It contains compiler (GCC3.22 based) along with all necessary tools (make, JTAG programmer etc.). Most MSP processors are supported with code optimisation and support of internal hardware such as the hardware multiplier.

All you need is an editor (yopu can use Eclipse, UltraEdit or even the normal Notepad) and some knowledge about writing a simple makefile.

And you should prepare to write tight code (especially in terms of ram usage).

来日方长 2024-07-23 03:10:32

我认为您可能会对 Netduino 感兴趣。
访问他们的网站 http://netduino.com/

它是开源硬件(如 Arduino,http://www.arduino.cc/)。

它运行.NET Micro Framework (http://www.microsoft.com/en-us/netmf/default.aspx),这是一个面向嵌入式开发的品种。

问候,
贾科莫

I think that Netduino can be of some interest for you.
Visit their web site at http://netduino.com/.

It's opensource hardware (like Arduino, http://www.arduino.cc/).

It runs .NET Micro Framework (http://www.microsoft.com/en-us/netmf/default.aspx), the breed oriented to embedded development.

Regards,
Giacomo

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文