2.8" touch screen-unknown driver chip 0

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Re: 2.8" touch screen-unknown driver chip 0

Postby adafruit_support_bill » Fri May 04, 2012 1:31 pm

The main libraries folder should only contain what was in the original Arduino installation. All libraries that you download yourself should go in the sketchbook library folder.

Using Adafruit 2.8 inch TFT Arduino Shield Pinout

It still thinks it is using the shield pinout. Make sure you have only one copy of the TFTLCD library and that it has been edited to not use the shield pinout.
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Re: 2.8" touch screen-unknown driver chip 0

Postby walterstx » Mon May 07, 2012 11:34 am

Adafruit Support

Any suggestions?
walterstx
 
Posts: 13
Joined: Tue May 01, 2012 12:28 pm

Re: 2.8" touch screen-unknown driver chip 0

Postby adafruit_support_bill » Mon May 07, 2012 11:51 am

Any suggestions?

Nothing more than has already been said: Make sure you have only one copy of the TFTLCD library and that it has been edited to not use the shield pinout. Clearly the compiler is finding "#define USE_ADAFRUIT_SHIELD_PINOUT" during compilation.

If you can't fix it in the library, you can always wire up the breakout using the shield pinouts.
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Re: 2.8" touch screen-unknown driver chip 0

Postby walterstx » Mon May 07, 2012 12:57 pm

Where can I find the shield pinout information?
walterstx
 
Posts: 13
Joined: Tue May 01, 2012 12:28 pm


Re: 2.8" touch screen-unknown driver chip 0

Postby walterstx » Mon May 07, 2012 2:20 pm

Works fine using the shield pinout.

Thanks.
walterstx
 
Posts: 13
Joined: Tue May 01, 2012 12:28 pm


Re: 2.8" touch screen-unknown driver chip 0

Postby ISayGoodDaySir » Wed Dec 26, 2012 2:41 pm

I am getting the same issue.. I am using the 2.8" touch Shield with Arduino Uno and as i am trying to use any of the examples(Graphical, paint shield, etc...) I am getting the error"

Unknown LCD driver chip: 0

I do not know the next step to take.. Please let me know if anyone has any ideas.
ISayGoodDaySir
 
Posts: 1
Joined: Wed Dec 26, 2012 2:39 pm

Re: 2.8" touch screen-unknown driver chip 0

Postby pburgess » Wed Dec 26, 2012 2:54 pm

Good Day - Could you please try downloading and installing this earlier version of the library, see if that helps?

https://github.com/adafruit/TFTLCD-Libr ... 5263787d1f

If that works, then I have bugs to hunt in the current library. If that still doesn't fix it, the shield is defective and we'll issue a replacement. Please let me know either way, thanks!
User avatar
pburgess
 
Posts: 1408
Joined: Sun Oct 26, 2008 1:29 am

Re: 2.8" touch screen-unknown driver chip 0

Postby RobertCL » Wed Jan 02, 2013 5:01 pm

Hi,

I'm having a similar problem with the 2.8" TFT Touch Screen shield. I'm using an Arduino Uno. Adafruit_TFTLCD.h contains the line "#define USE_ADAFRUIT_SHIELD_PINOUT". But when I start the graphicstest example I get the following output on the serial monitor:

Code: Select all
TFT LCD test
Using Adafruit 2.8" TFT Arduino Shield Pinout
Unknown LCD driver chip: 5555
If using the Adafruit 2.8" TFT Arduino shield, the line:
  #define USE_ADAFRUIT_SHIELD_PINOUT
should appear in the library header (Adafruit_TFT.h).
If using the breakout board, it should NOT be #defined!
Also if using the breakout, double-check that all wiring
matches the tutorial.


I'm using the latest 1.0.3 Arduino IDE. Here is the output from a verbose build. Any ideas what to try next?

Thanks,
Rob.

