Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: PINSEL2 crashes everything

2006-03-15 by German Ortiz

Hi!

If you write PINSEL2 bit 2 to zero, this disable the debug resource on the
LPC microcontroller. So, if you need to debug yor firmware, this bit
PINSEL2:2 must be 1, to ensure the P1.31-26 are enabled as debug port.

I hope this help!

Regards!

German

----- Original Message -----
From: "upanie1" <upanie@...>
To: <lpc2000@yahoogroups.com>
Sent: Wednesday, March 15, 2006 8:40 AM
Subject: [lpc2000] Re: PINSEL2 crashes everything


> --- In lpc2000@yahoogroups.com, 42Bastian Schick <bastian42@...> wrote:
> >
> > soren_t_hansen <soren_t_hansen@...> schrieb am Mon, 01 Aug 2005
> > 14:04:44 -0000:
> >
> > > I'm trying to write to the PINSEL2 register, to ensure that it has 0's
> > > at bit 2 and 3, but if I try to write to the register, the JTAG
> > > connection drops, and it seems as if the MCU enter some other mode,
> > > since I can't restore the connection whitout having to do a power
> cycle.
> > > Has anyone experienced this?
> > > And how can I write to the PINSEL2 register, whitout having this
> problem?
> >
> > Some bits disable JTAG, be sure to set these to the correctly.
> >
> > --
> > 42Bastian Schick
> >
>
> Hi. Ihave the same problem.
>
> > Some bits disable JTAG, be sure to set these to the correctly.
> OK, but how to this if i can't load new program - JTAG doesn't want to
> work. I can't use ISP because my hardware does not allow to do it.
> And one more thing: user manual says that one can't write 1s at
> specified position to PINSEL2 but i write 0 to it and JTAG crashes.
>
> please help
> Adam
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.2.2/280 - Release Date: 13/03/2006
>
>

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.