mcu

can i use sigmatel stmp 3650 kit firmware code on other devices ?

Hi all, im know little about MCU and embedded systems. a year ago we made contract with a company to designe special porpuse mp4 device based on sigmatel STMP 3650 kit, now we have all the source code for the firmware (code, resource around 1G). my questions is: can we use this code to run on other stmp 3xxx famliy based devices ( wit...

uploading a compiled program to a C51 microcontroller

I'm trying to upload a compiled program to a microcontroller.. well my problem is not in programming or uploading things.. my problem is what to upload u.u The program is in C and was compiled with SDCC. The mcu is an AT89S8252 by ATMEL. I built a simple parallel port programmer following MCU protocols for serial programming as stated ...

Interfacing PIC Microcontroller with Java on PC using USB

HI! I want to interface PIC18F4550 with Java program and make it cross-platform initially. There are only one way I now Java has is javacomm. But i want it to be USB because not every laptop has RS232 port nowadays. Waht are the ways of interfacing PIC with Java you can suggest to make it really cross-platform and avoid writing driver fo...

The question about the 89c52 Serial ports receive Variable-length strings

The strings` length is less than 30 but Variable. I use the following code, but the SComAssistant only can receive two Character. ================================================================= #include<reg52.h> #define uchar unsigned char #define uint unsigned int sbit lcden=P2^3; sbit lcdrs=P2^4; sbit lcdrw=P2^0; uchar table[30]; ...

Is there any C standard for microcontrollers?

Hi, I just want to ask, is there any special C standard for MCU? I ask because so far when I programmed something under Windows OS, it doesn´t matter which compiler I used. If I had compiler for C99 I knew what I can do with it. But recently I started to program in C microcontrollers, and I was shocked, that even its still C in its bas...

what is/where can i find more info on "HI2COUT"

looking to bit-bang the I2C interface of a MCP23017 with an ATtiny13A, a lot of places mention HI2COUT as a method to send data on the I2C bus but i have no clue if this is part of a language or a Library or even a description of what happens when called. so the questions: 1) where can i get info on HI2COUT? 2) if any one has ever inte...

example code, documents on MCP23017 (16 pin IO extender, I2C) as an 7-segment LCD driver

the MCP23017 from Microchip is an I2C based 16-pin IO extender. I have been able to set up the device once (set pin direction and values), but after that i cannot change the values as expected unless i reset / power cycle the device. this is the code i used to initalize it and set the pins up the first time: I2C_Start(); I2C_Write(...