Yahoo Groups archive

Lpc2000

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

Message

ISP

2004-05-28 by mjbcswitzerland

Hi all

Here's the story. I have an IAR Philips LPC210x Kickstart card and 
all works well - i.e. J-Link JTAG and ISP programming.

Now I have just received my own board and JTAG works fine. Found a 
big mistake since I didn't realise that I loose 10 ports due to JTAG 
1 (ETM is also activated). This means that the board is useless in 
JTAG 1 mode for the moment so decided to use a FLASH monitor program 
over port 0 until a solution is found (redesign for JTAG 2 perhaps).

No problem synchronising and reading the ID stuff. The download 
starts and gets to 10% and sometimes up to 30% before aborting with 
a communication error.

Have tried baud rates down to 1200 with no success (always same 
behaviour). Have 12MHz quarz but removed it and drove the input from 
the 14.7..MHz from kickstart board (through 100pF) - same behaviour.

Checked the data on RS-232 interface - typically a Mxxxxxxx command 
is being sent and the 
characters are being echoed back. Suddenly the echo stops in the 
middle of a message and thats it - no more response until the card 
is reset.

Have checked some YAHOO-discussions but doen't see any real info - 
are things like crystal caps, bypass caps, driver decoupling really 
the cause of such problems? Seems a bit sensitive....

By the way: Using JTAG1 I have a program using serial ports 0 and 1 
at 19'200 on my target (the one with the ISP problem) with 
absolutely no problems so why can the ISP download go wrong? It 
doesn't seem as though it's a flash programming problem because it 
probably doesn't get this far (or does it??)

Any tips to get me back on the track???

Would be very grateful for any help.

Regards

Mark Butcher

Switzerland

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.