EmbeddedRelated.com
Forums

Programming (ISP) suggestions for LPC2468 in Manufacturing Environment

Started by Gary Caiola May 7, 2009
Hi,

I saw someone recommend the Ronetix PEEDI device for JTAG programming. It looks like it's $2k. I wondered if anybody can suggest a cheaper alternative?

FYI...I have access to a corelis boundary scan license + controlle, and there's a JTAG header on my boards. So an ideal solution would be to integrate programming into or after boundary scan test (already developed). I contacted Corelis but they do not support programming for LPC2468.

Is it logical that I could use the corelis JTAG controller, (or some other inexpensive one) plus one of the "NXP flash utility" or "flashMagic" applications to program the device? I guess JTAG is a standard interface so I'm assuming any JTAG compatible controller could be used to do this?

Any suggestions on hardware and software combinations that you've used successfully (or know to work) would be VERY MUCH appreciated....

Thanks,
Gary

An Engineer's Guide to the LPC2100 Series

On Thu, 07 May 2009 20:26:04 -0000, you wrote:

>Hi,
>
>I saw someone recommend the Ronetix PEEDI device for JTAG programming. It looks like it's $2k. I wondered if anybody can suggest a cheaper alternative?
>
>FYI...I have access to a corelis boundary scan license + controlle, and there's a JTAG header on my boards. So an ideal solution would be to integrate programming into or after boundary scan test (already developed). I contacted Corelis but they do not support programming for LPC2468.
>
>Is it logical that I could use the corelis JTAG controller, (or some other inexpensive one) plus one of the "NXP flash utility" or "flashMagic" applications to program the device? I guess JTAG is a standard interface so I'm assuming any JTAG compatible controller could be used to do this?
>
>Any suggestions on hardware and software combinations that you've used successfully (or know to work) would be VERY MUCH appreciated....
>
>Thanks,
>Gary

Something I've thought about but not got around to looking into implementing....

The main reason for using JTAG over ISP is speed.
However the main reason that ISP is so slow is that the serial protocol is vastly less efficient
than it could be, and doesn't make full use of the maximum UART speeds ( e.g. not using FDR).

It should be possible to do ISP MUCH faster by using the bootloader to just download your own loader
code to RAM, which then uses a high baudrate and much more efficient protocol to transfer the data
quickly.
Data rates of >1mbit/sec are easily achievable via USB-Serial devices, and by doing things like
overlapping the flash programming time with data transfer, verifying by doing a CRC internally and
comparing the result instead of reading all the data back, I suspect you could achieve speeds not
much lower than with JTAG using a simple & cheap USB/Serial lead (e.g. FTDI's TTL232 cable).

Hi:

You can look at www.segger.com for their J-Link + J-Flash bundle for manufacturing. It is around EU$500, and it allow you to program LPC2300/2400 using the JTAG port.

Regards,

Alex

--- In l..., "Gary Caiola" wrote:
>
> Hi,
>
> I saw someone recommend the Ronetix PEEDI device for JTAG programming. It looks like it's $2k. I wondered if anybody can suggest a cheaper alternative?
>
> FYI...I have access to a corelis boundary scan license + controlle, and there's a JTAG header on my boards. So an ideal solution would be to integrate programming into or after boundary scan test (already developed). I contacted Corelis but they do not support programming for LPC2468.
>
> Is it logical that I could use the corelis JTAG controller, (or some other inexpensive one) plus one of the "NXP flash utility" or "flashMagic" applications to program the device? I guess JTAG is a standard interface so I'm assuming any JTAG compatible controller could be used to do this?
>
> Any suggestions on hardware and software combinations that you've used successfully (or know to work) would be VERY MUCH appreciated....
>
> Thanks,
> Gary
>