Article View: borland.public.cppbuilder.nativeapi
Article #16402Re: WriteFile problems (help me!)
From: MWP
Date: Thu, 15 May 2003 05:32
Date: Thu, 15 May 2003 05:32
35 lines
2491 bytes
2491 bytes
Thanks for the sugestions, but i dont think the LCD has anything to do with the WriteFile not returning problem. Well, i just proved it anyway... the problem still occours if i unplug the LCD from the serial port. "Martin Moeller" <martin.moeller@moema.it> wrote: > >"MWP" <mwp@overclockers.com.au> ha scritto nel messaggio >news:3ec28814$1@newsgroups.borland.com... >> >> Its a: >> http://www.crystalfontz.com/products/633/index.html >> > >That's a module with a standard glass and a lot of add-ons. Such simple >screens have normally build in controllers (if at all), with either 4 bit >parallel or syncro interface (clock+data). All module interface jobs are run >by a cpu on the pcb, using btw a Dallas DS16xx family RTC & Powerfailure >controller. It's presumably quite small, so 19200 baude are a bit >optimistic/at risk. Can you reduce it? Try within 4800. > >> Yup... this is what im doing. >> Although, im not quite sure what the timeout values should be. > >Your timeout should be very high (several seconds, just not to hang there >forever if n characters are not received), but do not 'hammer' on the LCD >controller (try 200ms, i.e. 5/sec). Further, make sure you handle >transmission errors (CE_.. ) properly. > >More than ever convinced it's an LCD's firmware bug. Their performance specs >are too optimistic: slow it down. > >Rgds, Martin > >
Technical Details
Message-ID:
<3ec32651$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ec25f43$1@newsgroups.borland.com> <3ec26129$1@newsgroups.borland.com> <3ec26741$1@newsgroups.borland.com> <3ec2768d$1@newsgroups.borland.com> <3ec28814$1@newsgroups.borland.com> <3ec28dd7@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,9ac30f5163521f9f X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-14 22:37:52 PST From: "MWP" <mwp@overclockers.com.au> Sender: "MWP" <mwp@overclockers.com.au> Reply-To: "MWP" <mwp@overclockers.com.au> Subject: Re: WriteFile problems (help me!) Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 203.16.214.242 203.16.214.242 X-Forwarded-For: unknown, 150.101.77.252 References: <3ec25f43$1@newsgroups.borland.com> <3ec26129$1@newsgroups.borland.com> <3ec26741$1@newsgroups.borland.com> <3ec2768d$1@newsgroups.borland.com> <3ec28814$1@newsgroups.borland.com> <3ec28dd7@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3ec32651$1@newsgroups.borland.com> Date: 14 May 2003 22:32:01 -0700 X-Trace: newsgroups.borland.com 1052976721 207.105.83.65 (14 May 2003 22:32:01 -0700) Lines: 36 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail