Programming LPC2106
2004-05-05 by Beeno Rabbit
Yahoo Groups archive
Index last updated: 2026-04-28 23:31 UTC
Thread
2004-05-05 by Beeno Rabbit
Dear ALL, I am using Philips software program to download the HEX code to LPC2106 via COM2, 9600. However, the warnimg message "can't communicate with the hardware" appeared on the screen. Is it necessary to download the loader to the LPC2106 before programming? Best Regards, Beeno
2004-05-05 by Robert Adsett
At 11:39 PM 5/5/04 +0800, you wrote:
>I am using Philips software program to download the HEX code to LPC2106
>via COM2, 9600.
>However, the warnimg message "can't communicate with the hardware"
>appeared on the screen.
>Is it necessary to download the loader to the LPC2106 before programming?
No, the download/boot is contained in a protected area of flash. That
error suggests it doesn't get the autobaud response back from the LPC. You
do have the programming pin pulled low?
What hardware are you using and how do you have it set up?
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, III2004-05-05 by Beeno Rabbit
----- Original Message -----From: Robert AdsettSent: Wednesday, May 05, 2004 11:54 PMSubject: Re: [lpc2000] Programming LPC2106At 11:39 PM 5/5/04 +0800, you wrote:
>I am using Philips software program to download the HEX code to LPC2106
>via COM2, 9600.
>However, the warnimg message "can't communicate with the hardware"
>appeared on the screen.
>Is it necessary to download the loader to the LPC2106 before programming?
No, the download/boot is contained in a protected area of flash. That
error suggests it doesn't get the autobaud response back from the LPC. You
do have the programming pin pulled low?
What hardware are you using and how do you have it set up?
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
2004-05-05 by leon_heller
--- In lpc2000@yahoogroups.com, "Beeno Rabbit" <beenorabbit@u...> wrote: > Hi Robert, > > Yes, I got the prograimming pin (ISP) pulled low. I just connect the PC's TX and RX to the > uP's TX and RX. You have got Tx-Rx and Rx-Tx? Leon
2004-05-05 by Robert Adsett
At 01:13 AM 5/6/04 +0800, you wrote:
>Yes, I got the prograimming pin (ISP) pulled low. I just connect the PC's
>TX and RX to the
>uP's TX and RX.
I think the next step would be to use a simple terminal program to and
oscilloscope to debug your hookup.
Make sure the ISP line stays low during (and past) reset.
Take a look at the characters transmitted from the PC through the level
translator to the micro. Follow the negotiation sequence from the user
manual and make sure that the micros response appears at the micro and
makes it back through the level translator to the PC. You should be able
to step through the first few steps of the serial connect by hand. Once
that works then the Philips program should work w/o any problem.
The problem could be as simple as a bad serial port or cable.
" '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, III2004-05-05 by clapper
I don't know if this is useful or not, but when building our flash cable for our device, we were advised to not hook a cable directly from the pc to the lpc because of the higher voltage (5v). Our designer was concerned that we'd fry the part, even though (I think) the docs say the lpc is tolerant to 5v (at least some pins). All the board designs we looked at with the lpc all had the max3232 transceiver in between the cable and the lpc. Instead of putting this in our board, we put it in a makeshift cable. It's been working fine. I don't know if the voltage could, should or would be a factor in this case, but I throw it out there anyway. bc ---
2004-05-05 by Robert Adsett
At 11:04 AM 5/5/04 -0700, you wrote:
>I don't know if this is useful or not, but when building our flash
>cable for our device, we were advised to not hook a cable directly
>from the pc to the lpc because of the higher voltage (5v). Our
>designer was concerned that we'd fry the part, even though (I think)
>the docs say the lpc is tolerant to 5v (at least some pins).
You definitely should not hook up the serial port directly to the micro.
+/-12V on those pins is well within the expected range from serial
ports. I would not expect the micro to be very happy with those voltages.
>All the board designs we looked at with the lpc all had
>the max3232 transceiver in between the cable and the lpc. Instead of
>putting this in our board, we put it in a makeshift cable. It's been
>working fine.
I'm just finishing up testing on a board that provides that link to a
standard 8 pin header (there was an earlier discussion on the header see
http://www.open-research.org.uk/ARMuC/index.cgi?Standard_ISP_Header for a
description) as well as a few other niceties. Should be inexpensive and
more reliable than a one-off.
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