EmbeddedRelated.com
Forums
Memfault Beyond the Launch

LPC2368 JTAG problem

Started by Hossein April 6, 2011
Hi all,

I have a custom board based on LPC2368 and I am using H-Jtag to program it, once I used incorrect value for CPU clock divider register -CCLKSEL- with even value and saw that it is not working but when I tried to connect to the board and program it with correct file I receive "can't halt target and make it enter DEBUG mode" message.
I don't know how I can get rid of this message.
somebody had told that I should use flash magic to program it via UART0 with a correct firmware, but I didn't have any bootloader for that is there any bootloader in LPC2368 by default that can use UART0 to receive upgrades?

I would appreciate any help and comments.

An Engineer's Guide to the LPC2100 Series

--- In l..., "Hossein" wrote:
>
> Hi all,
>
> I have a custom board based on LPC2368 and I am using H-Jtag to program it, once I used incorrect value for CPU clock divider register -CCLKSEL- with even value and saw that it is not working but when I tried to connect to the board and program it with correct file I receive "can't halt target and make it enter DEBUG mode" message.
> I don't know how I can get rid of this message.
> somebody had told that I should use flash magic to program it via UART0 with a correct firmware, but I didn't have any bootloader for that is there any bootloader in LPC2368 by default that can use UART0 to receive upgrades?
>
> I would appreciate any help and comments.
>

I don't want to sound 'blunt' and 'negative', but have you not thought about reading the LPC2368 User Guide (download from NXP website) ??? and getting to know the device you are playing with?!

If you have, you will have found all the answers you need in Chapter 29 titled 'LPC23XX Flash Memory Programming Feature' !! or just search for ISP in the user guide! ..... Simples!

Hi Simon,

> If you have, you will have found all the answers you need in Chapter 29
> titled 'LPC23XX Flash Memory Programming Feature' !! or just search for
> ISP in the user guide! ..... Simples!

Do you now live in Meercovo? :-)

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
SolderCore arriving Summer 2011! http://www.soldercore.com

Hi all,

I used flashmagic and could download a good firmware to the target so now, my system is working very well.
thank you all.
--- On Wed, 6/4/11, Paul Curtis wrote:

From: Paul Curtis
Subject: RE: [lpc2000] Re: LPC2368 JTAG problem
To: l...
Date: Wednesday, 6 April, 2011, 1:16 PM

 

Hi Simon,

> If you have, you will have found all the answers you need in Chapter 29

> titled 'LPC23XX Flash Memory Programming Feature' !! or just search for

> ISP in the user guide! ..... Simples!

Do you now live in Meercovo? :-)

--

Paul Curtis, Rowley Associates Ltd   http://www.rowley.co.uk

SolderCore arriving Summer 2011! http://www.soldercore.com

Memfault Beyond the Launch