Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

design of lpc2129 board - facing problem in ISP

Status
Not open for further replies.

electronicart

Newbie level 5
Newbie level 5
Joined
Dec 10, 2008
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,340
lpc2129 uart

Hello
i have design a lpc2129 board in which i have facing problem in ISP.
while debugging i found the after sending '?' char on serial terminal it send "Synchronized<CR><LF>" properly but after i again send "Synchronized<CR><LF>" back it send garbage value and communicate disturb so ISP couldn't perform can anyone help where is the problem
i am using crystal of 12MHZ and using the max232 chip (notmax3232) where i pulled up the rx line by 10k
 

lpc2129 crp

The Synchronized<CR><LF> is a command in communication for programming through ISP
so if you are getting this it means it is in program mode
check your reset pin whether it is working or not (It should be low for the ic to function)


and then you are getting the garbage value it is due to it is waiting for the next command but you are not properly giving the correct command hence it is giving the wrong command
 

how to access a pin on lpc2129

i have checked that the command is complete but still there is garbage
 

Re: lpc2129 probelm

this type of problem i am facing due to I am programming through some software and the same COM port is been opened by some other software (in Linux)

but other than that I did not get this problem
 

Re: lpc2129 probelm

is there is any relation of max 232 because i am using 5v Vcc to max 232 and the interfaced with LPC2129 directly also i pulled up the tx pin of LPC 2129 by 10k to 5v VCC
so is this ok i do this because i don't have max3232 (3.3v) chip
 

Re: lpc2129 probelm

which software you are using for programming
the generally used is LPC Flash Utility Tool
 

Re: lpc2129 probelm

i want to use LPC Flash Utility Tool
but it show errors, that's why i debug the board to find out the problem
then i test the board in terminal

the crystal value is 11.0592 and the PC cap value is 33Uf
and the uart speed is 9600
after sending "?" char the board respond iwth "Synchronized"
but when i again send the same "Synchronized" string it returs garbage

that's why i think the LPC Flash Utility failed to find the id

please help
 

Re: lpc2129 probelm

you are looking the received things in ASCII
but it communicates using HEX values so try switching to HEX so you can actually see what you are receiving

also firstly do a full erase of the chip
In case the CRP bits are fused they will then be cleared and you can gain full access to the chip
 

Re: lpc2129 probelm

thanks for your help

can u tellme what is the part id of LPC2129 and also tell me how to erase full chip by serial terminal
because i am getting properly response of OK in serial terminal
but the flash utility show wrong part ID
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top