Go Down

Topic: UTFT_GHL now shipping from CTE!! (Read 25143 times) previous topic - next topic

ghlawrence2000

Mar 08, 2015, 01:17 am Last Edit: Mar 31, 2016, 06:55 pm by ghlawrence2000
In the absence of any form of reply from avr_fred, I would appreciate an answer from anybody that has a coldtears display with font IC please?

I need an image copy of the IC chip to populate my recently fitted blank chip.

Many thanks for any offers of help I might receive.

Regards,

Graham
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

avr_fred

Sorry, I've been disconnected from the world for a while and I forget to check messages. Image is attached, it will be exactly 4mb when unzipped.

If you want the internal structure, let me know, I have it documented somewhere...

ghlawrence2000

Hi Fred!! :D :D 

Thankyou so much!! I literally scoured everywhere thinking it would not be too difficult to find it somewhere, alas no.

If it is not too much of a nuisance, the structure would be useful too.

Best wishes,

Graham
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

Tornado650

Hi,
Thanks for making this available that's a great help.  My spi flash chip arrived today but I fear I've made a blunder if I'm to use this image.  I ordered the largest that Farnell do which was 16mbit.  For this image I think I need 32mbit or 4mByte.  Am I correct and can either of you kind chaps recommend a source.

Thanks

Chris

ghlawrence2000

#4
Mar 11, 2015, 05:03 pm Last Edit: Mar 11, 2015, 05:38 pm by ghlawrence2000
Tornado,

Are you UK based?

And do you like trains? ;)

I ordered the largest that Farnell do which was 16mbit.
You didn't look very hard I am guessing?  :smiley-confuse:

Regards,

Graham
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

Tornado650

Hi Graham,
Not sure i understand.  Yup, i'm in the uk and no expert i just need to get this display working like you.  If you want to know about panel wiring or mechanical engineering i'm your man but for help with arduino i come on here to ask you experts.  I'm restricted to suppliers at work if you're wondering why i mention Farnell.  What does knowing someone called Farnell used to make toy trains say abt us? 

Will you help?

Thanks

Chris

ghlawrence2000

Sorry pal,

If you were a train fan, you would know Tornado was a brand new built steam engine.....

Yes I will help you!!!

Regards,

Graham
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

Tornado650

#7
Mar 12, 2015, 10:06 am Last Edit: Mar 12, 2015, 10:14 am by Tornado650
Hi Graham,
Thanks for your reply that I thought this forum was going the way of the rest of the internet for a while. 

Ah Pete Waterman's Tornado, I see.  No, in my case a heroic failure of an Italian motorcycle from 1969 sold by Cosmopolitan motors in the US as a Benelli.  The vibration from the short stroke engine will make your fillings fall out if you ever top 80mph.  My bike is a euro spec Motobi

http://auldkawasanstuff.blogspot.co.uk/2011_12_01_archive.html

Some questions:

1) I can find all sorts of SPI flash memory available but which is most likely to work with Fred's Coldtears image.  I'm worried about buying the wrong thing again.  The current Coldtears screens are shipping with a 64mbit Winbond chip but that might be incompatible with Fred's image or the imaging software might not cope sending a small image to a large chip.  My best guess would be the 32mbit W25Q32BVSIG Winbond chip sold by Coldtears on fleabay USA.

2) Is there an alternative supplier for this chip?

I have the unmentionable Sainsmart SSD1963 5" screen, it works fine as long as it gets external power but I need to write plenty of text in big fronts to the screen.

I now know I should have popped into Glasgow home of FTDI and picked up an FT800 screen for not much more money. Hindsight sigh.....


Chris


ghlawrence2000

I am going stick my neck out and say I have been in dialogue with Coldtears to see if they would supply the sketch to place the image on the chip. The response was, It is ILLEGAL to copy the Font IC.. So that didn't help.

Has anyone got a sketch that runs on the DUE to do this?

Hennings Spi-Flash util can't do it.

Thanks,

Graham
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

ghlawrence2000

