EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

I can download the program to MCU (LPC2468) on Keil ULink

Started by wilnfl June 18, 2007
I use LPC2468.

I has write some code to control PWM, and I set the PCON = 0x2, so the
system enter power down mode, and then, I cann't download any program
to this chip, because every time this board power up, it enter power
down mode, so I cann't connect jtag. Anybody has any method to solve
this problem?

Thanks in advacne.

An Engineer's Guide to the LPC2100 Series

--- In l..., "wilnfl" wrote:
>
> I use LPC2468.
>
> I has write some code to control PWM, and I set the PCON = 0x2, so
the
> system enter power down mode, and then, I cann't download any program
> to this chip, because every time this board power up, it enter power
> down mode, so I cann't connect jtag. Anybody has any method to solve
> this problem?
>
> Thanks in advacne.
>

I am sorry, I can not download the program to MCU.
--- In l..., "wilnfl" wrote:
>
> I use LPC2468.
>
> I has write some code to control PWM, and I set the PCON = 0x2, so the
> system enter power down mode, and then, I cann't download any program
> to this chip, because every time this board power up, it enter power
> down mode, so I cann't connect jtag. Anybody has any method to solve
> this problem?
>
> Thanks in advacne.
>

Pull P2.10 low, and do a hard reset to force the bootloader to remain
in control after reset. That way, your code will not execute and put
the chip into Power Down mode.

--Dave
Hello,

One option is erase the device via Serial using the Flash Magic.

Regards

Cesar de Almeida
2007/6/18, wilnfl :
>
> --- In l... , "wilnfl"
> wrote:
> >
> > I use LPC2468.
> >
> > I has write some code to control PWM, and I set the PCON = 0x2, so
> the
> > system enter power down mode, and then, I cann't download any program
> > to this chip, because every time this board power up, it enter power
> > down mode, so I cann't connect jtag. Anybody has any method to solve
> > this problem?
> >
> > Thanks in advacne.
> > I am sorry, I can not download the program to MCU.
>
--- In l..., "derbaier" wrote:
>
> --- In l..., "wilnfl" wrote:
> >
> > I use LPC2468.
> >
> > I has write some code to control PWM, and I set the PCON = 0x2,
so the
> > system enter power down mode, and then, I cann't download any
program
> > to this chip, because every time this board power up, it enter
power
> > down mode, so I cann't connect jtag. Anybody has any method to
solve
> > this problem?
> >
> > Thanks in advacne.
> > Pull P2.10 low, and do a hard reset to force the bootloader to
remain
> in control after reset. That way, your code will not execute and
put
> the chip into Power Down mode.
>
> --Dave
>

Thank you Dave, I will try this way.

The 2024 Embedded Online Conference