New PICDEM2 LCD problem

Discussion of PIC® MCUs.

Postby PCM programmer » Tue Feb 13, 2007 7:52 pm

I'm going to wait until I get my new board later this week. I will then
test it and post the results. I'm not going to post anything before that.
PCM programmer
 

Postby mindstorm88 » Sun Feb 18, 2007 9:12 am

Hello PCM , on friday i received my lcd replacement or should i say a complete picdem2 replacement from Microchip, so before i send back the suspected defective one , i would like to confirm that it is bad!! , is it possible for you to send me by email the recommendation you got from ocular ?? so this way they won't be posted before your own testing !!

Thanks
mindstorm88
 

Postby PCM programmer » Sun Feb 18, 2007 9:25 am

There are two problems.

I ordered one of the new PicDem2-Plus boards from Digikey and it
arrived last Thursday. But when I opened the package I discovered
they had sent me the old-style board (the non "Rohs update" type).
I already have two of those. So I sent the new one back on an RMA
the same day. I 've emailed Digikey to ask if they're going to send
me the Rohs version. No reply yet.

After that happened, I decided to spend some time studying the sample
driver that Ocular tech support gave me. But I found a bug.
Their status routine doesn't return the proper value of the status byte
due to a bug in the way they combine the upper and lower nybbles.
Their routine always returns 0 or 1. So when they test the top bit
for status, it's always "not busy". The execution time of the code
in the status routines probably adds up to about 40 usec with a 4 MHz
crystal, so effectively their driver is doing a fixed delay for "busy".
That's probably why it works. I emailed Ocular about this on Friday
morning but I haven't received a response yet.
PCM programmer
 

Postby mindstorm88 » Tue Feb 20, 2007 11:37 am

Ok , some results !!! new replacement board has exactely same behavior as the other one !!! so the problem is in the lcd design i guess , timing seem to be very sensitive , i tried another program and on power up diplay is missing few first characters , does the same just with a mclr !!!

i hope PCM you'll get yours soon !!! :)
mindstorm88
 

Postby mindstorm88 » Wed Feb 21, 2007 11:19 am

HI PCM , i did add a 5ms delay at the end of the lcd_init() , result no more missing character at power up , this display seems to be slower than standard !!!
mindstorm88
 

Previous

Return to PIC® MCU General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron