Yahoo Groups archive

Lpc2000

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

Thread

LPC2106 Programming - ISP and hex file

LPC2106 Programming - ISP and hex file

2004-02-20 by gokbektas

I connected my board to PC using UART0, bootloader
enable pin pulled down using jumper,
I run Philips ISP utility,
Read Device ID reads Part ID:4293984050, BootLoader ID:1.3
Is
this correct?
I select leddisp.hex and click Upload to Flash
button, it fails...
Erase function does not work also. Blank
Check returns chip is blank.
 
I tried 9600 and
19200 baud, there is 10MHz crystal at the board and I
entered
10000kHz at Philips ISP Flash utility.
What is
wrong?
 
As second, I am trying IAR EWARM trial
version and Keil evaluation version.
How can I create final hex
files in IAR EVARM,Keil and Crossworks?
 
Best
Regards...
 

Re: [lpc2000] LPC2106 Programming - ISP and hex file

2004-02-20 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "gokbektas" <gokbektas@...>
To: <lpc2000@yahoogroups.com>
Sent: Friday, February 20, 2004 7:48 PM
Subject: [lpc2000] LPC2106 Programming - ISP and hex file


> I connected my board to PC using UART0, bootloader
> enable pin pulled down using jumper,I run Philips ISP utility,
> Read Device ID reads Part ID:4293984050, BootLoader ID:1.3Is
> this correct?I select leddisp.hex and click Upload to Flash
> button, it fails...Erase function does not work also. Blank
> Check returns chip is blank. I tried 9600 and
> 19200 baud, there is 10MHz crystal at the board and Ientered
> 10000kHz at Philips ISP Flash utility.What is
> wrong?

If you can read the device ID, the bootloader should work, in my experience.
The only thing I can think of that might be causing the problem is that the
supply to the chip is marginal - programming takes a lot more current than
just reading the ID and the voltage might be dropping when programming
starts. Try monitoring the voltages when you start programming, you might
find something going wrong. I've had this problem sometimes when using
battery power with the LPC210x and the Atmel AVR.


As second, I am trying IAR EWARM trial
> version and Keil evaluation version.How can I create final hex
> files in IAR EVARM,Keil and Crossworks? Best
> Regards...

From CrossWorks you select Project>Properties. Click on the project name in
the Project window and then select the Linker tab. Change the Additional
Output Format to 'hex' and then click on 'OK'. When you next build the
project you should get a hex output file.

Leon
--
Leon Heller, G1HSM
Email: aqzf13@...
My low-cost Philips LPC210x ARM development system:
http://www.geocities.com/leon_heller/lpc2104.html

Ynt: Re: [lpc2000] LPC2106 Programming - ISP and hex file

2004-02-21 by gokbektas

Now I can program the chip,
I compile LED example of crossworks and make hex file like you said.
I see different voltages at the pins of LPC. 2.57V, 3V, 3.V etc
I also tried UART example for 210x of Crossworks, it seem it does not
send bytes to PC.
I suppose I can program the chip (I can do it only 19200baud in ISP, 9600 did not work)
with ISP (no error messages appear) but I can not make it work.
After programming, I push the reset button and remove bootloader jumper to make it work...
Any opinion?
Show quoted textHide quoted text

----- \ufffdzg\ufffdn \ufffdleti -----
Kimden : lpc2000@yahoogroups.com
Kime : lpc2000@yahoogroups.com
G\ufffdnderme tarihi : 20/02/2004 22:50
Konu : Re: [lpc2000] LPC2106 Programming - ISP and hex file
----- Original Message -----
From: "gokbektas" <gokbektas@...>
To: <lpc2000@yahoogroups.com>
Sent: Friday, February 20, 2004 7:48 PM
Subject: [lpc2000] LPC2106 Programming - ISP and hex file


