embedded

Developing WPF App to Run on Windows XP Embedded Monitor

I'm experienced developing Windows client desktop apps with WPF, but I've never developed apps for a Windows XP embedded device. We have monitors located around the factory that run XP embedded and I would like to know if there are any issues developing a WPF application to run on the XP embedded monitor. For instance, what are some of...

How commonly used are the xilinx chips?

I'm beginning to learn embedded with C (and maybe some C++) and someone from the office said they're willing to donate a free xilinx chip they've got sitting on their shelf. I was thinking more along the lines of an Arduino, especially that the Arduino tutorials and sample projects are abundant. Can someone confirm how xilinx chips co...

avrdude and atmega48pa

hey friends, Can i programm the atmega48pa with avrdude? I have problems with the signature ... % avrdude -pm48 -cavrisp2 -Pusb -V -U flash:w:main.hex avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e920a avrdude...

Is there a standard way to detect bit width of hardware ?

Variables of type int are allegedly "one machine-type word in length" but in embedded systems, C compilers for 8 bit micro use to have int of 16 bits!, (8 bits for unsigned char) then for more bits, int behave normally: in 16 bit micros int is 16 bits too, and in 32 bit micros int is 32 bits, etc.. So, is there a standar way to test it,...

Testing a Linux daemon on an embedded system

I have written a daemon in linux for doing dhcp for an embedded system. This platform only has a linux kernel running on it and have no CLI support. What is the best way for me to test my daemon? How do I write a program that will call the main function in this daemon and verify if its working fine? Appreciate the answers. ...

Custom USB protocols for mobile frameworks

We've developed a small embedded device that currently connects over USB to a Symbian phone (S60 framework). Development was... difficult since it was hard to find information on what we needed. Specifically, we developed a simple custom protocol on top of the USB layer to exchange arbitrary data. We're now looking at new mobile framewo...

Most efficient format for transfering data to and from embedded devices

I'm having hard time to choose the format on which my server and my end points will communicate with. I am considering: JSON YAML Too hard to parse CSV Google Protobufs Binary packing/unpacking (with no use of casting/memset/memcpy to enable portability) Some form of DSL Any other suggestion you might have My criterias are ordered ...

Thread class memory allocation oddity on an embedded platform

I am running into a strange issue I've been able to track down somewhat but I still can't see the cause. Maybe someone here can shed some light? I'm running on a PowerPC processor on top of VxWorks 5.5 developing in C++ with the PPCgnu604 toolchain. I have a class like so: class MyClass { public: void run( void ); private: ...

Flow of Startup code in an embedded system , concept of boot loader ?

hi, I am working with an embedded board , but i don't know the flow of the start up code(C/assembly) of the same. Can we discuss the general modules/steps acted upon by the start up action in the case of an embedded system. Just a high level overview(algorithmic) is enough.All examples are welcome. /Kanu__ ...

Create multiple SquashFS partitions

Hello I'm working on embedded platform (Broadcom's bcm5358u processor with MIPS core), where I need extra partitions for the purpose of further upgrade procedure. The filesystem used is SquashFS, so I modified 'struct mtd_partition' accordingly, which is passed to MTD related code, and I ended up with this: #cat /proc/partitions major ...

Splitting an ELF executable into two files in an embedded system

Hi, I use Xilinx Microblaze CPU core in Virtex4 FPGA. I would like to add a new code part to my current code, but then my code will exceed the size of the flash it is burnt to. Therefore I want to burn the added code to another flash. My code is copied to RAM by a boot loader, which then jumps to RAM and starts regular execution. I int...

Difference between dynamic library and runtime library?

Can you please explain the concept of static, runtime and dynamic libraries with examples? ...

Address 0 being overwritten by NULL pointer on HCS08

On my 8-bit Freescale HCS08 micro, whenever I call a library function that returns values to pointers I pass it, and I don't really want them, I threw in a NULL, e.g. UART_SendBlock((char *)txstr, strlen(txstr), NULL); The type of the last argument is uint16_t * and returns the number of characters actually sent, a value I don't care...

SAM-BA not responding with olimex sam7s256

I am using an Olimex sam7s256 board. I tried to get it up and running in linux (Ubuntu). I was able to successfully install GCC and binutils. I installed SAM-BA for linux from the atmel site. I was able to get the USB port for connection as specified in the SAM-BA manual (.dev/ttyUSB0). But when I try to use the GUI and 'connect' there i...

EndDocPrinter Sleeps 3 secs without Shell (explorer.exe)

On Debug, when the POS has the default windows shell (explorer.exe) it prints sucessfully, but if we replace the default windows shell with our program or any other program (for example cmd.exe) and we print with the same functions, it sleeps on the EndDocPrinter call about 3 secs. Is unnaceptable to print 3 tickets in 12 secs, and i h...

What is difference between MSP430 and MSP430X?

Any comparison table available ? Regards Adnan ...

sorting in keil

i am supposed to code a bubble sort program in embedded C using keil uVision. I havnt yt understood what is it that is actually required. I have been told to use registers and/or ports in it. if anyone can understand what exactly has to be done pls help me out... ...

Where to find information on Embedded C++ ?

Hi All, I want to find information on "C++ programming in an embedded platfrom". I googled it but I was unable to find sufficient information on that topic. What exactly I want to find is How exactly C++ is useful in an embedded environment with detailed description and examples (if they are available) Can anyone please suggest any li...

device behind firewall connect via ssh

Hi all, There have been a few questions like this around the place but none have really answered my question specifically.(for example http://stackoverflow.com/questions/2529941/connecting-to-device-behind-firewall ) What I want is a central server, that receives a heartbeat from multiple ( say 100's) embedded devices behind personal f...

Measure Duty Cycle of PWM input with PIC?

I am trying to write a program for a PIC24F mcu that can measure the duty cycle of a pulse width modulated input signal. Has anyone done this? What would be the best approach? ...