embedded

which linux to use for embedded-linux-qt 4 development ?

Hi Friends, I want to start development using qt-embedded on my embedded device project. Can you tell me which linux should I use on my computer for development. Well, It should have VMWARE-tools support ( Fedora Core 11 does not have it ). Thanks, Sunny. ...

how to compile QVFB for embedded-linux-QT4.5 development on PC ?

Hi Friends, How can I compile QVFB for embedded-linux-QT4.5 ? Thanks, Sunny. ...

Great idea for embedded development

Hello stackers. For my university I (and three others), are searching for a project that utilizes at least one embedded device, web services or other web technology, and a Graphical User Interface. Currently we are looking at developing a unified remote, that is an extendable application on a cell phone through which you can control y...

How do you set system time using C/C++?

I have an embedded system (ARM 9263) running an RTOS, IAR tools. The system supports the standard time() function which gives me the current time. I need the reverse call, that is I need to set the time - is there a "C" standard way to do this? I've googled around, sure thought it would be obvious, but perhaps it is platform dependent? I...

Is there a programmatic way to check stack corruption

I am working with a multithreaded embedded application. Each thread is allocated stack sizes based on its functionality. Recently we found that one of the thread corrupted the stack by defining a array of local variables that was more than the stack size. The OS is uItron. My solution, I registered a timer for 10 mS, and this timer will...

More efficient: large array or many scalars

Working in an embedded (PIC) environment, programming in c. I have to keep track of 1000 values for a variable (history) and return the moving average of those values. I'm just wondering if it will be more efficient in terms of speed, ROM and RAM usage if I use an array or 1000 16bit variables. Is there a difinitive answer to that? O...

Is qt-embedded-linux drawing library fixed point ?

Hi Friends, I am working on embedded device which does not have Floating Point Unit, I want to port QT-embedded-linux to it. So Please tell me that whether drawing library of qt has fixed-point or not? Thanks, Sunny. ...

Can a protocol be secured by encryption?

This is something I've always wanted to learn. When I design a system (software or hardware) where multiple components communicate with each other, how can I implement some simple encryption or other features in the protocol for some basic security? I can change the protocol anyhow, since I have low-level access down to the series of by...

Which user should the embedded application run as?

We have an embedded linux product with an application which lets the user change different settings through the menu system. These settings include IP address/DHCP and time. We now run this application as root but this feels wrong, letting the user directly interact with a process run as root. Which user should we use? If not root, h...

Windows CE or Windows Embedded Standard?

im building an interactive portable ad campaign device (x86 platform) with touchscreen and stuffs. which is better OS for the device, Win CE or Win embedded standard (XPE). i need to provide support for multimedia platform such as Flash for easy ad development. thanks. ...

How do you design a serial command protocol for an embedded system?

I have an embedded system I'm communicating with over serial. The command structure right now is designed to be operated interactively: it displays a prompt, accepts a few commands, and displays results in a human-readable form. I'm thinking about changing this to a more machine-usable format, so I can talk to it through a MATLAB GUI wi...

User Boot Mode Programming on Renesas

I understand this is a specific question, but I haven't been able to find any clue even to the answer anywhere. I have a Renesas SH7211 microcontroller on a board, and I'd like to program its User Boot MAT. I'm using the HEW that Renesas provides, and E10A debugger(Also have FDT installed) I have the buttons to boot it up from that MAT...

Transpose a 2D array

How do you efficiently transpose a matrix? Are there libraries for this, or what algorithm would you use? E.g.: short src[W*H] = { {1,2,3}, {4,5,6} }; short dest[W*H]; rotate_90_clockwise(dest,src,W,H); //<-- magic in here, no need for in-place //dest is now: { {4, 1}, {5, 2}, {6, 3} }; (In my specific case its src arr...

Keeping track of source code variants

Hi! I am soon starting to maintain a line of products containing variants of the same embedded software. Since I've been playing with git for one year and appreciate it very much, I'm likely to use it for source control. There are several options I can see for maintaining the variants of the firmware, but none pleases me too much. What...

Design for wire between server and access point and RF to endpoint device

We're about to design an inhouse industry network consisting basically of the following: 1 server connected via wire to up to 100 proprietary RF access points (basically embedded devices), which each can be connected via radio to up to 100 endpoint embedded devices. Something like this: Now, I'm wondering about some design decisions t...

Smart methods for an Embedded Linux device to detect Internet connectivity

Our team is developing a Internet Media device based on Linux 2.6. Currently we detect whether Internet connectivity is established (via a wired Ethernet i/f) by pinging www.google.com Some networks we have tested the device on do not support ICMP packet forwarding so our application code mistakenly reports the Internet as unavailable ...

Whats the best resource to learn Assembly language for PIC microcontroller's

I'm going to start working on a project where I need to have a decent understanding of Assembly language for the PIC microcontroller's. I'm intimately familiar with C/C++, so I know how to code for the most part, and I have done many projects for the PIC already so I understand the architecture, but have done all my programming for it i...

memory leak debug

What are some techniques in detecting/debugging memory leak if you don't have trace tools? ...

How to learn about building tools in linux ?

Hi SO Friends, I am writing code in embedded linux since last couple of years, I use make utility to build my code and I am not at all an advance user of it. But now, It is necessary to have better compilation, cross-compilation knowledge, so that I can easily port my code to newer processors. So I want to learn that which different to...

How can I check that all my init functions have been called?

I am writing a large C program for embedded use. Every module in this program has an init() function (like a constructor) to set up its static variables. The problem is that I have to remember to call all of these init functions from main(). I also have to remember to put them back if I have commented them out for some reason. Is th...