embedded

What is the best .net Micro Framework dev board, for under $300?

I'm looking for a relativity cheap .net Micro Framework development board for use on a personal robotics project. I'd don't need much for I/O, but I want at least one serial port and one Ethernet port. I would prefer not to have to spend more than $300 on the board, but if there is an obvious reason to get a better one I'm flexible. ...

Embedded systems worst practices?

...

I need a TCP option (ioctl) to send data immediately.

I've got an unusual situation: I'm using a Linux system in an embedded situation (Intel box, currently using a 2.6.20 kernel.) which has to communicate with an embedded system that has a partially broken TCP implementation. As near as I can tell right now they expect each message from us to come in a separate Ethernet frame! They seem to...

Switching between visible applications in Windows CE 5, Lang: C++

Hi I'm an old hand at embedded programming but new to CE and having a lot of trouble doing reasonably simple things, because I am not familiar with the API and struggling to understand the obscure MSDN docs. All I want to do is minimize and maximise two separate applications that are running from one of the applications. E.g. Applica...

GPRS communication Microcontroller

What are all AT commands required for GPRS communication? ...

Small RISC emulator.

I'm looking to build a VM into a game and was wondering if anyone knew of any really simple VM's (I was thinking RISC/PIC was close to what I wanted) that are usually used for embedded projects such as controlling robots, motors, sensors, etc. My main concern is having to write a compiler/assembler if I roll my own. I'd be nice to use th...

C Training on 16-bit microcontrollers

My comany is transistioning from assembly coded microcontrollers to C. We are considering Microchip, Atmel, Renasas, et. al. for future projects using C code. Are there good training resources to bring our engineers up to speed with C? Seminars, instructors, classes, etc. The experience level of the engineers varies from no training ...

Mid range embedded Processor

I have worked on embedded projects with small 8 bit processor like the PIC and AVR and lots of high end Power PC work. I need a board for a project that is not going to work on a 8 bit processor but a Power PC with lots of memory and peripherals is total overkill. The board does not need to run a OS and most of the peripherals will be ...

Is there a need to close file descriptors before exit?

Of course, the immediate answer for most situations is "yes", and I am a firm believer that a process should correctly cleanup any resources it has allocated, but what I have in my situation is a long-running system daemon that opens a fixed number of file descriptors at the startup, and closes them all before exiting. This is an embedd...

Recommended techniques for field updating embedded Linux safely

Embedded Linux based devices often require a mechanism to update applications and system files. For example, a (non-networked) lab instrument with a USB port can get software updates from a USB stick. It would be a simple matter to run a script to copy files into place on the device's internal flash memory. However, there is the danger...

Writing apps in C for microcontrollers

What resources do you know dedicated to software development in C for PIC microcontrollers? I would like to see some kind of framework that handles both IO (buttons for input and LCD for output) and application logic. You can think of it as a VERY simple OS. I understand that PIC's memory can be small for such frameworks so I think it c...

Mips calculation for embedded software

Hello, I have been recently (and repeatedly) asked by customers about MIPS needed to run our software. Usually we was able to get rid of this questions by explaining the customer that this is really depend on the cpu/os/hw (our software is highly portable) and/or use case (i.e. how our software is used). But I have a last one not o...

Using far function pointers

I realize that far is compiler specific, but my expectation is that the placement of the far specifier should make sense to those who really understand pointers. So, I have two applications that share the processor's entire memory space. App A needs to call function foo that exists in app B. I know the memory location of function foo....

Lightweight regex parser

I'd like to use a Regex parser to aid in some string processing in a C application. I'm ideally looking for something lightweight and open-source. The target platform is an embedded system so we're looking to save as much as possible with memory consumption in particular. I've found a number of options online but was wondering if anyone ...

What is a good open source message bus for embedded Linux?

I'm looking for a good open source message bus that is suitable for embedded Linux devices (Linux and uClinux). It needs to satisfy the following criteria: Must be free software and LGPL or a more liberal license due to uClinux only supporting static linking Must have a C API Must have a relatively small footprint and not depend on th...

How to compile and install a Linux kernel into an ARM kit

I have an ARM kit beside me and a Linux kernel source code patched with Xenomai on my machine. I understand I can send data to the kit through an USB cable and a (windows-based, of course) software, but I'm stumped as to exactly what I should be sending that would make the kit run Linux. (clarifications from comments: It is an Atmel AT9...

Windows CE Device: Deploy using a .zip or a .cab on headless device?

I have a Windows CE device that we are deploying, but we have complete control of the software installed on it. This is not a typical Windows Mobile device, this is a headless device that the user will not interact with. I know that on PDA-style WinCE devices, the .cab file is the preferred application distribution method. However...

Protocols used to talk between an embedded CPU and a PC.

I am building a small device with its own CPU (AVR Mega8) that is supposed to connect to a PC. Assuming that the physical connection and passing of bytes has been accomplished, what would be the best protocol to use on top of those bytes? The computer needs to be able to set certain voltages on the device, and read back certain other vol...

Static vs global in terms of speed and space consumption in C

I would like to know difference between static variables and global variables in terms of access speed and space consumption. (If you want to know my platform: gcc compiler on Windows. (I am using Cygwin with Triton IDE for ARM7 embedded programming on windows. Triton comes with gcc compiler on Java platform which can be run on Windows.)...

Windows CE vs Embedded Linux

Now I'm sure we're all well aware of the relative merits of Linux vs Windows Desktop. However I've heard much less about the world of embedded development. I'm mainly interested in solutions for industry and am therefore uninterested about the IPhone or Android and more interested in these two OSes. What are the relative trade-offs betw...