Code: Select all
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCD C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\graphicstest.cpp -o C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\graphicstest.cpp.o
graphicstest.pde: In function 'void setup()':
graphicstest.pde:48: warning: only initialized variables can be placed into program memory area
graphicstest.pde:51: warning: only initialized variables can be placed into program memory area
graphicstest.pde:61: warning: only initialized variables can be placed into program memory area
graphicstest.pde:63: warning: only initialized variables can be placed into program memory area
graphicstest.pde:65: warning: only initialized variables can be placed into program memory area
graphicstest.pde:67: warning: only initialized variables can be placed into program memory area
graphicstest.pde:69: warning: only initialized variables can be placed into program memory area
graphicstest.pde:70: warning: only initialized variables can be placed into program memory area
graphicstest.pde:71: warning: only initialized variables can be placed into program memory area
graphicstest.pde:72: warning: only initialized variables can be placed into program memory area
graphicstest.pde:73: warning: only initialized variables can be placed into program memory area
graphicstest.pde:74: warning: only initialized variables can be placed into program memory area
graphicstest.pde:80: warning: only initialized variables can be placed into program memory area
graphicstest.pde:82: warning: only initialized variables can be placed into program memory area
graphicstest.pde:86: warning: only initialized variables can be placed into program memory area
graphicstest.pde:90: warning: only initialized variables can be placed into program memory area
graphicstest.pde:94: warning: only initialized variables can be placed into program memory area
graphicstest.pde:98: warning: only initialized variables can be placed into program memory area
graphicstest.pde:102: warning: only initialized variables can be placed into program memory area
graphicstest.pde:106: warning: only initialized variables can be placed into program memory area
graphicstest.pde:109: warning: only initialized variables can be placed into program memory area
graphicstest.pde:113: warning: only initialized variables can be placed into program memory area
graphicstest.pde:117: warning: only initialized variables can be placed into program memory area
graphicstest.pde:121: warning: only initialized variables can be placed into program memory area
graphicstest.pde:125: warning: only initialized variables can be placed into program memory area
graphicstest.pde:129: warning: only initialized variables can be placed into program memory area
graphicstest.pde: In function 'void progmemPrint(const char*)':
graphicstest.pde:385: warning: suggest parentheses around assignment used as truth value
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\AdafruitGFX\glcdfont.c.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\AdafruitGFX\Adafruit_GFX.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\TFTLCD\Adafruit_TFTLCD.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\WInterrupts.c.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\wiring.c.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\wiring_analog.c.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\wiring_digital.c.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\wiring_pulse.c.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\wiring_shift.c.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\CDC.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\HardwareSerial.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\HID.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\IPAddress.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\main.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\new.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\Print.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\Stream.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\Tone.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\USBCore.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\WMath.cpp.o
  Using previously compiled: C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\WString.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\WInterrupts.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\wiring.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\wiring_analog.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\wiring_digital.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\wiring_pulse.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\wiring_shift.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\CDC.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\HardwareSerial.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\HID.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\IPAddress.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\main.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\new.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\Print.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\Stream.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\Tone.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\USBCore.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\WMath.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\WString.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-gcc -Os -Wl,--gc-sections -mmcu=atmega328p -o C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\graphicstest.cpp.elf C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\graphicstest.cpp.o C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\AdafruitGFX\glcdfont.c.o C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\AdafruitGFX\Adafruit_GFX.cpp.o C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\TFTLCD\Adafruit_TFTLCD.cpp.o C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\core.a -LC:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp -lm
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\graphicstest.cpp.elf C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\graphicstest.cpp.eep
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-objcopy -O ihex -R .eeprom C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\graphicstest.cpp.elf C:\Users\robert\AppData\Local\Temp\build3219237847226956831.tmp\graphicstest.cpp.hex
Binary sketch size: 19,312 bytes (of a 32,256 byte maximum)
RobertCL
 
Posts: 4
Joined: Wed Jan 02, 2013 4:52 pm

Re: 2.8" touch screen-unknown driver chip 0

