Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | LPC2106 flash utility problem

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

LPC2106 flash utility problem - Michal Krestan - Feb 27 8:05:00 2006

I need to help with programming LPC2106 via LPC2000 flash utility. I've got board with
one LPC2106 connected via UART0 to COM1. P0.14 is pulled low, power supply pins are in
limits but I can't sucesfully connect with flash utility. Always I get message
"Cannot communicate with test board". X1 and X2 pins are connected to 7.3728MHz
resonator. If I measure data between PC and LPC2106 it has some response on flash utility
requests, but no success:-( I had several pcs of this hardware working, but this one
doesn't work. I've changed LPC2106 with new one but still with the same result.  Does
anybody have idea how to fix this problem?

            Michal
	[Non-text portions of this message have been removed]
	


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: LPC2106 flash utility problem - Tom Walsh - Feb 27 8:10:00 2006

Michal Krestan wrote:

>I need to help with programming LPC2106 via LPC2000 flash utility. I've got board
with one LPC2106 connected via UART0 to COM1. P0.14 is pulled low, power supply pins are
in limits but I can't sucesfully connect with flash utility. Always I get message
"Cannot communicate with test board". X1 and X2 pins are connected to 7.3728MHz
resonator. If I measure data between PC and LPC2106 it has some response on flash utility
requests, but no success:-( I had several pcs of this hardware working, but this one
doesn't work. I've changed LPC2106 with new one but still with the same result.  Does
anybody have idea how to fix this problem?
>
>  
>
Well, you don't have to use any software to connect to the LPC2106.  All 
you really need is a terminal program, something like minicom or 
hypercom will work.  Just set them to 8 bits no parity and no 
handshake.  Then start pressing the "?" key, eventually, the processor 
will see the "?" and send you "Synchronized".  When it does that, you

respond with the same thing: "Synchronized".  You are now linked.

TomW
	>            Michal
>
>
>[Non-text portions of this message have been removed]
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>  
>
	-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------
	


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2106 flash utility problem - Michal Krestan - Feb 27 8:25:00 2006

  ----- Original Message ----- 
  From: Tom Walsh 
  To: lpc2000@lpc2... 
  Sent: Monday, February 27, 2006 1:10 PM
  Subject: Re: [lpc2000] LPC2106 flash utility problem
	  Michal Krestan wrote:

  >I need to help with programming LPC2106 via LPC2000 flash utility. I've got board
with one LPC2106 connected via UART0 to COM1. P0.14 is pulled low, power supply pins are
in limits but I can't sucesfully connect with flash utility. Always I get message
"Cannot communicate with test board". X1 and X2 pins are connected to 7.3728MHz
resonator. If I measure data between PC and LPC2106 it has some response on flash utility
requests, but no success:-( I had several pcs of this hardware working, but this one
doesn't work. I've changed LPC2106 with new one but still with the same result.  Does
anybody have idea how to fix this problem?
  >
  >  
  >
  I've tested this you described bellow. I'll get always response
"Sychronized", when I'm sending "?" character, but after this, if I'll
type my response "Synchronized", I'll get back for each character typed some
unknown response in form of several random characters.

          Michal
	  Well, you don't have to use any software to connect to the LPC2106.  All 
  you really need is a terminal program, something like minicom or 
  hypercom will work.  Just set them to 8 bits no parity and no 
  handshake.  Then start pressing the "?" key, eventually, the processor 
  will see the "?" and send you "Synchronized".  When it does that,
you 
  respond with the same thing: "Synchronized".  You are now linked.

  TomW
	  >            Michal
  >
  >
  >[Non-text portions of this message have been removed]
  >
  >
  >
  > 
  >Yahoo! Groups Links
  >
  >
  >
  > 
  >
  >
  >
  >
  >
  >  
  >
	  -- 
  Tom Walsh - WN3L - Embedded Systems Consultant
  http://openhardware.net, http://cyberiansoftware.com
  "Windows? No thanks, I have work to do..."
  ----------------------------------------------------
	  SPONSORED LINKS Microcontrollers  Microprocessor  Intel microprocessors  
        Pic microcontrollers
	------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..
	------------------------------------------------------------------------------
	[Non-text portions of this message have been removed]
	


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2106 flash utility problem - Robert Adsett - Feb 27 9:14:00 2006

At 01:05 PM 2/27/06 +0100, Michal Krestan wrote:

>I need to help with programming LPC2106 via LPC2000 flash utility. I've 
>got board with one LPC2106 connected via UART0 to COM1. P0.14 is pulled 
>low, power supply pins are in limits but I can't sucesfully connect with 
>flash utility. Always I get message "Cannot communicate with test board". 
>X1 and X2 pins are connected to 7.3728MHz resonator. If I measure data 
>between PC and LPC2106 it has some response on flash utility requests, but 
>no success:-( I had several pcs of this hardware working, but this one 
>doesn't work. I've changed LPC2106 with new one but still with the same 
>result.  Does anybody have idea how to fix this problem?

Use a faster crystal?

The minimum frequency specced for serial ISP programming is 10MHz (Pg 26 of 
the LPC2106 data sheet).

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/
	


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2106 flash utility problem - Xtian Xultz - Feb 27 9:17:00 2006

Em Seg 27 Fev 2006 09:05, Michal Krestan escreveu:
> I need to help with programming LPC2106 via LPC2000 flash utility. I've got
> board with one LPC2106 connected via UART0 to COM1. P0.14 is pulled low,
> power supply pins are in limits but I can't sucesfully connect with flash
> utility. Always I get message "Cannot communicate with test board". X1 and
> X2 pins are connected to 7.3728MHz resonator. If I measure data between PC
> and LPC2106 it has some response on flash utility requests, but no
> success:-( I had several pcs of this hardware working, but this one doesn't
> work. I've changed LPC2106 with new one but still with the same result. 
> Does anybody have idea how to fix this problem?
>
>             Michal

Maybe isnt the frequency of your crystal?
The datasheet says the LPC2106 must have a crystal from 10 to 25MHz, and maybe 
the Flash program expects at minimum a 10MHz crystal to program the UART0 of 
the LPC.
I suggest to you to change the crystal to see if it works.



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2106 flash utility problem - Michal Krestan - Feb 27 9:37:00 2006

  ----- Original Message ----- 
  From: Xtian Xultz 
  To: lpc2000@lpc2... 
  Sent: Monday, February 27, 2006 2:17 PM
  Subject: Re: [lpc2000] LPC2106 flash utility problem
	  Em Seg 27 Fev 2006 09:05, Michal Krestan escreveu:
  > I need to help with programming LPC2106 via LPC2000 flash utility. I've got
  > board with one LPC2106 connected via UART0 to COM1. P0.14 is pulled low,
  > power supply pins are in limits but I can't sucesfully connect with flash
  > utility. Always I get message "Cannot communicate with test board". X1
and
  > X2 pins are connected to 7.3728MHz resonator. If I measure data between PC
  > and LPC2106 it has some response on flash utility requests, but no
  > success:-( I had several pcs of this hardware working, but this one doesn't
  > work. I've changed LPC2106 with new one but still with the same result. 
  > Does anybody have idea how to fix this problem?
  >

  I've tried to use 11.0592MHz crystal, but with same result:-(

              Michal
	  Maybe isnt the frequency of your crystal?
  The datasheet says the LPC2106 must have a crystal from 10 to 25MHz, and maybe 
  the Flash program expects at minimum a 10MHz crystal to program the UART0 of 
  the LPC.
  I suggest to you to change the crystal to see if it works.
	  SPONSORED LINKS Microcontrollers  Microprocessor  Intel microprocessors  
        Pic microcontrollers
	------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..
	------------------------------------------------------------------------------
	[Non-text portions of this message have been removed]
	


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2106 flash utility problem - Robert Adsett - Feb 27 23:12:00 2006

At 02:37 PM 2/27/2006 +0100, Michal Krestan wrote:
>   Em Seg 27 Fev 2006 09:05, Michal Krestan escreveu:
>   > I need to help with programming LPC2106 via LPC2000 flash utility. 
> I've got
>   > board with one LPC2106 connected via UART0 to COM1. P0.14 is pulled low,
>   > power supply pins are in limits but I can't sucesfully connect with flash
>   > utility. Always I get message "Cannot communicate with test board".

> X1 and
>   > X2 pins are connected to 7.3728MHz resonator. If I measure data 
> between PC
>   > and LPC2106 it has some response on flash utility requests, but no
>   > success:-( I had several pcs of this hardware working, but this one 
> doesn't
>   > work. I've changed LPC2106 with new one but still with the same result.
>   > Does anybody have idea how to fix this problem?
>   >
>
>   I've tried to use 11.0592MHz crystal, but with same result:-(
	Well, it had to be checked.  Have you tried connecting with a 
terminal?  Scoped the lines?  Marginal transceivers and bad connections 
have been reported as causing problems.

>   Maybe isnt the frequency of your crystal?
>   The datasheet says the LPC2106 must have a crystal from 10 to 25MHz, 
> and maybe
>   the Flash program expects at minimum a 10MHz crystal to program the 
> UART0 of
>   the LPC.

Actually the datasheet says the minimum frequency is 1MHz, but 10MHz is 
needed for serial ISP. Some sort of limitation on their autobaud routines 
maybe?

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/
	


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2106 flash utility problem - Xtian Xultz - Feb 28 10:11:00 2006

Em Ter 28 Fev 2006 00:12, Robert Adsett escreveu:
> At 02:37 PM 2/27/2006 +0100, Michal Krestan wrote:
> >   Em Seg 27 Fev 2006 09:05, Michal Krestan escreveu:
> >   > I need to help with programming LPC2106 via LPC2000 flash utility.
> >
> > I've got
> >
> >   > board with one LPC2106 connected via UART0 to COM1. P0.14 is pulled
> >   > low, power supply pins are in limits but I can't sucesfully connect
> >   > with flash utility. Always I get message "Cannot communicate with
> >   > test board".
> >
> > X1 and
> >
> >   > X2 pins are connected to 7.3728MHz resonator. If I measure data
> >
> > between PC
> >
> >   > and LPC2106 it has some response on flash utility requests, but no
> >   > success:-( I had several pcs of this hardware working, but this one
> >
> > doesn't
> >
> >   > work. I've changed LPC2106 with new one but still with the same
> >   > result. Does anybody have idea how to fix this problem?
> >
> >   I've tried to use 11.0592MHz crystal, but with same result:-(
>
> Well, it had to be checked.  Have you tried connecting with a
> terminal?  Scoped the lines?  Marginal transceivers and bad connections
> have been reported as causing problems.
>
> >   Maybe isnt the frequency of your crystal?
> >   The datasheet says the LPC2106 must have a crystal from 10 to 25MHz,
> > and maybe
> >   the Flash program expects at minimum a 10MHz crystal to program the
> > UART0 of
> >   the LPC.
>
> Actually the datasheet says the minimum frequency is 1MHz, but 10MHz is
> needed for serial ISP. Some sort of limitation on their autobaud routines
> maybe?
>
> Robert
>
> " 'Freedom' has no meaning of itself.  There are always restrictions,   be
> they legal, genetic, or physical.  If you don't believe me, try to chew a
> radio signal. "  -- Kelvin Throop, III
> http://www.aeolusdevelopment.com/
>
Sorry if this messages dont help, but I am really happy, because the first 
board I made (entirelly), solded (by hand, with iron solder) worked just 
fine, the ISP worked fine from the first time. Everybody here (in Brasil) is 
playing the carnival and I here working, but I am happy too. I used a 10MHz 
crystal, and had no problemas with ISP. I used a simple MAX232 powered with 
5V and I had no problems.



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2106 flash utility problem - mfra...@... - Feb 28 10:26:00 2006

Are you using a purchased development board or one that you made yourself? 
If it's a purchased board, which one is it and who made it?

Thanks,
Mike

[Non-text portions of this message have been removed]
	


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2106 flash utility problem - Xtian Xultz - Feb 28 11:51:00 2006

Em Ter 28 Fev 2006 11:26, mfrazier@mfra... escreveu:
> Are you using a purchased development board or one that you made yourself?
> If it's a purchased board, which one is it and who made it?
>
> Thanks,
> Mike
>
First I buyed a development board from a brazilian vendor called Elaxys 
(www.elaxys.com.br), I am using the EX_LPC_M01 wich is just nice, and cheap 
(for brazilian prices, our import taxes are simply abusive and a board 
assembled here become much more cheaper). With that board I made a few 
firmwares, and the board comes with a CDROM that contains tha gnuarm ready to 
use in Linux and Windows (of course, I use Linux), a lot of libraries made by 
Elaxys wich is MIT licensed (as seen on 
http://www.elaxys.com.br/produtos/lpc/ex-lpc-lib1/ but unfortunatelly only in 
portuguese) wich have nice functions, like one to made an routine a ISR (I 
cound not find how to do it in gnuarm alone, I can only made an ISR with 
these libraries), I buyed an Wiggler JTAG and comes in the CD too a program 
to connect GDB to the paralell port (the program is called exmon and can be 
downloaded from the Elaxys site). 
With that baord I tested the ISP program from Philips, and lpc2isp. Then I 
designed my own board, uploaded some firmwares and I am testing right now.
It is now really nice to develop im my board, because I made an ISP header 
that have an ON-OFF switch to power the entirelly board, and another switch 
that puts P0.14 low. And a DB9 caonnector to connect to the computer serial 
port. So, When I power the board with the ISP switch on, I load the firmware. 
Then I power off, turn the ISP switch off, turn the board on and the firmware 
runs, very nice. 
I developed a lot with PIC microcontrollers, using Microchip ICSP but I 
allways had to plug and unplug the ISCP connector, the ISP is just great.
Ah! another neat feature, I use UART1 in my system, and I use UART0 as a 
debug-out (I send bytes like opcodes to show me what the firmware is doing) 
so I use the same serial connection to read these caracters in minicom. 
Really nice...



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: LPC2106 flash utility problem - Michal Krestan - Feb 28 12:39:00 2006

I'm using my own board. I've replaced LPC2106 with another one from second fully
functional board and I had no more problem with booloarer and flash utility. It seems I
had two partly damaged devices. I've replaced two LPC2106 without success and after third
replacement from fully functional board I had no more problems.

            Michal

  ----- Original Message ----- 
  From: mfrazier@mfra... 
  To: lpc2000@lpc2... 
  Sent: Tuesday, February 28, 2006 3:26 PM
  Subject: Re: [lpc2000] LPC2106 flash utility problem
	  Are you using a purchased development board or one that you made yourself? 
  If it's a purchased board, which one is it and who made it?

  Thanks,
  Mike

  [Non-text portions of this message have been removed]
	  SPONSORED LINKS Microcontrollers  Microprocessor  Intel microprocessors  
        Pic microcontrollers
	------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..
	------------------------------------------------------------------------------
	[Non-text portions of this message have been removed]
	


(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )