• AVR Freaks

Getting Problem in Graphic PICtail board

Author
vipul
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2009/06/27 01:15:26
  • Location: India
  • Status: offline
2009/06/27 01:45:45 (permalink)
0

Getting Problem in Graphic PICtail board

Hello,

I am using Explorer 16 development board and Graphics PICtail Plus Board(Version 2).
I have MPLAB v 8.33 and Microchip  Graphic library v1.60.
I am connecting connector J1 of Graphics PICtail Plus board and J9 of Explorer 16 board.

I am loading example code from library to the PIC24FJ128GA010 using MPLAB ICD2.

But the OUTPUT i am getting is only Blank White Screen.

so please tell me where should be the problem..

I have also checked connection between two board and they are perfect...

Thank you..
  
#1

6 Replies Related Threads

    BruceTElliott
    Super Member
    • Total Posts : 836
    • Reward points : 0
    • Joined: 2006/08/08 08:14:43
    • Location: Germany
    • Status: offline
    RE: Getting Problem in Graphic PICtail board 2009/06/27 02:48:36 (permalink)
    0
    Blank screen often means that the wrong graphics driver is loaded. Are you programming the original .hex from MCHP? For example, the right .hex for the "Graphics AN1246" example would be "AN1246Demo PIC24 PICtail 2.hex" for your baord, not the PICtail 3.hex.

    If you are compiling the sources, be aware that the examples from Microchip currently use Version 3by default. You have to change this in the GraphicsConfig.h file.

    In the Microchip directory for the examples, there is a help subdirectory with a help file for graphics, ehich explains how to set up each board for the examples.
    #2
    vipul
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2009/06/27 01:15:26
    • Location: India
    • Status: offline
    RE: Getting Problem in Graphic PICtail board 2009/06/27 05:14:42 (permalink)
    0
    Thanks for reply.

    I am progamming original .hex like AN1136Demo PIC24 PICtail 2.hex,AN1182Demo PIC32 PICtail 2.hex,AN1227Demo PIC32 PICtail 2.hex,AN1246Demo PIC24 PICtail 2.hex.

    Though I have also changed Version 2 in place of 3 in GraphicsConfig.h file,I am getting white screen.

    And other thing,in GraphicsConfig.h file they have define LGDP4531 if the  GRAPHICS_PICTAIL_VERSION is 2 like

    #elif (GRAPHICS_PICTAIL_VERSION == 2)

    #define DISPLAY_CONTROLLER      LGDP4531
    #define DISP_HOR_RESOLUTION    240
    #define DISP_VER_RESOLUTION    320
    #define COLOR_DEPTH                16
    #define DISP_ORIENTATION         90
     
    But on my GRAPHICS_PICTAIL board Display controller is SSD1906.

    So i am writing  like

    #elif (GRAPHICS_PICTAIL_VERSION == 2)

    #define DISPLAY_CONTROLLER           SSD1906
    #define DISPLAY_PANEL                   TFT_G240320DTSW_118W_E
    #define DISP_HOR_RESOLUTION         240
    #define DISP_VER_RESOLUTION         320
    #define COLOR_DEPTH                     16
    #define DISP_ORIENTATION               0
    #define DISP_HOR_PULSE_WIDTH       24
    #define DISP_HOR_BACK_PORCH         8
    #define DISP_HOR_FRONT_PORCH       0
    #define DISP_VER_PULSE_WIDTH        4
    #define DISP_VER_BACK_PORCH         0
    #define DISP_VER_FRONT_PORCH       0

    But again I am getting blank black screen but not white.
    post edited by vipul - 2009/06/27 05:47:16
    #3
    KerHoet
    New Member
    • Total Posts : 4
    • Reward points : 0
    • Joined: 2009/05/19 00:23:54
    • Location: 0
    • Status: offline
    RE: Getting Problem in Graphic PICtail board 2009/06/27 19:42:52 (permalink)
    0
    I met the same problem several days ago. Even after programming the original .hex file the screen was still white.
    Finally, I used a rubber to clean the connexion between the boards.
    It is now working well. I guess you also have this connexion problem.
     
     
    #4
    BruceTElliott
    Super Member
    • Total Posts : 836
    • Reward points : 0
    • Joined: 2006/08/08 08:14:43
    • Location: Germany
    • Status: offline
    RE: Getting Problem in Graphic PICtail board 2009/06/28 01:23:49 (permalink)
    0
    But on my GRAPHICS_PICTAIL board Display controller is SSD1906.

    Be careful and reread the help file. The SSD1906 is normally not used to drive the LCD display on Version 2. It is an extra controller that can be used to drive an LCD. This is determined by the jumper JP5 (upper left).
    My version 2 board had a Truly display which used an internal LGDP4531 controller.
    Again - the SSD1906 on the back of the board is an extra controller for experimenting, not the controller for the mounted display.
    It is essential that you reread the graphics help file section about how to set up the board.

    My version 2 board works with the demos with the jumpers set at:
    JP3 - shorted
    JP5 - LCD CS
    JP6 - RB10-Y1
    JP7 - RB11-X1
    JP1 - shorted
    JP2 - shorted
    JP4 - FLASH CS-RD1

    The connections can sometimes also be a problem. Another problem could be a weak power supply. Check that you have 9V on the Explorer16 board jack.
    post edited by BruceTElliott - 2009/06/28 01:27:28
    #5
    vipul
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2009/06/27 01:15:26
    • Location: India
    • Status: offline
    RE: Getting Problem in Graphic PICtail board 2009/07/03 22:47:25 (permalink)
    0
     
    Hi Bruce,
     
    Thanks for reply..
    I have rechanged the code for internal LGDP4531 controller.
    and also checked connection and power supply.All the connection are ok.
    But still i am getting blank white screen.
     
    I have also connect Graphics PIC tail Plus board with the PCB made by us,but the output is same...
     
    One more thing,when we recieve the new boards of Explorer 16 and Graphics PICtail Plus board and interfaced them they worked fine.But after it we done several connection and experiments on Explorer 16.And now when we reconnect 2 board after several days it gives no output...
     
    So i can not understand what is the problem...
     
    #6
    BruceTElliott
    Super Member
    • Total Posts : 836
    • Reward points : 0
    • Joined: 2006/08/08 08:14:43
    • Location: Germany
    • Status: offline
    RE: Getting Problem in Graphic PICtail board 2009/07/04 00:26:53 (permalink)
    0
    Sounds very strange. If the original .hex doesn't work, then software and configuration settings can't be the problem. Like many of the examples this one also reads its touch screen calibration from the EEPROM. If those values were totally messed up ....
    You might try holding the S3 button (left most on Explorer16) and then reseting. This forces the program to do a new calibration. If bad values were the problem, then you should see the calibration screen and can recalibrate.
    I'll dig out my Version 2 and have a look at it. I don't recall there being that much that could be changed.
    #7
    Jump to:
    © 2019 APG vNext Commercial Version 4.5