I'm developing program for Cortex-M3. It doesn't have floating point coprocessor. Standard C library can emulate floating point operations, but I don't use it due to its size.
Is there any good and free c library, which can emulate floating point arithmetics, targeted on ARM processors?
Currently, when I use floating point operators I h...
Hello all,
I am working with an electronics appliance manufacturer to embed LAN based control systems into the products. The idea is to serve up a system configuration/control interface through a web browser so clients never need to install software. We can communicate with the appliance by sending and receiving serial data through the ...
I am working on an Embedded Windows CE project and am interested in accessing a USB HID device through one of its USB Host ports. All I really need to read are the raw HID spec packets. On a windows computer, I have a working program using hid.dll, but as far as I have researched, there is no equivalent on CE. I know there is the usbhid....
Hi All,
I am going to develop voip,iptv based application using QT on OS-WinXP and Platform-Atom processor for handheld device
As a application programmer point of view if I will not think about the drivers what are the other things I need to consider for this project? Like what should be the software layers in the handheld device?
I ...
This is my first embedded project, so bear with my ignorance. I've been asked to implement Remote NDIS over USB, using the ColdFire USB-Lite stack by CMX. I've been searching for a long time now, and can't find any clear documentation for this stack.
It comes with some woefully documented sample code and the only useful resource I've b...
Hi,
Is there a more Object Oriented alternative to using gettimeofday() in C++ on linux? I like for instance to be able to write code similar to this:
DateTime now = new DateTime;
DateTime duration = new DateTime(2300, DateTime.MILLISECONDS)
DateTime deadline = now + duration;
while(now < deadline){
DoSomething();
delete now;...
I've been tasked with adding streams support (C89/C90) to the libraries for my company's legacy embedded C compiler. Our target hardware typically has 1MB or less of code space and does not have an operating system.
We have a lot of stream-like implementations throughout the codebase that I can use as a starting point. For example, a ...
I have built an os design (and its bsp) in Visual Studio. I need to know how to get started with writing applications for the os by writing a simple application that will run in the os created (probably in an emulator, I still don't have the Evaluation module for the device). I have Visual Studio 2005 and Windows embedded C.E. 6.0 instal...
Hello,
In my application, I have a char array defined which can take one of three options: "okay", "high", "low" which are then sent down a serial port to a remote device. I currently have the array sized to take the 4 character words plus carriage return and line feed, but when I have to send "low" I get a null character in the string...
I am working on a server application for an embedded ARM platform. The ARM board is connected to various digital IOs, ADCs, etc that the system will consistently poll. It is currently running a Linux kernel with the hardware interfaces developed as drivers. The idea is to have a client application which can connect to the embedded device...
I'm using PocketDOS to emulate ELKS, but I want to develop on it using gcc and ld, how can I do this?
...
I hear of a need to call assembly functions/calls when programming embedded systems in C. Is this necessary in C++ or not?
...
I realize this may be subjective, so will ask a concrete question, but first, background:
I have always been an embedded software engineer, but usually at Layer 3 or 2 of the OSI stack. I am not really a hardware guy. I have generally always done telecoms products, usually hand/cell-phones, which generally means something like an ARM ...
I have always been an embedded software engineer, but usually at Layer 3 or 2 of the OSI stack. I am not really a hardware guy. I have generally always done telecoms products, usually hand/cell-phones, which generally means something like an ARM 7 processor.
Now I find myself in a more generic embedded world, in a small start-up, where ...
When things go badly awry in embedded systems I tend to write an error to a special log file in flash and then reboot (there's not much option if, say, you run out of memory).
I realize even that can go wrong, so I try to minimize it (by not allocating any memory during the final write, and boosting the write processes priority).
But t...
Hi,
Do you know any device out there can set up a data trigger on a physical address in MIPS ? I am using FS2 but It can only set up a trigger on virtual address.
...
I'm working with HiTech PICC32 on the PIC32MX series of microprocessors, but I think this question is general enough for anyone knowledgable in C. (This is almost equivalent to C90, with sizeof(int) = sizeof(long) = sizeof(float) = 4.)
Let's say I read a 4-byte word of data that represents a float. I can quickly convert it to its actual...
I am writing C for an MPC 555 board and need to figure out how to allocate dynamic memory without using malloc.
...
Hi All,
I am using linux kernel 2.6.30 on my board.
It has 128MB of DDR2.
My main application occupies almost 80MB of system memory.
After executing all applications, only 25MB is left.
I want to execute system commands from my main application (which uses 80MB).
But it is not executed. As per my understanding, each child process requir...
Hello,
I am looking for an efficient algorithm in C to bitwise-transpose 8 bytes of data. What I mean with this is that if I have 8 bytes like this:
00011100
00111000
00000001
00000000
11000000
00000000
11111111
01010101
I want to get the following 8 bytes:
00001010
00001011
01000010
11000011
11000010
10000011
00000010
00100011
An...