How are microcontrollers connected to PC's to be programmed? Is there some special port thingy that comes with the microcontroller? If so, what kind of port does it connect to?
How are microcontrollers connected to PC's to be programmed? Is there some special port thingy that comes with the microcontroller? If so, what kind of port does it connect to?
What will people say if they hear that I'm a Jesus freak?
What will people do if they find that it's true?
I don't really care if they label me a Jesus freak, there is no disguising the truth!
Jesus Freak, D.C. Talk
-gnu-ehacks
It depends on a lot of things. If you are using a sophisticated system with an OS running in the target, then the connection may be with serial or network connection, an example of this would be programming a Windows CE system with MS Platform builder, you can compile and run a configuration on the products built in emulator, or download it and run it in the target controlling it from your PC, or download it and run it autonomously.
More basic systems use a special piece of hardware that connects to your host by whatever means are available, serial, parallel or network - depends on the machine, (more likely, the age of the machine). This hardware can "blow" a PROM or a gate array in an associated chip which the uC uses, or directly into part of the uC itself.
For most modern uC's, you tend to buy the development system from the chip manufacturer, although there are a few third party systems around, particulaly for blowing PROM's.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.