🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16392

Re: WriteFile problems (help me!)

#16392
From: Martin Moeller
Date: Wed, 14 May 2003 18:41
27 lines
2224 bytes
"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: <3ec28dd7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
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>

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 11:51:15 PST
Reply-To: "Martin Moeller" <martin.moeller@moema.it>
From: "Martin Moeller" <martin.moeller@moema.it>
Newsgroups: borland.public.cppbuilder.nativeapi
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>
Subject: Re: WriteFile problems (help me!)
Date: Wed, 14 May 2003 20:41:23 +0200
Lines: 29
Organization: Moe.Ma Italiana Srl
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.45.1.220
Message-ID: <3ec28dd7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1052937687 213.45.1.220 (14 May 2003 11:41:27 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail