text rendering
Re: text rendering
Soon I hope, just have to fix a few bugs on the new scrolling method. If you commit all your changes to your branch I can make sure my changes will merge cleanly.
Re: text rendering
Doing some late night debugging, noticing two strange things. Firstly, shifting the display line by line somehow induces a one pixel horizontal shift. And more bizarrely, the display runs super fast (10x faster) immediately after being programmed over JTAG, but on reset it reverts to previous speed. I'm confused but I think that means it is bed time 
Re: text rendering
Well, I don't change anyting related to the glcd or any driver files. I am complelty overworking the GUI abstraction layer at the moment 
This shouldn't affect any work of yours.
wtf? But yes, your JTAG does always know when it's time for bed
~ Tectu
This shouldn't affect any work of yours.
Doing some late night debugging, noticing two strange things. Firstly, shifting the display line by line somehow induces a one pixel horizontal shift. And more bizarrely, the display runs super fast (10x faster) immediately after being programmed over JTAG, but on reset it reverts to previous speed. I'm confused but I think that means it is bed time
wtf? But yes, your JTAG does always know when it's time for bed
~ Tectu
Re: text rendering
@Badger,
I suspect some problem with HSE, maybe code is running on HSI @ 8Mhz , that's 9 times slower.
Tectu,
I reworked the text rendering system yesterday, submitted a patch to Badger so that he could make changes to his console work.
Badger has merged my code into his repo right now and fixed my patch as I wasn't able to compile my code while I wrote, some changes were left out. You can have a look at his fork to see the current state of the code.
I'm sure when you merge Badger's work, you'll have a nice clean text rendering function!
For both of you,
And I'm glad to see the interest in my S6D1121 LCD. You know what, I'm using the ditto (same) LCD from the same seller @ ebay! Willing to share my experiences with that LCD so that you can get started quickly. I'll do a separate topic if you'll ask, in the evening when I have a lappie.
Abhishek
I suspect some problem with HSE, maybe code is running on HSI @ 8Mhz , that's 9 times slower.
Tectu,
I reworked the text rendering system yesterday, submitted a patch to Badger so that he could make changes to his console work.
Badger has merged my code into his repo right now and fixed my patch as I wasn't able to compile my code while I wrote, some changes were left out. You can have a look at his fork to see the current state of the code.
I'm sure when you merge Badger's work, you'll have a nice clean text rendering function!
For both of you,
And I'm glad to see the interest in my S6D1121 LCD. You know what, I'm using the ditto (same) LCD from the same seller @ ebay! Willing to share my experiences with that LCD so that you can get started quickly. I'll do a separate topic if you'll ask, in the evening when I have a lappie.
Abhishek
Re: text rendering
I suspect some problem with HSE, maybe code is running on HSI @ 8Mhz , that's 9 times slower.
I thought about exactly the same.
I reworked the text rendering system yesterday, submitted a patch to Badger so that he could make changes to his console work.
Badger has merged my code into his repo right now and fixed my patch as I wasn't able to compile my code while I wrote, some changes were left out. You can have a look at his fork to see the current state of the code.
Awesome! I'll take a look to Badgers current repo. Hope I'll get a request soon
I'm sure when you merge Badger's work, you'll have a nice clean text rendering function!
We'll have a nice clean text rendering function!
For both of you,
And I'm glad to see the interest in my S6D1121 LCD. You know what, I'm using the ditto (same) LCD from the same seller @ ebay! Willing to share my experiences with that LCD so that you can get started quickly. I'll do a separate topic if you'll ask, in the evening when I have a lappie. [/quote]
This sounds good, but I guess the LCD is pretty similar to the other's too. I don't think that we will have any issues. Can you look that you change the GPIO stuff in the S6D1121 driver as I did with the SSD1289 driver?[/quote]
~ Tectu
Re: text rendering
Hmm, in both slow and fast cases, RCC->CR indicates that HSE and PLL are on and ready. I'll try a new crystal later..
Re: text rendering
Tectu wrote: This sounds good, but I guess the LCD is pretty similar to the other's too. I
don't think that we will have any issues.
I'm afraid, you'd have reconsidered your words if you had used this LCD first.
Beware of this little LCD which for me, proved to be a can of worms. Fortunately it won't be for you because I 'disinfected' it.
When I bought this LCD first, the ebay listing showed it to have an 'ILI9325' controller. I noticed differences between the actual board and the photo posted (find them when you get the LCD). So far so good. However when I tried to read the production code, I couldn't. This LCD wouldn't respond to any ILI9325 command. I debugged it for two days, used an LED to make sure data was being latched correctly onto the dataport. It was!
I then contacted tech support. They were quick to send me a new datasheet that said that it is actually S6D1121 controller. I copied down the init sequence with fingers crossed. Again, no display.
I was just about to give up when I took a closer look at the PCB layout and module schematics. Then I found out that... The LCD module supports both 8 bit and 16 bit modes! And no points for guessing that it ships in default 8 bit mode (for good use with Arduino)... It isn't mentioned in the listing either.
[FYI: it is similar to 4 bit mode on a 8- bit HD44780 char LCD, Only the higher 8 bits of interface are used and lower 8 are left unconnected, each 16- bit word is written in two cycles. might be useful in pin-constrained applications]
So I took out my soldering iron and closed jumper J3 on the back of the PCB. After a press on the reset button, the screen was filled in a flash with red colour. Phew! I did it. At last.
I then thanked the tech support guys and requested them to update the listing, which they happily did. The rest is history.
So make sure when you receive that LCD, 'Sod44pin' is written on the PCB, right of the LCD panel, and don't forget to close jumper J3 on the back of the module PCB.
I guess interfacing the LCD shouldn't be a problem now...
Abhishek
Re: text rendering
lol, that sounds pretty bad ass. Thank you for the information with the jumper.
Problems with different controller because of different revisions of these moduls are normal, sadly.
~ Tectu
Problems with different controller because of different revisions of these moduls are normal, sadly.
~ Tectu