lpc2129 problem
Discussion in "ARM Development" started by Ritesh May 26, 2009.
Tue May 26 2009, 04:41 pm
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
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
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.
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
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
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
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
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
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
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
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
Powered by e107 Forum System