embedded

Eclipse Plugin To Read Breakpoint Information

I'm working with a legacy embedded debugging tool and it's frustrating to work with. I just found out however that it can be automated in many ways, such at setting breakpoints on start up. Since I use eclipse cdt as my development environment, I was wondering if I could write an eclipse plugin that reads all my breakpoints so I can ge...

Should a C++ embedded application use a common header with typedefs for built-in C++ types?

It's common practice where I work to avoid directly using built-in types and instead include a standardtypes.h that has items like: // \Common\standardtypes.h typedef double Float64_T; typedef int SInt32_T; Almost all components and source files become dependent on this header, but some people argue that it'...

Embedded WSGI backend for Python desktop app using webkit

Disclaimer: I'm not very familiar with any of the things mentioned in the question title. Would it be possible to use a browser control (like Webkit) as a frontend for a WSGI app (using a framework like Flask) without starting a local WSGI server? Basically the requests and responses are managed by a middle layer between the HTML UI an...

Are there any open source projects dealing with aspects like "alarms", "performance monitoring" etc?

A typical telecom or datacom embedded product would involve things like an alarm subsystem, modules for "PM" (you know, the 15 minute, 24 hour etc. bins), high availability etc. I have some ideas in this regard and was wondering whether there are any open source projects that deal with such topics? As far as I could tell, Asterisk and Op...

Best practice for function to handle 1-256 bytes

I have some functions that are designed to handle 1-256 bytes, running on an embedded C platform where passing a byte is much faster and more compact than passing an int (one instruction versus three), what is the preferred way of coding it: Accept an int, early-exit if zero, and otherwise copy the LSB of the count value to an unsigned...

How can i use embedded Jetty with JSFUnit?

I would like to test my JSF application using JSFUnit and embedded Jetty. How can i do this? Is there any documentation which demonstrates this? I started a jetty server programatically using junit4's @BeforeClass but it seems JSFUnit tries to connect to the server before the static method annotated with @BeforeClass can execute! ...

QT Embedded: How to generate an event to ESC (Escape), F1 and such keys.

Hello, I'm working on an embedded software in QT that uses LIRC to handle RC (Remote Control) key presses. I managed to map all the RC keys so directFB is getting keypresses like these: 00000000000011b7 00 MENU 00000000000011a7 00 EXIT 0000000000001193 00 RED I've created a QT class that uses sockets to grab LIRC keys and generate K...

how to generate hard interrupts on an unspecified CPU?

Suppose I have a button wired up to a GPIO line of the processor, and I'd like to have an interrupt generated whenever I press the button. Doesn this mean there should be a physical interrupt pin available on the CPU, or it's not actually exposed to outside world and interrupts are triggered internally and I can monitor them through spec...

Which graphics library is better for embedded linux ?

Hello All, Which graphics library is best for developing GUI for character LCD or simple graphics LCD for embedded linux. ? which has better performance and support ? Thanks, Neel ...

AVR or PIC using MATLAB?

AVR or PIC,which one is better? Using MATLAB as assembly language. (I am a beginner) ...

AVR or PIC? Using MATLAB

well, i have to use a microcontroller that will decide the further course of action of a robot,that is continuously capturing images,with an on board camera and using MATLAB to process those images.(in a competition).Which microcontroller should i go for? The AVR series or PIC?i know to use 8051 microcontroller, but now i have to interfa...

How are embedded user interfaces controlled

How do they code the logic of a user interface running on embedded hardware. Microwave ovens, flat screen televisions, portable DVD players and even a digital watches these days have complex user interfaces. Are there tools / frameworks available to remove all the dirty work or are the developers using IF ELSE kind of constructs. I'm no...

Configuring GCC with FreeRTOS and OpenOCD

I'm pretty sure this is possible but I'm not sure how to go about it. I'm very new to building with GCC in general and I have never used FreeRTOS, but I'd like to try getting the OS up and running on a TI ARM Cortex MCU but with a slight twist: I'd like to get it up and running with Pascal. I'm curious: Is this even possible to get wor...

OS X Vs Linux - Serial port handling

Hello, I am trying to port (or rather customize) a pure Linux application to OS X Snow Leopard (10.6.4). It is an application that sends a binary to a target hardware over the serial port. The app is almost running but i am hit with an interesting problem with the serial port writes. With all the same settings as Linux (115.2k is the b...

Concurrent access to struct member

I'm using 32-bit microcontroller (STR91x). I'm concurrently accessing (from ISR and main loop) struct member of type enum. Access is limited to writing to that enum field in the ISR and checking in the main loop. Enum's underlying type is not larger than integer (32-bit). I would like to make sure that I'm not missing anything and I can...

Difficult to debug embedded application

I'm trying to debug an application on an embedded device running an old version of Linux/Qtopia. I asked for help on QT forums but the people there don't know about old software and embedded systems. I'd really like some help with debug strategies. My program will crash after the main window has been constructed, i.e. some time into the...

bitwise operations

// PWM frequency: // 0 - 48 kHz // 1 - 12 kHz // 2 - 3 kHz enum { MOTOR_FREQUENCY = 1 }; // Configure Timer 2 w. 250x period. T2CON = 1 << 2 | MOTOR_FREQUENCY /* << 0 */; Have i understood this right? 11111111 Arithmetic left-shift-by-two of 0 or 1 or 2 Means: T2CON = 1 << 2 | 0 = 1111 1100 T2CON = 1 << 2 | 1 = 1111 1000 ...

Implementing security on the chip level

With Intel's recent purchase of a well known security company, I'm starting to think about what software w/could be more secure on a chip level. Examples I've come up with are: Random number generation Encryption Memory protection But is hardware level security any more secure than software based security? ( I would assume garbage i...

Hardware programming language or tool

I use to program with c# or c++ (at moderate level). Now i want to play with hardware, like running a small motor with a click in software, or blink a bulb with it, or even create robot like thing with it. I don't want to mess up with Assembly or other low level language. Is there any tool or programming language to play with different ...

Safely storing and accessing EEPROM

I've recently established the need to store infrequently-updated configuration variables in the EEPROM of a microcontroller. Adding state to the program immediately forces one to worry about detection of uninitialized data in EEPROM (i.e. first boot), converting or invalidating data from old firmware versions, and addressing of multipl...