> I connected my board to PC using UART0, bootloader
> enable pin pulled down using jumper,I run Philips ISP utility,
> Read Device ID reads Part ID:4293984050, BootLoader ID:1.3Is
> this correct?I select leddisp.hex and click Upload to Flash
> button, it fails...Erase function does not work also. Blank
> Check returns chip is blank. I tried 9600 and
> 19200 baud, there is 10MHz crystal at the board and Ientered
> 10000kHz at Philips ISP Flash utility.What is
> wrong?

If you can read the device ID, the bootloader should work, in my experience.
The only thing I can think of that might be causing the problem is that the
supply to the chip is marginal - programming takes a lot more current than
just reading the ID and the voltage might be dropping when programming
starts. Try monitoring the voltages when you start programming, you might
find something going wrong. I've had this problem sometimes when using
battery power with the LPC210x and the Atmel AVR.


As second, I am trying IAR EWARM trial
> version and Keil evaluation version.How can I create final hex
> files in IAR EVARM,Keil and Crossworks? Best
> Regards...

From CrossWorks you select Project>Properties. Click on the project
name in
the Project window and then select the Linker tab. Change the Additional
Output Format to 'hex' and then click on 'OK'. When you next build the
project you should get a hex output file.

Leon
--
Leon Heller, G1HSM
Email: aqzf13@...
My low-cost Philips LPC210x ARM development system:
http://www.geocities.com/leon_heller/lpc2104.html




Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/lpc2000/

<*> To unsubscribe from this group, send an email to:
     lpc2000-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/


Re: [lpc2000] LPC2106 Programming - ISP and hex file

2004-02-21 by capiman@t-online.de

You wrote:
> After programming, I push the reset button and remove bootloader jumper to make it work...
Not reverse direction ? I always change the boot loader switch (i have a switch instead of a jumper) and then press reset. Otherwise i think you are again in bootloader ???
Regards,
Martin
Show quoted textHide quoted text
----- Original Message -----
From: gokbektas
Sent: Saturday, February 21, 2004 9:30 AM
Subject: **SPAM** Ynt: Re: [lpc2000] LPC2106 Programming - ISP and hex file

Now I can program the chip,
I compile LED example of crossworks and make hex file like you said.
I see different voltages at the pins of LPC. 2.57V, 3V, 3.V etc
I also tried UART example for 210x of Crossworks, it seem it does not
send bytes to PC.
I suppose I can program the chip (I can do it only 19200baud in ISP, 9600 did not work)
with ISP (no error messages appear) but I can not make it work.
After programming, I push the reset button and remove bootloader jumper to make it work...
Any opinion?

----- Özgün İleti -----
Kimden : lpc2000@yahoogroups.com
Kime : lpc2000@yahoogroups.com
Gönderme tarihi : 20/02/2004 22:50
Konu : Re: [lpc2000] LPC2106 Programming - ISP and hex file
----- Original Message -----
From: "gokbektas" <gokbektas@...>
To: <lpc2000@yahoogroups.com>
Sent: Friday, February 20, 2004 7:48 PM
Subject: [lpc2000] LPC2106 Programming - ISP and hex file


> I connected my board to PC using UART0, bootloader
>; enable pin pulled down using jumper,I run Philips ISP utility,
> Read Device ID reads Part ID:4293984050, BootLoader ID:1.3Is
> this correct?I select leddisp.hex and click Upload to Flash
> button, it fails...Erase function does not work also. Blank
> Check returns chip is blank. I tried 9600 and
> 19200 baud, there is 10MHz crystal at the board and Ientered
> 10000kHz at Philips ISP Flash utility.What is
> wrong?

If you can read the device ID, the bootloader should work, in my experience.
The only thing I can think of that might be causing the problem is that the
supply to the chip is marginal - programming takes a lot more current than
just reading the ID and the voltage might be dropping when programming
starts. Try monitoring the voltages when you start programming, you might
find something going wrong. I've had this problem sometimes when using
battery power with the LPC210x and the Atmel AVR.