Postby RobertCL » Wed Jan 02, 2013 5:06 pm

I've just tried the earlier version of the library mentioned in the post above and that works ok for me.

Serial Montior output:

Code: Select all
8 Bit LCD test!
Using Adafruit 2.8 inch TFT Arduino Shield Pinout
Found HX8347G
213
3639
219


Build output:

Code: Select all
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\graphicstest.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\graphicstest.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX\utility C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX\glcdfont.c -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\AdafruitGFX\glcdfont.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX\utility C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX\Adafruit_GFX.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\AdafruitGFX\Adafruit_GFX.cpp.o
In file included from C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX\Adafruit_GFX.cpp:17:
C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX\/glcdfont.c:9: warning: only initialized variables can be placed into program memory area
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\AdafruitGFX -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f -IC:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f\utility C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f\Adafruit_TFTLCD.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f\Adafruit_TFTLCD.cpp.o
C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f\Adafruit_TFTLCD.cpp:346: warning: only initialized variables can be placed into program memory area
C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f\Adafruit_TFTLCD.cpp:398: warning: only initialized variables can be placed into program memory area
C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f\Adafruit_TFTLCD.cpp: In member function 'void Adafruit_TFTLCD::drawFastLine(int16_t, int16_t, int16_t, uint16_t, uint8_t)':
C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f\Adafruit_TFTLCD.cpp:145: warning: 'newentrymod' may be used uninitialized in this function
C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f\Adafruit_TFTLCD.cpp:188: warning: 'endy' may be used uninitialized in this function
C:\Users\robert\Documents\Projects\Embedded\Arduino\libraries\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f\Adafruit_TFTLCD.cpp:188: warning: 'endx' may be used uninitialized in this function
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\WInterrupts.c -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\WInterrupts.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\wiring.c -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\wiring.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\wiring_analog.c -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\wiring_analog.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\wiring_digital.c -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\wiring_digital.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\wiring_pulse.c -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\wiring_pulse.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\wiring_shift.c -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\wiring_shift.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\CDC.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\CDC.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\HardwareSerial.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\HardwareSerial.cpp.o
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function 'void store_char(unsigned char, ring_buffer*)':
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\HardwareSerial.cpp:98: warning: comparison between signed and unsigned integer expressions
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function 'void __vector_18()':
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\HardwareSerial.cpp:132: warning: unused variable 'c'
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\HardwareSerial.cpp: In member function 'void HardwareSerial::begin(long unsigned int, byte)':
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\HardwareSerial.cpp:379: warning: unused variable 'current_config'
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\HardwareSerial.cpp: In member function 'virtual size_t HardwareSerial::write(uint8_t)':
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\HardwareSerial.cpp:478: warning: comparison between signed and unsigned integer expressions
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\HID.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\HID.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\IPAddress.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\IPAddress.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\main.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\main.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\new.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\new.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\Print.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\Print.cpp.o
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\Print.cpp: In member function 'size_t Print::print(const __FlashStringHelper*)':
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\Print.cpp:44: warning: '__progmem__' attribute ignored
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\Stream.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\Stream.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\Tone.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\Tone.cpp.o
C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\Tone.cpp:119: warning: only initialized variables can be placed into program memory area
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\USBCore.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\USBCore.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\WMath.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\WMath.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -IC:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino -IC:\Applications\arduino-1.0.3\hardware\arduino\variants\standard C:\Applications\arduino-1.0.3\hardware\arduino\cores\arduino\WString.cpp -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\WString.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\WInterrupts.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\wiring.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\wiring_analog.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\wiring_digital.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\wiring_pulse.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\wiring_shift.c.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\CDC.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\HardwareSerial.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\HID.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\IPAddress.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\main.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\new.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\Print.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\Stream.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\Tone.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\USBCore.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\WMath.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-ar rcs C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\WString.cpp.o
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-gcc -Os -Wl,--gc-sections -mmcu=atmega328p -o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\graphicstest.cpp.elf C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\graphicstest.cpp.o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\AdafruitGFX\glcdfont.c.o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\AdafruitGFX\Adafruit_GFX.cpp.o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\TFTLCDd44a453e17640226cd2ec3248ffe1f5263787d1f\Adafruit_TFTLCD.cpp.o C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\core.a -LC:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp -lm
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\graphicstest.cpp.elf C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\graphicstest.cpp.eep
C:\Applications\arduino-1.0.3\hardware\tools\avr\bin\avr-objcopy -O ihex -R .eeprom C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\graphicstest.cpp.elf C:\Users\robert\AppData\Local\Temp\build5000947726862889991.tmp\graphicstest.cpp.hex
Binary sketch size: 17,420 bytes (of a 32,256 byte maximum)
RobertCL
 
