2
голосов
1ответов
615 просмотров

Can I and should I use CMake for my setup

The projects I work on are organised into root folders (VOBS) as follows: |--BUILD_FOLDER | |-- BUILD_SCRIPTS | |-- SOME_MORE_CODE | |--COMPONENT_A |--COMPONENT_B Because they are ClearCase VOBS there is no higher level root folder to place a CMakeLists.txt This setup doesn't seem to fit the C...

2
голосов
2ответов
173 просмотров

Development Kit suggestions

Working on a PoC of a project that streams data from USB via Wifi: I need a development kit with WLan (preferably 802.11g) and HighSpeed USB device. Don't mind the CPU type, memory size etc. (Even a kit with only Ethernet 100M will do) If anyone can recommend one or even suggest a place to ask,...

3
голосов
2ответов
2332 просмотров

Debugging a Static Library with the Eclipse CDT

I'm working on getting set with Eclipse CDT for some embedded development and I'm having difficulty getting source level debugging working for static libraries. I'm using my own Makefiles, so that is my first suspect right now, especially since gdb claims that no symbol table info is available ...

13
голосов
4ответов
24264 просмотров

Sending MIDI up the USB using Arduino

I'm interested in making an Arduino based MIDI controller to talk to my computer. Looking at other examples of Arduino MIDI (for example, MIDI Output using an Arduino), they all seem to wire up a dedicated 5 pin DIN. Which makes sense as this is the original cable to connect keyboards, expanders ...

0
голосов
2ответов
1193 просмотров

what is a relocatable executable and why it is needed

What is the use of relocatable executable and how is it generated and how it is used ? what do we mean by processes memory map remapping ? if some can explain me w.r.to embedded systems , it will be great thanks in advance -Das

7
голосов
8ответов
10944 просмотров

OpenCV on Embedded Platform

Can some suggest a test/development embedded platform to use with OpenCV. I would like to develop an embedded video analytics solution, but I don't know where to start. Some suggestion/ideas/hw starter kits? Maybe some Pc-104 solutions with Intel Atom? Has someone made some test about performanc...

8
голосов
7ответов
3367 просмотров

How to share register and bit field definitions between a device driver and the FPGA it controls

Are there any good, existing software tools available to assist in generating C header files with appropriate #defines for register offsets as well as bit definitions from VHDL? If any such tools do exist, what restrictions to they place on the VHDL and how are things that should be exported des...

15
голосов
5ответов
3073 просмотров

Testing Code for Embedded Application

Background: I am developing a largish project using at Atmel AVR atmega2560. This project contains a lot of hardware based functions (7 SPI devices, 2 I2C, 2 RS485 MODBUS ports, lots of Analogue and Digital I/O). I have developed "drivers" for all of these devices which provide the main applic...

37
голосов
13ответов
21927 просмотров

Fastest way to scan for bit pattern in a stream of bits

I need to scan for a 16 bit word in a bit stream. It is not guaranteed to be aligned on byte or word boundaries. What is the fastest way of achieving this? There are various brute force methods; using tables and/or shifts but are there any "bit twiddling shortcuts" that can cut down the number...

9
голосов
11ответов
8350 просмотров

Trigonometric functions on embedded system

sin and cos functions are slow and need a lot of resources to run on embedded systems. How does one calculate sin and cos functions in a more resource-saving and faster way?

3
голосов
3ответов
241 просмотров

What are other modern, free analogs of Squeak and Esterel?

A long time ago, Rob Pike and Luca Cardelli wrote a paper called "Squeak: a language for communicating with mice". It was based on Hoare's communicating sequential processes, but it was compiled into single-threaded C code - no threads or scheduler at runtime. However, I can't find a compiler for...

5
голосов
2ответов
1810 просмотров

Fonts for use in embedded GUI

I am looking for fonts for use in an embedded GUI application with a small display and keypad. Are there any free fonts available that people have used? What about the licenses for free fonts? Are there any special requirements for an application like an embedded GUI? For example, include the Li...

2
голосов
2ответов
1267 просмотров

Aligning static arrays in the .bss section of linker file

