After writing several different custom serial protocols for various projects, I've started to become frustrated with re-inventing the wheel every time. In lieu of continuing to develop custom solutions for every project, I've been searching for a more general solution. I was wondering if anyone knows of a serial protocol (or better ye...
Does anyone have especially good (or bad) experiences with any of the following embedded TCP / IP stacks?
uIP
lwIP
Bentham's TCP/IP Lean implementation
The TCP/IP stack from this book
My needs are for a solid, easy-to-port stack. Code size isn't terribly important, performance is relatively important, but ease of use & porting is ve...
I'm new to the software engineering side of C development; does anyone have a good guide on how to design an error tracking or error control system for a C project (especially embedded)? Something talking about error tracking for C libraries would be helpful too.
...
I work on the task of porting a video codec written to perform on a PC, onto a mobile platform (in my case OMAP3430 MDK). Though my question is not related to a specific platform or language.
I ask for specific clues/ideas to bear in mind when porting a codec onto a Mobile Platform. What are the main differences of the PC and mobile en...
Hello,
I have installed Eclipse CDT, CodeSourcery G++ toolchain on Linux host. I am using the Code Sourcery Eclipse IDE. I have installed Linux kernel using Linux Target Image Builder from the Freescale site, onto the MCF5485 board.
I have created a "helloworld" project on my Linux host using the Sourcery Eclipse IDE.
I have copied the ...
Judging from my knowledge of the history of firmware engineering tools, practices etc. It has consistently lagged behind the software engineering field by several years. For example, as far as I can tell there is still a fair amount of debate in the firmware world as to whether C++ is actually worth using for our applications, and some...
In embedded software, how do you handle a stack overflow in a generic way?
I come across some processor which does protect in hardware way like recent AMD processors.
There are some techniques on Wikipedia, but are those real practical approaches?
Can anybody give a clear suggested approach which works in all case on today's 32-bit emb...
Hi
I have a VxWorks application running on ARM uC.
First let me summarize the application;
Application consists of a 3rd party stack and a gateway application.
We have implemented an operating system abstraction layer to support OS in-dependency.
The underlying stack has its own memory management&control facility which holds memory ...
Based on the answers to a previous question, here's a design for a simple error reporting system for my embedded C app. I'd appreciate some feedback.
My app has code forming an overall program plus several layers of lower-level libraries. At the lowest level, the library gets a byte to use for error codes, so 255 total errors. They'll b...
I'm writing an embedded application on an ARM7 processor and I need some form of checksum for data that I'm sending over a serial link as well for data that I'm storing in the flash. I was wondering which of the two CRCs would be better suited for the purpose. The main trade-off are code speed versus robustness. Should I consider anoth...
I have an Arduino application (well actually a library) that has a number of status flags in it - and originally I simply declared them as ints (well uint8_t so 8 bit unsigned chars in this case). But I could have combined them all into one integer and used bitmask operations to set and test the status.
An example of the former:
if (_s...
Hi All,
I am now working in embedded testing domain(avionics) and i would like to shift over my carreer to something like developement which is mainly like Protocol stack development. So what i need to know is some kind of real time projects (Networking or protocol development) which i could put into my resume so that the recruiter can ...
I mean something like this:
http://www.globalscaletechnologies.com/p-25-sheevaplug-dev-kit-uk.aspx
My minimal hardware requirement is: Ethernet card
...
In my embedded c program I have a struct:
struct var{
unsigned long value;
unsigned long length;
+ More
}
An array of these structs is used to hold variables. Most of the variables stored are simply stored in 'value' and so the length is set to 1.
However, some of these variables are arrays and Im trying to store the star...
How do i read data from serial port using C ? and then again transfer the data to modem ?
I am using RS 232 cable for serial communication ...
...
I like a lot of what I've read about D.
Unified Documentation (That would
make my job a lot easier.)
Testing capability built in to the
language.
Debug code support in the language.
Forward Declarations. (I always
thought it was stupid to declare the
same function twice.)
Built in features to replace the
Preprocessor.
Modules
Typedef ...
I created a small module in assembler for ARM, to be linked together with my bare-metal embedded application. Sometimes when I'm rebuilding the application, I get a "Error[Lp002]: relocation failed: valued out of range or illegal". What is even more puzzling is that I'm getting the error after commenting out some code in a C module.
T...
What is the career difference between a embedded software developer and a software developper for the desktop/internet, in terms of career opportunities, career paths, job variation, salary (evolution), etc.
Anybody with relevant experience who can compare both?
...
Hello everyone,
I am making an 8051 microcontroller communicate wirelessly with a computer. The microcontroller will send a string to its serial port (DB9) and the computer will receive this string and manipulate it.
My problem is that I do not know how to make the 8051 transmit the string just once. Since I need to manipulate the st...
I'm working in a company which produce real-time C program for home-made hardware, the program is 15-years old, and still need to be maintained.
Even though we do not verify manually the code, We have a strict no-refactoring policy. Even if a certain code is hard to grasp, or have many clear code smells, you must make minor changes to i...