I'm playing with an embedded Linux device and looking for a way to get my application code to communicate with a web interface. I need to show some status information from the application on the devices web interface and also would like to have a way to inform the application of any user actions like uploaded files etc. PHP-seems to be a...
Hi All,
What would the purpose of this construct in a c file be?:
#define _TIMERC
#include "timer.h"
#undef _TIMERC
I am aware of the guard for preventing multiple inclusion of a header file. This doesn't appear to be whats happening though.
thanks!
...
I need to optimize code to get room for some new code. I do not have the space for all the changes. I can not use code bank switching (80c31 with 64k).
...
I need a small, portable framework for logging on embedded linux. Ideally it would output to a file or a socket, and having some sort of log rotation/compression would also be nice.
So far, I've found a lot of frameworks, but almost all of them have daunting build procedures or require the use of application frameworks (e.g. log4cxx re...
I wish to build a compiler (GCC port) for Linux, so that the built GCC runs on Windows and creates executables for an embedded platform.
Is the above possible?
...
I want to port few C/C++ libraries to android, how feasible it would be
e.g. openssl can it be ported
or suppose an application which depends on openssl, what is the best way to port it to android when android i think itself has libssl.so
what are the tools available e.g. scratchbox , any alternatives?
Has anybody experience with it?
...
I'm searching for a code that will alow access to the SMS messages stored in a Pocket PC device with Windows Mobile so I can download/backup them to a Windows PC.
Anyone knows how to do this?
...
I have a microcontroller that must download a large file from a PC serial port (115200 baud) and write it to serial flash memory over SPI (~2 MHz). The flash writes must be in 256 byte blocks preceded by a write command and page address. The total RAM available on the system is 1 kB with an 80 byte stack size.
This is currently working ...
We are building an application on an embedded platform that needs a reasonably high performance database (very low select speeds on tables with > 500,000 entries).
The database needs to be able to :
Store atomic commit information in NVRAM so that such information is preserved if power fails before the commit finishes.
Be written to N...
It seems that any kind of graphic library like DirectFB or MiniGui requires some sort of underlying operation system like Linux or uClinux.
I am challenged with writing a software for a micro controller with just 512kb flash, an LCD display and a touchscreen to display and handle some pictures and GUI parts.
Do you know any library whi...
I got interested in hardware programming lately and I was wondering what would be the best choice for me as an electronics amateur. I'm not looking for low-level programming in assembler and creating circuit boards.
Rather I would like something with API for high-level languages, preferably C# and pre-made components like USB interface ...
I'm working on an embedded processor (400 MHz Intel PXA255 XScale), and I thought I saw one case where there wasn't enough memory to satisfy a 'new' operation. The program didn't crash, so I assumed other threads had freed their memory and it was just a transient thing. This is some pretty critical code, so exiting is not an option, and...
I have been trying to do a fill using the open source Srecord Program. The thing is I need to do a fill that is
0xC2AF00. It appears the program can only do fills that are a byte long (ex: 0xff).If this is not possible with the Srecord program, then how would I go about writing my own algorithm to do what I want. I am not quite sure ho...
I'm working on an embedded device that does not support unaligned memory accesses.
For a video decoder I have to process pixels (one byte per pixel) in 8x8 pixel blocks. The device has some SIMD processing capabilities that allow me to work on 4 bytes in parallel.
The problem is, that the 8x8 pixel blocks aren't guaranteed to start on...
What methods are available for determining the optimum stack size for embedded/memory constrained system? If it's too big then memory is wasted that could be used elsewhere. However, if it is too small then we get this website's namesake...
To try to jump start things: Jack Ganssle states in The Art of Designing Embedded Systems that, "...
I am looking at uClinux system that builds the kernel with arm-linux-xxx, but builds the user apps with arm-elf-xxx.
If the apps are intended to run on linux, wouldn't it be better to build everything with arm-linux-xxx ?
Where does one set that option in the overall uClinux build config?
...
I'm building a uClinux system to run on an NXP LPC2478. The chip has 512k onboard fast flash from which it can directly execute code. I want to load and run a user app out of regular external SDRAM. But I have a special graphics library that I would like to preload to execute out of the on board flash.
Is there a way to compile the grap...
I just got this Chumby thing for Christmas. I was thinking of writing a StackOverflow widget for it. Does anyone know any caveats to programming this, or especially good things for chumby virgins to know? I have not yet begun to do my research. I guess it's just a Linux device which runs java widgets.
...
Hey everyone,
I want to take two variables (in and in2) and put them together, for example:
in = 1;
in2 = 3;
pin = in.in2; // I want this to set pin to 13
The arduino IDE tells me that in is not a class, so what syntax would I use to accomplish this?
EDIT: I figured out a different way to do it, you can just take in. multiply it by...
So I'm making a sketch that takes a two digit number from the usb port, checks the state of the pin that matches the number, then toggles the pin on/off.
Take a peek at the source
For some reason, when I send 13 through the Arduino serial monitor, I get this message back:
Pin number is greater than 14, details:
490
51
541
Meaning t...