473,320 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Is C# suitable for low-level embedded

Hi,

I tried posting this in a different thread a week ago but only received one
response so I will try again here.

I am writing the code for a program that will run on an embedded PXA255
running Windows CE 4.2. At first I was planning on using C# with the compact
frame work but the more I learn about the project, the less comfortable I
feel. Now I am thinking about using eVC++ 4.0. I have never used embedded
VC++ but have a copy. My program will need to do all of the following and
I'm not sure if it can be done in C#:

Send and receive data over the following ports:
Ethernet (TCP/IP)
Serial (RS232)
USB
I2C
SSP or NSSP (Networked Synchronsous Serial Port) - need register I/O

Respond to Key Presses
Custom hardware

Do some pretty serious number crunching in a hurry
Are there ways to speed up non integer math?

Update a graphical display
Basically move small images around on a constant background
I would appreciate any advice as to which development environment would be
better (pros/cons). Any book recommendations - I can't seem to find a recent
book on eVC++ or any sample programs. Does anyone know of any training
classes for this type of programming? I am far more comfortable with the
drag and drop ease of the .net environment but I have used MFC a few years
back. The GUI will not have buttons or menus - it is more of a "graphics
reporting" screen. Given all of this, is C# a good choice?

Thank you for any help,
Joe

Nov 17 '05 #1
3 1610
Joe,

I believe that you can do everything that you want with the compact
framework (you might have to do some custom stuff if you want to speed up
the non-integer math), but I don't know that there is a version of the
Framework that runs on embedded devices.

You might want to check out the Microsoft Windows Embedded Development
Center, located at (watch for line wrap):

http://msdn.microsoft.com/embedded/

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Joe Thompson" <Jo*********@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.com...
Hi,

I tried posting this in a different thread a week ago but only received
one
response so I will try again here.

I am writing the code for a program that will run on an embedded PXA255
running Windows CE 4.2. At first I was planning on using C# with the
compact
frame work but the more I learn about the project, the less comfortable I
feel. Now I am thinking about using eVC++ 4.0. I have never used
embedded
VC++ but have a copy. My program will need to do all of the following and
I'm not sure if it can be done in C#:

Send and receive data over the following ports:
Ethernet (TCP/IP)
Serial (RS232)
USB
I2C
SSP or NSSP (Networked Synchronsous Serial Port) - need register I/O

Respond to Key Presses
Custom hardware

Do some pretty serious number crunching in a hurry
Are there ways to speed up non integer math?

Update a graphical display
Basically move small images around on a constant background
I would appreciate any advice as to which development environment would be
better (pros/cons). Any book recommendations - I can't seem to find a
recent
book on eVC++ or any sample programs. Does anyone know of any training
classes for this type of programming? I am far more comfortable with the
drag and drop ease of the .net environment but I have used MFC a few years
back. The GUI will not have buttons or menus - it is more of a "graphics
reporting" screen. Given all of this, is C# a good choice?

Thank you for any help,
Joe

Nov 17 '05 #2
It's been a long time since I did embedded development, but I would say
that no, C# is not a good choice.

Given your description, you're not going to use much of the framework,
and I predict that you'll spend most of your time trying to figure out
how to get _around_ the Framework to the hardware below.

I also predict that you'll be writing lots of "unsafe" code in order to
do pointer manipulation and read from and write to dedicated addresses.
Just the sort of thing from which the Framework is trying to isolate
you.

On top of all of that are the problems of using a garbage-collected
language on a platform with limited CPU power and hard real-time
deadlines.

I would go for some flavour of C++. eVC++ sounds perfect, as it was
designed for embedded systems.

Nov 17 '05 #3
Thanks for your respones. So far, everyone seems to seem eVC++ is the way to
go.

Joe
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

53
by: john67 | last post by:
The company I work for is about to embark on developing a commercial application that will cost us tens-of-millions to develop. When all is said and done it will have thousands of business...
0
by: Luong Phan | last post by:
--0-342085162-1061547060=:86593 Content-Type: text/plain; charset=us-ascii Hi all, In my web application, I use mysql supported by Redhat Linux 7.3 to store database, jakarta-tomcat-3.2.4,...
0
by: Andrew | last post by:
When will .NET have a low-pause-time garbage collector A low-pause-time garbage collector would greatly improve .NET's ability to serve as a platform for soft real-time systems. It doesn't have...
1
by: sebtiber | last post by:
Hi, I try to connect to db2 with tomcat4.0.6 on linux redhat9.0. with driver db2java.jar I have always the same error "no suitable driver". i try different actions that have read on the forum...
19
by: Lorenzo J. Lucchini | last post by:
My code contains this declaration: : typedef union { : word Word; : struct { : byte Low; : byte High; : } Bytes; : } reg;
26
by: Bruno Jouhier [MVP] | last post by:
I'm currently experiencing a strange phenomenon: At my Office, Visual Studio takes a very long time to compile our solution (more than 1 minute for the first project). At home, Visual Studio...
2
by: dunleav1 | last post by:
I have a many row and many column table that is in a 16K page size. I have four indexes on the table. I am running row compression on the table. The table does not have a primary key. The table...
4
by: ferrad | last post by:
I have not used Python before, but believe it may be what I need. I have large text files containing text, numbers, and junk. I want to delete large chunks process other bits, etc, much like I'd...
0
by: WTH | last post by:
I ask because I've got a windows service I've written that manages failover and replication for our products (or even 3rd party applications) and it worked great right until I tested it (for ease...
8
by: K Viltersten | last post by:
I'll be working some XML's soon and i wonder if it's recommended to develop own parsers or if there exist good tools already in DotNet 3.0 or 3.5 under VS.NET 2005. Once the XML has been read,...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.