Reply by Holmesindo June 27, 20122012-06-27
The 2 Jumper My friend. . .


An Engineer's Guide to the LPC2100 Series

Reply by Noman Mahmood June 27, 20122012-06-27
Hi All:
I was developing some software for STM32F0 Cortex-M0 on STM32F0DISCOVERY kit which came with Keil IDE. It was running well with other software I developed, yet with new software it kept on posting the error "No Target Connected". I reinstalled the ST-Link driver again

but still gave the same error. I am at a loss.

I wonder if you could shed some light what is causing it.
Thanks

Best Wishes!
Noman
________________________________
From: rtstofer
To: l...
Sent: Wednesday, March 21, 2012 1:23:01 AM
Subject: [lpc2000] Re: lpc2368 isp circuit


 
--- In l..., arun wrote:
>
> and also the crystal has to be connected... right
>
>  
> Arun
>
>
>

And probably a lot of other stuff if you're talking about a bare chip. There are a lot of required pull-up and pull-down resistors around the JTAG lines. Something is also required around the MCLR' (or nReset or whatever it is called).

Use the schematic to find out what is required. They didn't put all those resistors and capacitors in just for fun. There will be decoupling capacitors at every power pin.

I don't know if the crystal is actually required. Read the User Manual and see if the ISP runs on an internal RC oscillator.

Richard




Reply by Bernardo Marques March 21, 20122012-03-21
Hello Arun,

If you're planning to make a pcb on your own you should take a look at the
uController user manual and datasheet, you'll find there the resistors
you'll need, capacitors and crystal. Take a look at other pcb schematics
(from Olimex, from Keil and others) and understand what others have done
and what for, if you don't know what a specific IC is for just get its
datasheet and read it, you'll find out what a lot of resistors and
capacitors are for. After that, when you're able to look at a pcb and know
with one quick glance which components are the ones for ISP and which are
for clock and power then do your own pcb. The first one won't work, try and
do another one and with luck your second may.

I'm sorry to tell you this but you won't be able to do a pcb if you need to
ask what resistors you need and where to place them. There is plenty of
information on that you just need to read it. Many of us did several pcbs
for several different uControllers but I can assure you that none just
asked which components were needed for the pcb and where to place them.
Study first, learn, and then just do it. If you need help on something
specific ask it, we'll be glad to help you, but a question like 'how can I
make a whole pcb?' without knowing which resistors are needed and crystal
and decoupling capacitors is a wrong question and you won't get an answer
that will make you capable of drawing a pcb.

The answer to the question about JTAG you asked is in the LPC manual, if
you're planning to make a pcb you should have already taken a look at it
and not need to ask the question.

Rebards,
Bernardo.

On Wed, Mar 21, 2012 at 12:53 PM, arun wrote:

> **
> making a pcb for a bare chip is my plan.... what else is possible??
>
> are the resistors around jtag required if im not going to use jtag?
>
> ...
>
> the max circuit, circuit to power up the controller, pull up resistors,
> capacitors and crystal.....
>
> anything else that is essential?
> Arun
>
>
>
>
>


Reply by arun March 21, 20122012-03-21
making a pcb for a bare chip is my plan.... what else is possible??

are the resistors around jtag required if im not going to use jtag?

...

the max circuit, circuit to power up the controller, pull up resistors, capacitors and crystal.....

anything else that is essential?

Arun



Reply by rtstofer March 21, 20122012-03-21
--- In l..., arun wrote:
>
> and also the crystal has to be connected... right
>
>
> Arun
>
>
>

And probably a lot of other stuff if you're talking about a bare chip. There are a lot of required pull-up and pull-down resistors around the JTAG lines. Something is also required around the MCLR' (or nReset or whatever it is called).

Use the schematic to find out what is required. They didn't put all those resistors and capacitors in just for fun. There will be decoupling capacitors at every power pin.

I don't know if the crystal is actually required. Read the User Manual and see if the ISP runs on an internal RC oscillator.

Richard

Reply by arun March 21, 20122012-03-21
and also the crystal has to be connected... right


Arun



Reply by rtstofer March 20, 20122012-03-20
--- 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

Reply by arun March 20, 20122012-03-20
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



Reply by arun March 20, 20122012-03-20
thanks

Arun



Reply by Phil Young March 19, 20122012-03-19
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