nic@... wrote:
>Hi shergtu,
>
>If you do not wish to buy the chips pre-programmed or use the outside
>programming facility, you can use this procedure to program the boards
>in-house. This also lets you upgrade firmware later if necessary (not
>possible with pre-programmed chip).
>
>1) Design your PCB with empty solder pads for spring loaded test pins
>(like http://www.qatech.com/). You can connect power, serial port, BSL,
>RST and short circuit pads. Build the test jig to hold the test pins and
>connect the power, serial port and the proper way to locate the board.
>
>2) The software waits for the short circuit pads to be connected (this
>shows the board is being connected), then waits one second more (for the
>board to be fully connected), then connects the power to the board using
>BSL, RST to enter the bootloader mode.
>
>3) The software retries until connected to the boot loader, then program
>and verify the device, then remove power from the board and display
>message to the operator.
>
>Using this technique it is possible for the operator to load the board
>into the jig, wait for the message, load the next board etc... without
>requiring any commands or interruption.
>
>
>
Why stop there? We used to use a vacuum head + bed of nails (your
spring loaded pins) and do auto testing (ATE) of the boards. Since the
LPC2000 is essentially a self contained system on chip, you could do
some interactive testing of the board. Perhaps loopback some serial +
inputs + outputs and have the first program loaded into the LPC2000 be a
simple board test program?
I know that if you put me in front of a GenRad 2270 on a bed of nails
fixture, I could write a nice little program + test of the PCB. But,
then, who bothers testing boards these days? Shippit and let the
customer find the problems, right?
Really depends on who does your PCB assembly, ask if they do ATE.
You have all sorts of possibilities with a vacuum or mechanical
fixture! See (google on "genrad 2270 bed of nails"):
http://www.testelectronics.com/bontest.htm
http://www.evaluationengineering.com/archive/articles/1095BATE.htm
http://www.checksum.com/tr-3.html
Regards,
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------