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
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
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
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
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
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