Yahoo Groups archive

Lpc2000

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

Message

Re: JTAG Debugger

2005-10-27 by mark_dell555

OK, I was able to set the Aglient probe to 391kHz, and erased the
chip.  I can read and write RAM in AXD.  I disabled software
breakpoints on the vectors and SWIs.  Now I'm not getting Data Aborts
anymore.  I created a simple project that just toggles an LED and told
the linker to put everything into RAM (0x40000100+).  It runs now.  I
still get some too many breakpoints errors, possibly because i have
disabled everything except for hardware breakpoints.  I guess the next
step is to try and run some flash code.  The data aborts were probably
generated by AXD trying to set software breakpoints in the vector
table, but they're not remapped to RAM, so it failed.

Thanks for all the help so far.  I'll try debugging flash code, and
loading flash using the JTAG next, although that might be quite a bit
more difficult.


Mark



--- In lpc2000@yahoogroups.com, Michael Johnson <mpj@r...> wrote:
>
> A wiggler will do a maximum of 400kHz - I can't remember if we have LPC 
> boards that we've had to put a clock divider on to make things reliable 
> - so 500kHz may be too fast. Could there be a program in the flash that 
> is causing the problem - try erasing the flash using the ISP.
> 
> Regards
> Michael
> 
> >Hi Michael,
> >
> >Yes.  I can set it anywhere from 500kHz to 10Mhz.  I've been using it
> >at 500kHZ and 1 Mhz.  I should mention I'm using ADS 1.2.
> >
> >Thanks,
> >Mark
> >
> >  
> >
> >>Hi Mark,
> >>
> >>Can you divide the JTAG clock frequency?
> >>
> >>Regards
> >>Michael
> >>    
> >>
> >
> >
> >
> >
> >
> >
> >
> > 
> >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.