![]() |
Forum Index : Microcontroller and PC projects : GUI TEST LCDPANEL on 100pinner
Author | Message | ||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
Hi, Has anyone out there got the potential to set up a 100pin MM+ connected to an ILI9341. If so, can you kindly run GUI TEST LCDPANEL. On two set-ups here I get the circles appear for about 3 seconds and then the screen goes blank (white with backlight showing). Total loss of any screen control so have to reset. I have Touch set-up too, and the configurable pins for TFT and Touch are 47, 48, 49, 50, & 52. Have tried TFT set to both 5v and 3v3. All other tests and usage of the screen appears to work ok (including LOAD IMAGE ![]() Any feedback would help very much . . . . Thanks, WW |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
I am really needing some help from anyone with a 100pin MM+ with an ILI9341 TFT AND an SD card & socket. I can consistently recreate the error here but need confirmation from someone else too so that I can determine if it is a 'local' issue, or a firmware issue. Have been at it for more than 48hours so high chance it is me doing something silly!!! ![]() If you are able to help, you will need: 100pin MM+ latest Beta ILI 9341 TFT with ALL pins connected Touch pins connected SD socket connected WITH both Card Detect AND Write Protect pins configured No program in MM+ memory, and no LIBRARY either. Just the various hardware above is configured and the touch is calibrated. I also have OPTION KEYBOARD US set; and AUTORUN OFF. NOTE: I am using a USB-to-TTL adaptor but this should not be causing the issue. TEST 1: Power up everything with an SD card inserted. At command prompt type: OPEN "filename$" FOR OUTPUT AS #1 (replacing "filename$" with an appropriate filename) Do you get a message warning the card is Write Protected no matter what position the Card's 'Lock' switch is in? The Write protect function works fine for normal program saving implying it is not a hardware issue. TEST 2: REMOVE Power from MM+, then re-apply power (DO NOT DO A RESET as power must be newly applied for this test!) Insert an SD card with some files on it if not already in THIS IS IMPORTANT. DO NOT TYPE FILES OR ANYTHING ELSE. Simply remain at the command prompt! Type GUI TEST LCDPANEL Wait a few seconds and see if the 'circles' continue to be drawn. TEST 3: Only needed if the circles stopped in TEST 2 Repeat Test 2 but without an SD card inserted. You will need to remove power, and then re-apply it - this step cannot be missed. Do the circles now continue ok? . . . . TEST 4: Only needed if the circles stopped in TEST 2 Repeat TEST 2 BUT before typing GUI TEST LCDPANEL, type FILES. Do the circles continue this time? I really appreciate anyone taking the time to try any of the above. Any questions then please do post them . . . . THANKS EVERYONE ![]() WW |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1993 |
I have a SnadPic board (100 pin) and my backboards for the displays just arrived. As soon as I can get one assembled I will test, maybe a couple of days though. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
Thanks palcal - much appreciated |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1993 |
Ok wired up the ILI9341 display to the 100 pinner. Configured the panel OK, configered touch and calibrated the screen. When I type GUI TEST LCDPANEL I get an error of INVALID COMMAND. Paul Edit Hold the phone... I have a wrong pin connected Edit again... Disregard that, all pins check out OK. So why the error. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1993 |
Got it up and running and configured everything OK. Sent text to the screen OK. Was testing SD card but lost connection with TeraTerm and couldn't get it back. Whilst unplugging USB I noticed SD card very hot. This is a SnadPic board so must be wired correctly and I changed the CS pin from 18 to 22 as per Manual. I tried connecting to another computer, no go until I removed the SD card. I put the SD card back in an Explore64 board that has been running on the bench for over a week, no go, and now the Xplore64 board is no go. I must have cooked the SD card So for the moment I'm stuffed. Paul. Edit.. SnadPic board is still OK. I reprogrammed the Xplore64 and it programmed Ok but it won't connect to the serial port, must have cooked something there. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Hi Phil, I tested with a SnadPic board. My configuration is: You gave the pin numbers but not which one went where! The on-board SDcard holder is micro and doesn't have write-protect. Everything appears to run happily here with my configuration. I can swap the pins around if you want me to test another configuration. I can also connect up a 'fake' WP pin when I have your pin allocations. Jim VK7JH MMedit |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
Thanks guys for your help. @palcal Sorry to hear about your issues. Do let us know what the initial problems were caused by if thats ok (even if it was a wiring issue - this could be useful diagnostic information for future 'issues') Hopefully you will resolve things and be in a position to test. @TassyJim OPTION LCDPANEL ILI9341,L,49,50,52 OPTION TOUCH 48,47 OPTION SDCARD 6,7,8 (OPTION KEYBOARD US) On the SD socket(s) I have here, the WP pin is open-ciruit when a write protected card is inserted; and to ground at all other times. This is opposite to the manual but this point has been raised here on another thread (and Geoff has acknowledged this for the next Beta). That said, I can simulate the WP as per current manual but still have the two issues. Thanks to you both for taking your time to help me . . . ![]() |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1993 |
OK, the problem was a faulty SD card, I bought some new cards and the 100 pin SnadPic is working fine with V4.7b37. I loaded a program and it runs and touch is working. If I remove the program and type GUI TEST LCDPANEL I get an error INVALID COMMAND. I went back to b32 and still get the error. GUI TEST TOUCH works OK. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
@Paul In Beta 36, the GUI TEST DISPLAY command was changed to GUI TEST LCDPANEL. so for beta 32 use the old version GUI TEST DISPLAY @Phil I reconfigured with the following: OPTION LCDPANEL ILI9341,RL,49,50,52 OPTION TOUCH 48,47 OPTION SDCARD 14,7,8 I couldn't change the SDcard CS pin. I tried your tests and couldn't fault it. The WP gave an error with the pin open and write OK with the pin grounded. Jim VK7JH MMedit |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
Jim - thanks for confirming this. I need to make 100% sure that when you first apply power to the MM+, and type GUI TEST LCDPANEL then the circles continue? In this test it is so important NOT to type any SD card function first (such as FILES or LOAD IMAGE). I have a new TFT arriving today, and have tried enough SD cards (& sockets) to convince myself it is not an SD issue. ALL other components (and cables) have been replaced so hopefully the TFT is the culprit here. I will try using pin 14 instead of pin 6 - long shot, but hey, worth trying at this stage!! Thanks again. WW @palcal - as Jim says, DISPLAY changed to LCDPANEL recently so B32 needs GUI TEST DISPLAY ![]() |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Correct. GUI TEST LCDPANEL as the first command and the circles continue Jim VK7JH MMedit |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1993 |
Forgot to clear the cache. There is HTML code that can be added to web pages to stop them being cached but don't know if it works on downloads. Paul. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
WarwickG Newbie ![]() Joined: 09/11/2015 Location: New ZealandPosts: 5 |
I have had the same problem with an Explore64 using V4.7 B37 and a 7" SSD1963 panel even after exhaustive trial and error. I initially thought that my power supply was not up to the job, when I checked total supply current was 520ma and was well within capability. I have put the problem aside for now! |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
Hi Warwick, Please can you explain more as to the exact problem you had! Thanks ![]() I am beginning to think that SD cards are playing a part with my recent issues that I am seeing. MatherP convinced me that my 'pixelated tiger' issue (LOAD IMAGE) was down to the non SDHC card that I was using but I have since had a variety of 'random' results with a selection of different SD cards - some will pixelate, others won't. The current issue with 'stopping circles on GUI TEST LCDPANEL' has a 'working time' that varies with different cards. But the same card gives a 'consistent' time before failure. Perhaps some SD cards are impacting the SPI bus somehow? Some new TFTs turned up yesterday from a different supplier so it is on my to-do list to try these to see if I have some rogue TFTs. WW |
||||
WarwickG Newbie ![]() Joined: 09/11/2015 Location: New ZealandPosts: 5 |
Hi After I had configured my 7" SSD1963 panel using OPTION LOAD SSD1963_7A, L command (backlight cofigured to "1963-PWM" mode) when I ran GUI TEST DISPLAY I the panel displayed the coloured circles for only a few seconds then the backlight dimmed and circle display vanished, along with the backlighting. With the Explore64 I have had no problems writing/accessing SD card. Still cannot connect via USB (Win10). I am also on the verge of sourcing another panel WarwickG |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |