SainSmart 2.8" TFT 240x320 and Mega 2560

I am trying to get a SainSmart 2.8 TFT Touchscreen working on a Mege2560 with out the shield.

I have connected the display following the pinout examples in this post

Link to the display on the SS site

I am loading the sketch UTFT_Demo_320x240 example form the UTFT library.

I have changed the model to CTE28 and/or TFT01_28 and get the following results:

The Sketch compiles and uploads fine, but the screen is solid white.

When I re-upload or press the reset button I see the desired displayed graphic for a second then once the mega boots up the display is solid white screen again.

I must have something wrong but I am not sure what.

I know the Mega is communicating with the TFT because the display is there on reset, I am guessing I have something wrong on the power side of the connection but I am not sure what it could be.

I am hoping that someone knows what I have connected wrong based on what changes on restart of the mega.

Thanks in advance for any help you can give

I had the same issue with the Sainsmart 2.4" display.

Here is what I used to get it working.

UTFT myGLCD(ILI9325C,38,39,40,41); UTouch myTouch(6,5,4,3,2);

Use the pin numbers of how you have your wired.

The key for me was the: ILI9325C parameter.

Good luck!

Thanks casey-ryback for the help.

I got my issue solved but did not have time to post, my solution was a wiring problem.

It is working now and I am on to the next phase of the project.