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

ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am
HenryLaf
Mon Apr 22 2024, 03:50 pm
bleradrar
Mon Apr 22 2024, 06:38 am
ppu-pro_ka
Sun Apr 21 2024, 07:39 pm
Infewow
Sun Apr 21 2024, 06:30 pm
HumanTak
Sun Apr 21 2024, 12:26 pm