As second, I am trying IAR EWARM trial
> version and Keil evaluation version.How can I create final hex
> files in IAR EVARM,Keil and Crossworks? Best
> Regards...

>From CrossWorks you select Project>Properties. Click on the project
name in
the Project window and then select the Linker tab. Change the Additional
Output Format to 'hex' and then click on 'OK'. When you next build the
project you should get a hex output file.

Leon
--
Leon Heller, G1HSM
Email: aqzf13@...ex.com
My low-cost Philips LPC210x ARM development system:
http://www.geocities.com/leon_heller/lpc2104.html




Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/lpc2000/

<*> To unsubscribe from this group, send an email to:
     lpc2000-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/



Re: Re: [lpc2000] LPC2106 Programming - ISP and hex file

2004-02-21 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "gokbektas" <gokbektas@...>
To: <lpc2000@yahoogroups.com>
Sent: Saturday, February 21, 2004 8:30 AM
Subject: Ynt: Re: [lpc2000] LPC2106 Programming - ISP and hex file


> Now I can program the chip,
> I compile LED example of crossworks and make hex file like you said.
> I see different voltages at the pins of LPC. 2.57V, 3V, 3.V  etc
> I also tried UART example for 210x of Crossworks, it seem it does not
> send bytes to PC.
>
> I suppose I can program the chip (I can do it only 19200baud in ISP, 9600
did not work)
> with ISP (no error messages appear) but I can not make it work.
> After programming, I push the reset button and remove bootloader jumper to
make it work...

I just tried the UART example, loading it via both the JTAG and Philips ISP
utility. Both worked OK. What terminal emulator are you using? Are you
getting any output at all (garbage)?

Leon

Re: Re: [lpc2000] LPC2106 Programming - ISP and hex file

2004-02-21 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "Leon Heller" <leon_heller@...>
To: <lpc2000@yahoogroups.com>
Sent: Saturday, February 21, 2004 9:22 AM
Subject: Re: Re: [lpc2000] LPC2106 Programming - ISP and hex file


>
> ----- Original Message ----- 
> From: "gokbektas" <gokbektas@...>
> To: <lpc2000@yahoogroups.com>
> Sent: Saturday, February 21, 2004 8:30 AM
> Subject: Ynt: Re: [lpc2000] LPC2106 Programming - ISP and hex file
>
>
> > Now I can program the chip,
> > I compile LED example of crossworks and make hex file like you said.
> > I see different voltages at the pins of LPC. 2.57V, 3V, 3.V  etc
> > I also tried UART example for 210x of Crossworks, it seem it does not
> > send bytes to PC.
> >
> > I suppose I can program the chip (I can do it only 19200baud in ISP,
9600
> did not work)
> > with ISP (no error messages appear) but I can not make it work.
> > After programming, I push the reset button and remove bootloader jumper
to
> make it work...
>
> I just tried the UART example, loading it via both the JTAG and Philips
ISP
> utility. Both worked OK. What terminal emulator are you using? Are you
> getting any output at all (garbage)?

Did you remove the jumper which enables the bootloader? You need to disable
the bootloader and reset to run the program. I sometimes forget to do that
and wonder why the program doesn't work. 8-)

Leon

Re: [lpc2000] LPC2106 Programming - ISP and hex file

2004-02-21 by gokbektas

-I programmed chip with Philips ISP
-Then closed ISP program
-Opened terminal window in crossworks
-Selected com port and baud rate
-Opened com port in terminal window
-Then removed the bootloader jumper
-Pressed reset button...
there is nothing... may be I should check soldering of the chip again (I did it myself)
Could anyone send me a tested hex file for testing uart or pins @ 10MHz for LPC2106?
Show quoted textHide quoted text

> Now I can program the chip,
> I compile LED example of crossworks and make hex file like you said.
> I see different voltages at the pins of LPC. 2.57V, 3V, 3.V  etc
> I also tried UART example for 210x of Crossworks, it seem it does not
> send bytes to PC.
>
> I suppose I can program the chip (I can do it only 19200baud in ISP,
9600
did not work)
> with ISP (no error messages appear) but I can not make it work.
> After programming, I push the reset button and remove bootloader
jumper to
make it work...

