Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] Erasing through JTAG?

2004-12-23 by Dan Beadle

I recently was working a similar problem with IAR JLink and Keil MPC2100
board.

 

I set IAR JLink clock parameter to 12 Mhz, debug Verify Flash ON.

 

Often, I got "Target Inconsistency" errors on download, yet if I dump the
data, it is correct.

 

 

I eventually figured out that the PLL was still running at program time,
making my clock 48Mhz.  

(My JTAG lets the CPU run for a while after reset.  The last target app runs
for a while - long enough to set the PLL back up.)

 

I set the IAR clock parameter to 48Mhz, and forced the JTAG speed to 1 MHz.
Now everything is great. 

 

Is it possible that you are not reseting the chip on programming?  

  _____  

From: Leighton Rowe [mailto:leightonsrowe@...] 
Sent: Thursday, December 23, 2004 7:35 AM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] Erasing through JTAG?

 


I've recently been using the JTAG (along with IAR Software) to flash 
download code to my board for debugging. Everything works fine the 
first time I debug. However, if I made a code change and tried to 
flash & debug again I get data aborts. I usually have to do a hard 
Philips ISP erase before debugging again.

Does the JTAG have any flash erasing capabilities?








Yahoo! Groups Sponsor



ADVERTISEMENT
 
<http://us.ard.yahoo.com/SIG=129kao4sl/M=298184.5639630.6699735.3001176/D=gr
oups/S=1706554205:HM/EXP=1103908720/A=2495208/R=0/SIG=11egg01lg/*http:/www.n
etflix.com/Default?mqso=60188914> click here


 
<http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=groups/S=
:HM/A=2495208/rand=151830087> 

 

  _____  

Yahoo! Groups Links

*	To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
*	To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  
*	Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service. 



[Non-text portions of this message have been removed]

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.