#9
Mar 14, 2015, 05:12 pm Last Edit: Mar 15, 2015, 01:18 am by ghlawrence2000
So since my last post, I have cobbled together something that works on a MEGA2560, and even though my SPI Flash chip (Winbond W25Q128FV) is soldered to a Coldtears DUE TFT shield, I have dupont connected it to the MEGA and performed a successful write ( I THINK ).

I have today written a routine on the Arduino to dump the contents to serial monitor, and had a bit of a random scan through. All the bytes I checked were correct, the next plan is, to write an actual verification routine to check the contents against the source.

If anyone else is following this thread, feel free to say hi, or that you have already done some of this work yourself, or even that you would be interested in what I have so far....

Regards,

Graham

Edit: The routine now writes a page, then verifies it after writing, and the process seems to be successful!!  :smiley-cool:  :smiley-mr-green:
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

ghlawrence2000

#10
Mar 18, 2015, 01:12 pm Last Edit: Mar 18, 2015, 01:24 pm by ghlawrence2000
Just an update for anyone still watching. I now have a routine which is capable of producing a verifiable FontIC. And a modified version of UTFT_CTE that works with CPLD displays!!

Regards,

Graham
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

JohnPrime

Excellent news. Well done!

I'm just a few weeks in to Arduinos and currently having a pig of a job trying to get a Coldtears 320x240 with its shield to display bitmaps from the FontIC (colours inverted).
This should help.

Cheers,

John

ghlawrence2000

#12
Mar 18, 2015, 04:32 pm Last Edit: Mar 18, 2015, 04:33 pm by ghlawrence2000
Welcome to the forums John  :smiley-lol:

Are you familiar with my library, UTFT_SdRaw? If the images you are trying to display were created by Henning's tool, the colour will be inverted, if created by some plug in for your image tool, the colour is correct....... I made a flag in my library to swapping colour is easy. The same principle can be applied to the font IC.

Once you become familiar with how these things work, it is not so hard to invert it yourself.
Code: [Select]
for (x_1 = 0; x_1<w ; x_1++)
for (y_1 = 0; y_1<h ; y_1++)
_UTFT->LCD_Writ_Bus(_SPIread(),_SPIread(),16);


You can do something like this.
Code: [Select]
for (y_1 = 0; y_1<h ; y_1++)
byte one = _SPIread();
byte two = _SPIread();
_UTFT->LCD_Writ_Bus(two, one,16);


Good Luck!

Regards,

Graham

PS. About line 162 ish in UTFT_CTE.cpp
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

JohnPrime

Thanks for the welcome!

Simply I'm running the example in UTFT_CTE which is the library that Coldtears use for their displays (obviously you know this ... :)  ). So I think it's an image they know to be good, and I've either made a newb error or the chip is non-trivially screwed.

There exist three problems with the example, as I run it on a mega2560:
  • The flame-like Coldtears pic displays with inverted colours
  • The icon display (with all the national flags etc) displays with inverted colours
  • The font display doesn't run at all, and halts the program

Colours otherwise display normally --- font colours etc. Also an initial font display which demonstrates the bitstream font in different sizes and colours displays normally (which shows that fonts are recoverable from the winbond chip) but  the subsequent section doesn't. It's not helpful that i don't understand the code (yet!) --lots of stuff about 'buf'.

Coldtears thought that the chip might be corrupt and are sending another. We shall see.

Apols for the hijack; however when I saw the thread title I couldn't resist!

ghlawrence2000

It's funny, while I was modifying the UTFT_CTE library, I found it necessary to use Serial.print commands...... and then when I changed DEMO program, that I had failed to add Serial.begin........... The icons were not displaying and the program appeared to 'hang'.... out of interest...... in setup().... try adding Serial.begin(115200); and try that...

I am using a DUE currently but all of the UTFT stuff is quite well interchangable....

What image number is the flame picture you are talking about? I will report back to you, as I have no idea what is actually ON the font ic....

Regards,

Graham
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

Go Up