I just tried the UART example, loading it via both the JTAG and Philips ISP
utility. Both worked OK. What terminal emulator are you using? Are you
getting any output at all (garbage)?

Leon

Re: [lpc2000] LPC2106 Programming - ISP and hex file

2004-02-21 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "gokbektas" <gokbektas@...>
To: <lpc2000@yahoogroups.com>
Sent: Saturday, February 21, 2004 9:33 AM
Subject: Re: [lpc2000] LPC2106 Programming - ISP and hex file


> -I programmed chip with Philips ISP
> -Then closed ISP program
> -Opened terminal window in crossworks
> -Selected com port and baud rate
> -Opened com port in terminal window
> -Then removed the bootloader jumper
> -Pressed reset button...
>
> there is nothing... may be I should check soldering of the chip again (I
did it myself)
>
> Could anyone send me a tested hex file for testing uart or pins @ 10MHz
for LPC2106?

I sent the hex file I used.

I checked with the CrossWorks terminal utility (I was using RealTerm) and it
worked OK with that.

Leon

Ynt: Re: [lpc2000] LPC2106 Programming - ISP and hex file

2004-02-21 by gokbektas

Thanks leon,
I tried the hex file that you sent me.
I read 4293984050 part ID and 1.3 bootloader ID, when I click Upload to Flash, it
does not give any error messages, a progress bar shows it is uploading.
When I click Compere Flash, a progress bar shows it is reading but "File compare Fail"
message appears at the end.
And there is no data coming from chip when I check it with terminal window...
?

Show quoted textHide quoted text

----- \ufffdzg\ufffdn \ufffdleti -----
Kimden : lpc2000@yahoogroups.com
Kime : lpc2000@yahoogroups.com
G\ufffdnderme tarihi : 21/02/2004 11:52
Konu : Re: [lpc2000] LPC2106 Programming - ISP and hex file
----- Original Message -----
From: "gokbektas" <gokbektas@...>
To: <lpc2000@yahoogroups.com>
Sent: Saturday, February 21, 2004 9:33 AM
Subject: Re: [lpc2000] LPC2106 Programming - ISP and hex file


> -I programmed chip with Philips ISP
> -Then closed ISP program
> -Opened terminal window in crossworks
> -Selected com port and baud rate
> -Opened com port in terminal window
> -Then removed the bootloader jumper
> -Pressed reset button...
>
> there is nothing... may be I should check soldering of the chip again (I
did it myself)
>
> Could anyone send me a tested hex file for testing uart or pins @ 10MHz
for LPC2106?

I sent the hex file I used.

I checked with the CrossWorks terminal utility (I was using RealTerm) and it
worked OK with that.

Leon


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/dN_tlB/TM
---------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/lpc2000/

<*> To unsubscribe from this group, send an email to:
     lpc2000-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/


Re: Re: [lpc2000] LPC2106 Programming - ISP and hex file

2004-02-21 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "gokbektas" <gokbektas@...>
To: <lpc2000@yahoogroups.com>
Sent: Saturday, February 21, 2004 10:18 AM
Subject: Ynt: Re: [lpc2000] LPC2106 Programming - ISP and hex file


> Thanks leon,
> I tried the hex file that you sent me.
>
> I read 4293984050 part ID and 1.3 bootloader ID, when I click Upload to
Flash, it
> does not give any error messages, a progress bar shows it is uploading.
>
> When I click Compere Flash, a progress bar shows it is reading but "File
compare Fail"
> message appears at the end.
>
> And there is no data coming from chip when I check it with terminal
window...

It looks like you have a problem with the flash memory. I'd replace the
chip, or try another board if you have one. I'm actually using a '2104, but
it shouldn't make any difference.

Regards,

Leon

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.