Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Device programming (manufacturing / production)

2006-05-02 by nic@weartronics.com

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.

Kind regards,

Nic
Weartronics

> This post pertains specifically to the LPC2xx parts with on-chip
> flash & no external bus.
>
> Question: how are you programming the LPC on-chip flash in a
> manufacturing / production environment?
>
> During development, I'm primarily using the JTAG interface to load
> the flash.  On rare occasions I'll go the ISP / serial interface
> route.  But production is a whole different story.
>
> For example, are there dedicated device-programming stations for the
> Philips chips before they're placed on the board?
>
> Production quantity in this case is probably around 20k a year.  I
> mention this because certain economies of scale kick in at different
> quantities (i.e. if this was a garage-shop operation, manually
> connecting a stuffed board to a serial port or an emulator might make
> sense).
>
> Thanks.
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.