embedded

Techniques for dynamic (algorithmic) graphics

I'm programming an application for a 32 bit processor with limited memory (512k flash, 32k RAM). The display on this device is 128x160 with 16 bit color, which would normally consume 40k ram if I were to buffer it on my processor. I don't have that much RAM, so I'm looking for techniques, tips, tricks, ideas for generating screen data ...

What's a good C memory allocator for embedded systems?

I have an single threaded, embedded application that allocates and deallocates lots and lots of small blocks (32-64b). The perfect scenario for a cache based allocator. And although I could TRY to write one it'll likely be a waste of time, and not as well tested and tuned as some solution that's already been on the front lines. So what ...

Where should I begin with HDLs?

I am a self-taught embedded developer. I mostly use AVRs programmed in C and ASM, but I have dabbled with other systems. I am looking to move onto more complex devices like CPLDs and FPGAs, but I have no idea where to start. So my one and a half questions are: Do you prefer VHDL or Verilog and why? What is a good way for one with no pr...

Sqlite on an embedded system

I have a database file that is generated on a PC using Sqlite. This file is then transferred to an ARM7 based embedded system without an operating system. The embedded system must access this database, but does not need to update it. I have been trying to get sqlite3 small enough for the embedded system, but so far I cannot get the ap...

Rapid Prototyping for Embedded Systems

For doing prototyping on small embedded projects that require physical motion, what hardware prototyping tools are available? For my projects, I tend to spend more time finding parts (i.e. wood, aluminum, etc.) and making the proper cuts, measurements, and connections than writing the software and configuring the electrical hardware. ...

How do i print to a Bluebird BIP-1300 thermal printer from c#?

Greetings, My application runs under CF 2.0 locally and i would like to know how to connect and send something to print in the embedded printer of a http://www.milliontech.com/home/content/view/195/95/'>Bluebird BIP-1300 device. Ideally i would like an example in c#. Thank you in advance. ...

Use absolute value of linker command file variable in 'C' code

I have a linker command file that assigns the top address of the stack into a variable _stack = . + 0x80000; I want to use this address in a 'c' program - I want to copy the stack to another location and then update the stack pointer to point to the new location before doing a destructive memory test on the orginal bank of RAM. I'm ...

Software testing for a bare-metal system

I am writing a project in C++ for an embedded system with no OS support; almost no library support. Very bare-metal. Hence, a fair amount of my code is tightly coupled(e.g., software triggered interrupts and the layer directly above them). Part of what I am doing involves changing the serial port configuration, thus driving concurrent c...

Beginner-level Embedded Systems Projects?

A student of mine came to me this morning and asked for some ideas for an embedded systems (ideally hardware+software design) project to be completed in the next 6 months or so. He's a freshman, and inexperienced, but has the motivation to learn if pointed in the right direction. The purpose of completing this project, besides getting ...

Getting notifications when the user tries sending an SMS

Hi, My application is implemented as a service (running under services.exe). I am adding a new feature which requires being notified when the user sends an SMS. I have tried using IMAPIAdviseSink, registering with both IMAPISession and IMsgStore, but I do not get any notifications. The other options I can see are to create a Short Mes...

Embedded C: what does var = 0xFF; do?

I'm working with embedded C for the first time. Although my C is rusty, I can read the code but I don't really have a grasp on why certain lines are the way the are. For example, I want to know if a variable is true or false and send it back to another application. Rather than setting the variable to 1 or 0, the original implementor chos...

How to do Gesture Recognition using Accelerometers

My goal is to recognize simple gestures from accelerometers mounted on a sun spot. A gesture could be as simple as rotating the device or moving the device in several different motions. The device currently only has accelerometers but we are considering adding gyroscopes if it would make it easier/more accurate. Does anyone have recomm...

Process for reducing the size of a executable

Hey! I'm producing a hex file to run on an ARM processor which I want to keep below 32K. It's currently a lot larger than that and I wondered if someone might have some advice on what's the best approach to slim it down? Here's what i've done so far So I've run 'size' on it to determine how big the hex file is. Then 'size' again to ...

Startup point for Symbian/embedded programming learning

Hi! I have good knowledge on C++ (not C) and recently bought a Symbian-based phone. This gave me reasons to start learning on how to program this beast. I have searched for Symbian programming tutorials but there is so much knowledge that it is hard to choose best for startup. So I'm asking for hints, tips on where to start embedded/S...

Programming a user interface for a small device

I'm looking for ideas/elements of a user interface for a device I'm making. Full description (and video of development setup) here. In short: It's essentially a direction finder, so I'm starting off thinking, "Compass" but wondering what other design patterns would fit There isn't much interface to a compass - what kinds of input, ot...

How do you get a pointer to the .text section?

How do you get a pointer to the .text section of memory for a program from within that program? I also need the length of the section to do a "Flash to Memory" compare as part of a continuous selftest that runs in the background. The toolset automatically generates the linker .cmd file for the tools I'm using, and the Board Support Pac...

Switching Career Paths in Programming

From my some of my previous questions it might be clear that I am looking to follow the road of web development. While, as I finish up school I do want to do web development and maybe for a little while once I graduate. Down the road, however, I'd the move into different areas of software like embedded systems or systems programming. Ho...

Code Coverage Analysis for Embedded C++ projects

I have recently started working on a very large C++ project that, after completing 90% of the implementation, has determined that they need to demonstrate 100% branch coverage during testing. The project is hosted on an embedded platform (Green Hills Integrity). I'm looking for suggestions and experiences from others on StackOverflow t...

Purpose of _never_executed()?

I have seen this macro defined before but never really knew its purpose. Can anyone shed light on this? ...

What is a way for a web browser to communicate with a hardware device?

I have a data acquisition hardware device attached to a PC via USB that I'd like to send some information and settings, acquire some data, and then retrieve the acquired data on the client and send it to the server. The plan is to use a web portal to communicate with the device attached to the client PC. I was planning on writing a DLL...