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.
LPC2368 JTAG problem
Started by ●April 6, 2011
Reply by ●April 6, 20112011-04-06
--- 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 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!
Reply by ●April 6, 20112011-04-06
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
> 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
Reply by ●April 7, 20112011-04-07
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
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