Posts: 4
Joined: Wed Jan 02, 2013 4:52 pm

Re: 2.8" touch screen-unknown driver chip 0

Postby pburgess » Thu Jan 03, 2013 1:35 am

Hi Robert,

Would you mind trying something for me? With the 'newer' (but seemingly broken) library, in any of the example sketches, try forcing the 'identifier' value and see if the sketch then runs normally. i.e. comment out:
Code: Select all
  uint16_t identifier = tft.readID();

and in its place add:
Code: Select all
  uint16_t identifier = 0x7575;

If this helps, then it greatly narrows down the bug hunt!

Much appreciated, thanks!
User avatar
pburgess
 
Posts: 1408
Joined: Sun Oct 26, 2008 1:29 am

Re: 2.8" touch screen-unknown driver chip 0

Postby RobertCL » Thu Jan 03, 2013 12:49 pm

Hi,

Yep, that works ok if I do that. Hardcoding the id to 0x7575 works fine. Using the graphicstest example I get a little demo on the screen and the following output on the serial console. The other examples (rotate and paint) work ok as well.

Looks like you have a problem in your id reading code then :) Though I must admit I cant imagine what because I was trying to port the code over to a netduino and was getting nowhere reading the ID, so I ended up looking at the datasheet and from what I could work out the code should work. Now that I know what sort of chip I have I might keep going with trying to make the netduino code work.

Let me know if there is anything else you want me to test.

Cheers,
Rob.

Code: Select all
TFT LCD test
Using Adafruit 2.8" TFT Arduino Shield Pinout
Found HX8347G LCD driver
Benchmark                Time (microseconds)
Screen fill              449748
Text                     104852
Lines                    645316
Horiz/Vert Lines         55448
Rectangles (outline)     39528
Rectangles (filled)      1260628
Circles (filled)         438908
Circles (outline)        276376
Triangles (outline)      205864
Triangles (filled)       649660
Rounded rects (outline)  118 640
Rounded rects (filled)   1459352
Done!
RobertCL
 
Posts: 4
Joined: Wed Jan 02, 2013 4:52 pm

Re: 2.8" touch screen-unknown driver chip 0

Postby pburgess » Thu Jan 03, 2013 1:36 pm

I think I know the offending line, or close to it. Since my shield doesn't exhibit the symptom, would you be willing to test a few small changes? Also, I'm swamped on another project at the moment, so I hope you're okay using the 'hacked' library in the interim. We'll get to the bottom of this yet!
User avatar
pburgess
 
Posts: 1408
Joined: Sun Oct 26, 2008 1:29 am

Re: 2.8" touch screen-unknown driver chip 0

Postby RobertCL » Thu Jan 03, 2013 3:50 pm

Yes, no worries, happy to test out a few changes. Let me know what needs changing and I'll give it a go.

And yes, I'm fine with just using the id now I know which one to use :)

Cheers,
Rob.
RobertCL
 
Posts: 4
Joined: Wed Jan 02, 2013 4:52 pm

Previous

Return to Glowy things (LCD, LED, TFT, EL) purchased at Adafruit

Who is online

Users browsing this forum: wolfgr and 4 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]
cron