473,406 Members | 2,620 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,406 software developers and data experts.

Embedded programming in C# / .NET

Hi people,

Somewhere in the near future I will have to develop a kernel for an
industrial printer. Some parts of the kernel have real-time
constraints, other parts do not. The kernel should be executed in
(what my proj. mgr. calls) embedded XP. I assume he means XP CE,
although I am not sure (my mgr. is hardly around).

I was wondering if any of the people around here have ever done such
an embedded project using C# / .NET?
Is it possible to use the .NET environment in CE OS?

I am worrying about the real time constraints vs. garbage collection.
I've read about IDispose, and I was wondering if this could solve my
issue.

The kernel will be rather complex, and will communicate heavily with
other components in the system (be they hard or soft). It will have to
use or be able to handle different technologies ((D)COM, sockets, DMA,
....). What are the limitations for C# (.NET)?

I get the feeling that I will burn my hands when I go for C# / CE. But
I may be wrong of course :)

Any pointers/links/... are welcome. Books perhaps?

Thank you,
Tom Tempelaere.
Nov 15 '05 #1
1 4275
Tom,

You should be able to do the majority of what you want to do with .NET.
For CE systems, you can use the .NET Compact Framework, which is a subset of
..NET. Also, .NET supports interoperability with COM, so using DCOM (or
COM+) or regular COM components would be fine. Additionaly, there are
Socket classes, and you can call functions exported through DLLs using the
P/Invoke layer. Hopefully, this will give you all you need to do what you
need to do.

As for the real time constraints vs. garbage collection, you might have
an issue there, depending on the needs of your system. The IDispose
interface might help, but only if the classes implement it. IDispose is
used to dispose of resources that are of a critical nature, things like
database connections, window handles, etc, etc. It isn't used for releasing
memory when you want. GC is responsible for that.

Hope this helps.

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

"Tom Tempelaere" <Ti******@hotmail.com> wrote in message
news:d6**************************@posting.google.c om...
Hi people,

Somewhere in the near future I will have to develop a kernel for an
industrial printer. Some parts of the kernel have real-time
constraints, other parts do not. The kernel should be executed in
(what my proj. mgr. calls) embedded XP. I assume he means XP CE,
although I am not sure (my mgr. is hardly around).

I was wondering if any of the people around here have ever done such
an embedded project using C# / .NET?
Is it possible to use the .NET environment in CE OS?

I am worrying about the real time constraints vs. garbage collection.
I've read about IDispose, and I was wondering if this could solve my
issue.

The kernel will be rather complex, and will communicate heavily with
other components in the system (be they hard or soft). It will have to
use or be able to handle different technologies ((D)COM, sockets, DMA,
...). What are the limitations for C# (.NET)?

I get the feeling that I will burn my hands when I go for C# / CE. But
I may be wrong of course :)

Any pointers/links/... are welcome. Books perhaps?

Thank you,
Tom Tempelaere.

Nov 15 '05 #2

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

Similar topics

33
by: Joe Cheng | last post by:
I'm curious about something... many Artima.com members who have a Java background and learned Python have come to the conclusion that Java and Python are highly complimentary languages. They would...
3
by: rusttree | last post by:
Many moons ago, I took a class in embedded control at school. The course focused on a micro-controller mounted on a small electric car that was programmed using simple C code. The...
6
by: Shalini | last post by:
Hi, Iam looking for some books which deal with Embedded software as well as C programming. I was suggested An Embedded software primer - David E Simon by a friend. Would like to have your...
49
by: Alex Vinokur | last post by:
Are there any restrictions/problems for use of C++ STL in development in embedded systems? In particular: * Does STL require too much space/memory? * Is 'implementation of STL...
1
by: leeanngriego | last post by:
I have a client who has asked me to find him some solid up and coming embedded engineers. 2 to 3 years expereince with Embedded Linux, VxWorks, Nucleus or any other RTOS who has working in L2/L3...
1
by: roman300178 | last post by:
Hi ! I can't really find out whether using c++ stl in embedded programing is ok? Would glad to hear from embedded programmers if they have used STL - what is the stl usage benefits/drawbacks?...
14
by: Martin Wells | last post by:
When I want to store a number, I use "unsigned". I go with unsigned because it's the natural type for the system, and so should be the fastest. However, there are 8-Bit microcontrollers out...
3
by: elf | last post by:
Hi, Where can I find some free information/tutorials about embedded programming in C (but _not_ in C++)? I would like to learn about network software programming for some switches and routers. ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.