Discussion in "ARM Development" started by    Ritesh    May 26, 2009.
Tue May 26 2009, 04:41 pm
#1
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
Tue May 26 2009, 04:52 pm
#2
what baud r u using?
are u using PC com port or usb-serial emu?
try different baud rate.
when using 12 mhz chrystall the baud error increases considerably plus you can use a max baud of 38400 practically.
Tue May 26 2009, 05:26 pm
#3
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 22pf
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
Tue May 26 2009, 05:30 pm
#4
again i found that the host sned "J" to get Prt ID
but chip send some numeric value but gain the LPC Flash Utility Tool sen "J"

so i think it couldn't get the Part ID
Tue Jun 23 2009, 01:13 pm
#5

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



well..don't know why, but... under Linux with lpc2k_pgm, i am using the isp with the speed @ 115200 bauds and it works really well.... using a 14.74 mhz crystal


[ Edited Tue Jun 23 2009, 01:16 pm ]
Tue Jun 23 2009, 02:19 pm
#6
yeh.i got it
actually it was a problem of rs232 chip
i was using the max232 5 v VCC chip
after changing the chip with max3232
it starts working !dance

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

AngeloFoown
Sat Apr 13 2024, 12:17 pm
JamesLex
Sat Apr 13 2024, 05:23 am
RobertWah
Fri Apr 12 2024, 08:01 pm
solar_qcor
Fri Apr 12 2024, 08:38 am
Rosalvascuth
Thu Apr 11 2024, 06:07 am
WilliamAmazy
Wed Apr 10 2024, 10:13 pm
slm_pkPn
Wed Apr 10 2024, 08:43 pm
LaurenBramn
Wed Apr 10 2024, 02:08 pm