EmbeddedRelated.com
Forums

lpc2368 isp circuit

Started by arun March 19, 2012
hi

i need an isp circuit for lpc2368 with minimum required components in it.....

please help...

An Engineer's Guide to the LPC2100 Series

On Monday 19 March 2012 12:10:27 arun wrote:
> hi
>
> i need an isp circuit for lpc2368 with minimum required components in
> it.....
>
> please help...

http://wiki.openwrt.org/doc/hardware/port.jtag

hairy dairymaid printerport jtag. uses 4 resistors. But requires cable lengths
no longer than 10cm
printerport jtag with lv244/245 used as a level translator and will work with
substantially longer cable as well as with 3.3v only devices.
--
Rgds
JTD
Hello,

Which type do you want, JTAG or UART?
I make use of the UART ISP.
You will only need a serial port (may be usb-serial) a level converter (for 3.3V) and a handfull of resistors of pullup and safety.
The user manual of the controller will tell you more.
Also take a look at: http://www.flashmagictool.com/resources.html

--
Kevin

--- In l..., "arun" wrote:
>
> hi
>
> i need an isp circuit for lpc2368 with minimum required components in it.....
>
> please help...
>

hi

I want the UART circuit...

thanks for reply..

Arun



hi

i want a simple UART isp circuit with only the essential components... Im new to controllers...circuit of mcb2300 is really big one.....
And where exactly to look in the user manual ?

thankU in advance


Arun



--- In l..., arun wrote:
>
> hi
>
> i want a simple UART isp circuit with only the essential components... Im new to controllers...circuit of mcb2300 is really big one.....
>
>
> And where exactly to look in the user manual ?
>
> thankU in advance
>
>
> Arun
>
>
>

Chapter 29 of UM10211 discusses the details. All you need to know is that you will use FlashMagic or lpc21isp. You need to be able to ground p2.10 at reset to get into ISP mode.

Then you need a DB9 connector and a level shifter like the MAX3232. You wire it up like the schematic here:
http://olimex.com/dev/pdf/LPC-P2378.pdf

You only need to worry about R2 and T2 signals on the MAX3232 and you can ignore the stuff that relates to the ISP and Reset jumper headers. These allow you to automate the reset and ground P2.10 stuff but it isn't necessary.

One chip, 4 capacitors and a DB9 connector is all it takes.

Richard

A much simpler solution is just to buy an FTDI cable.

TTL-232R-3V3

I'm using these at over 3MBaud with no problems.

http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm

regards

Phil.

From: l... [mailto:l...] On Behalf Of
rtstofer
Sent: 19 March 2012 18:57
To: l...
Subject: [lpc2000] Re: lpc2368 isp circuit

--- In l... , arun
wrote:
>
> hi
>
> i want a simple UART isp circuit with only the essential components... Im
new to controllers...circuit of mcb2300 is really big one.....
> And where exactly to look in the user manual ?
>
> thankU in advance
>
>
> Arun
>
>
>

Chapter 29 of UM10211 discusses the details. All you need to know is that
you will use FlashMagic or lpc21isp. You need to be able to ground p2.10 at
reset to get into ISP mode.

Then you need a DB9 connector and a level shifter like the MAX3232. You wire
it up like the schematic here:
http://olimex.com/dev/pdf/LPC-P2378.pdf

You only need to worry about R2 and T2 signals on the MAX3232 and you can
ignore the stuff that relates to the ISP and Reset jumper headers. These
allow you to automate the reset and ground P2.10 stuff but it isn't
necessary.

One chip, 4 capacitors and a DB9 connector is all it takes.

Richard



thanks

Arun



Im going to use flash magic..

appart from the max3232 circuit what else is require....

which one in the schematic is the power circuit

Arun



--- In l..., arun wrote:
>
> Im going to use flash magic..
>
> appart from the max3232 circuit what else is require....
>
> which one in the schematic is the power circuit
>
> Arun

On the schematic, just below and slightly to the left of the DB9 connector there is a 100 nF bypass capacitor shown across the 3.3V and Gnd connections to U2 - the 3232 chip. They don't show the pins for power and ground but you can get that from the 3232 datasheet.

All you need to do is get 3.3V to the chip and add the capacitor as close to the chip as possible.

To get into ISP mode, you need to hold P2.10 at gound level while you reset the processor. Then FlashMagic can handle the programming of the device. Once complete, reset the processor WITHOUT holding P2.10 at ground and your code should start.

Richard