Mass-programming microcontrollers?
InSilico
Posts: 52
Just curious,
How are microcontrollers programmed in a mass-production situation? Let's use the Basic Stamp as an example.
The Basic Stamp has a microcontroller that is loaded with the PBASIC interpreter already. Is that microcontroller programmed before it is soldered onto the board? Is there a special programmer device that can program many chips at once? How are the SMD devices programmed since I don't see a breakout to accept a programmer anywhere.
Especially for the Basic Stamps powered with an SX microcontroller, do you Parallax people have a special sx-key you designed for mass production? I can't imagine having to program each chip one at a time with a single SX-Key!
How are microcontrollers programmed in a mass-production situation? Let's use the Basic Stamp as an example.
The Basic Stamp has a microcontroller that is loaded with the PBASIC interpreter already. Is that microcontroller programmed before it is soldered onto the board? Is there a special programmer device that can program many chips at once? How are the SMD devices programmed since I don't see a breakout to accept a programmer anywhere.
Especially for the Basic Stamps powered with an SX microcontroller, do you Parallax people have a special sx-key you designed for mass production? I can't imagine having to program each chip one at a time with a single SX-Key!
Comments
The Basic Stamp probably uses a mask-programmed chip, that is programmed by the manufacturer when it is made.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Some production runs may use ICP - in circuit programming and program the part using a test jig that makes contacts with pin or pads on the IC or MCU or special headers on the PCB could be used too.
Other design - seriously high volume designs with locked code has the code permanently placed in the IC like Leon stated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It's Only A Stupid Question If You Have Not Googled It First!!
One reason I favor in-circuit programming is that it makes updating the firmware possible without replacing the micro. Some of Parallax's other products have "pogo pin" pads for (re)programming the onboard SXs. Attached is a photo illustrating these on the GPS and Ping))) units. Even without them, all you would need for an SX is to power it up and clamp onto the ends of the resonator to program it.
-Phil
_
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle