free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Rickey's World :: Discussion Forums :: Discuss and Learn :: ARM Development
 
<< Previous thread | Next thread >>
lpc2129 problem
Moderators: Ajay Bhargav, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph, ExperimenterUK, DavesGarage
Author Post
Ritesh
Tue May 26 2009, 04:11AM
 User Offline
Registered Member #65
Joined: Tue Aug 29 2006, 03:10AM

Posts: 59
Thanked 15 times in 13 posts
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


Back to top

shyam
Tue May 26 2009, 04:22AM

 User Offline

Registered Member #2984
Joined: Mon Aug 06 2007, 11:33AM

Posts: 847
Thanked 136 times in 125 posts
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.

lProgress is not made by early risers or hard workers, but by LAZY people, trying to find easier ways to do the same........
Back to top

Ritesh
Tue May 26 2009, 04:56AM
 User Offline
Registered Member #65
Joined: Tue Aug 29 2006, 03:10AM

Posts: 59
Thanked 15 times in 13 posts
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
Back to top

Ritesh
Tue May 26 2009, 05:00AM
 User Offline
Registered Member #65
Joined: Tue Aug 29 2006, 03:10AM

Posts: 59
Thanked 15 times in 13 posts
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
Back to top

Vito.dsk
Tue Jun 23 2009, 12:43AM

 User Offline
Registered Member #18520
Joined: Thu May 14 2009, 03:44AM

Posts: 23
Thanked 0 times in 0 posts
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, 12:46AM ]

---------------------------------------------------------------------------------
--------------------------------------------------
------------------------
Exchanging knowledge makes it possible to keep wonderful this world.
Back to top

Ritesh
Tue Jun 23 2009, 01:49AM
 User Offline
Registered Member #65
Joined: Tue Aug 29 2006, 03:10AM

Posts: 59
Thanked 15 times in 13 posts
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
Back to top

 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems