Uploading the examples in Adruino Leonardo board

Hi,

I recently bought the Adruino Leonardo board (new to Adruino board) to drive TFT 2.2 LCD from Adafruit.

I have connected the Leonardo board in my laptop which is having Windows 7 32 bit V1.4 OS and i am able to see the com port as (COM20). But when i try to upload the examples like TFTBitmapLogo and TFTDisplayText, I am getting below error after a long wait (nearly 3 to 5 minutes).

** This report would have more information with** ** "Show verbose output during compilation"** ** enabled in File > Preferences.** Arduino: 1.0.6 (Windows 7), Board: "Arduino Leonardo" Binary sketch size: 12,252 bytes (of a 28,672 byte maximum) Found programmer: Id = "B¨«"; type = Software Version = . ; Hardware Version = . avrdude: error: buffered memory access not supported. Maybe it isn't a butterfly/AVR109 but a AVR910 device?

I tried using Dlink USB hub in between Laptop and Leonardo board but still i got the same error.

Please provide a solution to resolve this error and upload the example.

Which version of the "TFT 2.2 LCD from Adafruit" do you have? The current one seems to be http://www.adafruit.com/product/1480

Are you using the Adafruit library? "This is a library for the Adafruit 2.2" SPI display. http://www.adafruit.com/products/1480 " https://github.com/adafruit/Adafruit_ILI9340/tree/master

I don't see the examples TFTBitmapLogo and TFTDisplayText in that library.

Hi John,

Yes. I am using Adafruit 2.2" SPI display.

http://www.adafruit.com/product/1480

The TFTBitmapLogo and TFTDisplayText examples are from Adruino IDE. I tried to upload a example code/program given by Adruino to check at the preliminary level. Since I got the below error, i am not able to proceed further.

avrdude: error: buffered memory access not supported. Maybe it isn't a butterfly/AVR109 but a AVR910 device?

Please help to resolve the error while uploading the example code.

Do you get the same error trying to upload simpler sketches?

Hi,

After i re-installed the Adruino IDE and reset the PC and No other COM port except the Board, I am able to connect and upload the code. But when i upload the examples with TFTBitmapLogo and TFTDisplayText, the current display (2.2 inch LCD display - 1480) Flicker with as shown.

I have copied the logo.bmp in SD card and inserted in Adafruit LCD.

I just used the example code (TFTBitmapLogo) as it is with changes for Leonardo as below,

// pin definition for the Leonardo

define sd_cs 8

define lcd_cs 7

define dc 0

define rst 1

Please let me know, is there anything missing?.

The TFT library included with the Arduino IDE is for the Adafruit 1.8" displays that use the ST7735 controller chip.

The newer 2.2" TFT display from Adafruit uses the ILI9340 controller chip.

You should download, install, and use the Adafruit library for the ILI9340 controller.

Hi,

Thanks John.

I am able to display the image (*.BMP) reading from SD card and display in 2.2 inch LCD using Adruino Leonardo Board connected to PC (via USB cable). Thanks.

I would like to send a .bmp file from a Linux based processor board connected to Adruino Leonardo Board (via USB cable) using a code/program and display the image in 2.2 inch LCD.

Please help to achieve and provide sample code if it is available.