I have a function: void testfunction() { static char_t theChar1 = 1; static unsigned char smallArray[1]; static unsigned char largeArray[135]; ... } and a linker file: . = ALIGN(4); _edata = . ; PROVIDE (edata = .); .bss (NOLOAD) : { __bss_start = . ; __bss_start__ =...

11
голосов
4ответов
6495 просмотров

How to implement a USB device driver for Windows?

How should I approach implementing a USB device driver for Windows? How should I take into account different versions of windows e.g: - Windows XP - Windows Vista - Windows 7 Is there open source solutions which could be used as a starting point? I'm a total newbie to windows driver developme...

3
голосов
1ответов
1845 просмотров

Compiling tesseract-ocr on ARM/Gumstix?

Is it possible to compile tesseract-ocr for the Intel PXA270 found in certain Gumstix boards? Has anyone done this successfully, and if so, how did you do so?

8
голосов
11ответов
20558 просмотров

IDE for embedded development

I do a lot of embedded development work in C. I'm looking for an IDE that can give me the same kind of features as Eclipse or Visual Studio. In the past I've used Vim, but I'm just not happy with the amount of work it is to use. Right now I'm trying to use Eclipse, but I can't get it to tag my co...

1
голосов
3ответов
2249 просмотров

How can I make MPLAB import a HEX file with comments or import a HEX file specified on a commandline?

I'm working with the CCS c compiler which produces its object files in the Intel 32 bit HEX format, aka INHX32. This compiler has a directive which causes it to put comments in these files. The comment lines are at the beginning of the file, and begin with a semicolon, like so: ; This is a com...

5
голосов
1ответов
3167 просмотров

Serial port access in Adobe-Air

I am looking to use Adobe Air to visualize information coming from the Serial port. Is there a way to do this naively in Air? I'm assuming not. If this is the case, would my best route be to create a native application that makes the serial port available via a TCP/IP connection then connect to...

4
голосов
4ответов
1100 просмотров

I have an embedded project idea that i want to start. I have many questions

This is my first post on stackoverflow, I've heard of this website and I think its awesome! Let's see if i can get some guidance on how to start my project. The Idea: Basically I want to build my own custom OSC controller (OSC is a protocol based off UDP with the intention of replacing MIDI). Wh...

1
голосов
4ответов
4108 просмотров

Detect if IP is static or obtained from DHCP on busybox

I am working on embedded device who run BusyBox. The system is getting its address by using the ip command. I want to figure out from my C program whether the device ip static or received from DHCP server. How do I do that?

8
голосов
10ответов
1413 просмотров

Developing a non-x86 Operating system

I have to choose a thesis topic soon and I was considering implementing an operating system for an architecture that is not x86 (I'm leaning towards ARM or AVR). The reason I am avoiding x86 is because I would like to gain some experience with embedded platforms and I (possibly incorrectly) belie...

0
голосов
1ответов
585 просмотров

On-the-fly email encryption/signature

Background: I've inherited an embedded linux-based system that contains an SMTP proxy and some wacky constraints that I just have to live with. It sits between an SMTP client and server. When an SMTP client connects, the proxy opens a connection to the server and passes the client's data to th...

5
голосов
6ответов
366 просмотров

Is there a product development model for an stand alone embedded programmer?

I have more than 5 years experience working on embedded programming on several architectures and micro-controllers for different companies, so I feel confident about my skills. All the experience is on a corporate environment where there are a bunch of electrical engineers designing something an...

5
голосов
4ответов
2435 просмотров

I want to use Java applications in an embedded hardware

I have to design a new hardware with a uP (not determined yet) to run JavaME applications. I've searched information about how do it, but for the moment it has been useless. Can anyone explain how I can do it? From what I found in my search: - Using a uP (ARM for example) with an OS (ie: Linux)...

4
голосов
2ответов
2172 просмотров

How to associate the device in /dev/ with the actual driver

I am trying to understand how device driver works in linux. I have a device node as follows (Major number 89, device name i2c-0) crw-r--r-- 1 0 0 89, 0 Sep 29 01:36 /dev/i2c-0 I have the i2c driver with the name i2c.ko and I will do insmod i2c.ko during start up. And i...

3
голосов
4ответов
5130 просмотров

Debugging using Lauterbach (Trace32)

While using trace, I found that a few functions are not listed in the source while trying to find them in order to put a breakpoint. These functions seems to appear only when I view the source in assembly format. I spoke to my seniors, they told me if any function is only called once, it will be...

1
голосов
5ответов
219 просмотров

Enabling hardware watchdog in msm800

I need to enable the hardware watchdog of an msm800 embedded computer. Unfortunately I hardly know anything about using assembly languages. This is what the documentation for the device says: Function: WATCHDOG Number: EBh Description: Enables strobes and disables the Watch...

11
голосов
6ответов
20094 просмотров

Minimum configuration to run embedded Linux on an ARM processor?

I need to produce an embedded ARM design that has requirements to do many things that embedded Linux would do. However the design is cost sensitive and does not need huge amounts of horse power. Mostly will be talking to serial interfaces. Ideally I would like to use one of the low end ARMs. What...

0
голосов
1ответов
816 просмотров

Why does my new PowerPC interrupt handler crash only when caches are on

I'm using a PowerPC 750 and have just started experimenting with the external interrupt. I have an interrupt-driven mini program that works fine provided the data cache is off. If I turn the cache on then the PowerPC crashes on the first access to a memory-mapped peripheral after the external i...

2
голосов
4ответов
5321 просмотров

Text-Based User Interface Development

Where can I find resources related to the design and development of text-based user interfaces (e.g. interfaces exported via serial port from embedded devices to VT100 terminals)? I am interested in any material available - best practices, style guides, frameworks, etc. Note that I am asking ab...