Buffer Overflow Issue

GTT TFT Support

Moderator: Mods

Post Reply
Ashok
LCD Geek
Posts: 21
Joined: Thu Aug 19, 2010 7:43 am
Location: noida
Contact:

Buffer Overflow Issue

Post by Ashok »

Hello!

I got some garbage displaying on screen when I do many write statements one after another. Problem got resolved when I put some delay after each write statement So It seems some buffer overflow issue as it gets time to display things on screen.

Can Anyone tell me how do I set Hardware Control Flow On on Tft and what is the exact Command to do it.

Thanks
Ashok
Ashok Gupta

Ray
Matrix Orbital
Matrix Orbital
Posts: 742
Joined: Thu Dec 13, 2001 4:00 pm
Location: Earth.... I think..
Contact:

Post by Ray »

Hardware flow control is on by default, did you enable it on the pc side of things?

Ashok
LCD Geek
Posts: 21
Joined: Thu Aug 19, 2010 7:43 am
Location: noida
Contact:

Post by Ashok »

How do I do that at PC side?
Ray wrote:Hardware flow control is on by default, did you enable it on the pc side of things?
Ashok Gupta

Ray
Matrix Orbital
Matrix Orbital
Posts: 742
Joined: Thu Dec 13, 2001 4:00 pm
Location: Earth.... I think..
Contact:

Post by Ray »

it depends on what platform and programming language your are working with, hard to tell without more information.

Ashok
LCD Geek
Posts: 21
Joined: Thu Aug 19, 2010 7:43 am
Location: noida
Contact:

Post by Ashok »

Ray wrote:it depends on what platform and programming language your are working with, hard to tell without more information.
I am working In C/C++ using windows XP
Ashok Gupta

Ray
Matrix Orbital
Matrix Orbital
Posts: 742
Joined: Thu Dec 13, 2001 4:00 pm
Location: Earth.... I think..
Contact:

Post by Ray »

Its a property on the DCB structure. Set the fOutxCtsFlow and fRtsControl fields and you should be good to go.

Post Reply