Search found 252 matches

by Mikat
Mon Dec 19, 2011 6:53 am
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

Hi Mika (I have the chip and the display, (but not the flowcode for dspic pro version), so the code could be tested? would you like to post or pm your flowchart, and I will compile to hex for you. Martin Thanks Martin, I'll sent you the flowchart and the component file when I had time. My 3 year da...
by Mikat
Fri Dec 16, 2011 9:49 am
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

Seems that nobody can help about this...
It just would be nice to get the code working with 16 bit devices, before the Flowcode 5 launch...

Mika
by Mikat
Tue Dec 13, 2011 3:46 pm
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

Okay, little update again. Worked the code with 16bit, should be ready, but no change to test it... Ben, do you have change to test it (probably you don't have ssd1289 display..)? The other thing is, that at the moment, code is written by dspic30f4013, or devices which has same pinout, and it works ...
by Mikat
Fri Dec 02, 2011 5:26 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 35748

Re: .Bmp to LCD ??

The API uses 2x8 bit, because the code is written at 8 bit device, so the port width is 8bit.. But like I said, the impact of the speed is little, but the color conversion it useless, that was the point, and it should be easy to get rid of it (the code what I tested was done quickly at midnight, so ...
by Mikat
Fri Dec 02, 2011 2:53 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 35748

Re: .Bmp to LCD ??

Hi. In the display, best option is read the pixel color information directly 2 x 8 bit variables, which can be directly put in the sent data macro... So therefore those color conversions are useless... Now the code does lot of extra work, it reads the color 2x8bit at the sd card, then converts it to...
by Mikat
Fri Dec 02, 2011 2:11 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 35748

Re: .Bmp to LCD ??

Hi. The problem is that the spi bus stays at the 4MHz that way, so the chip runs faster, but the spi and sd card don't, so the speed boost is not big... Chris, what kind hardware do you have? Just think that if you have the sd card on different pcb, the 16MHz is quite lot via wires... I am not sure,...
by Mikat
Fri Dec 02, 2011 11:09 am
Forum: Flowcode V4
Topic: Fat component speed.
Replies: 2
Views: 2288

Re: Fat component speed.

Hardware, the chancing it to hw mode has given double speed what I heard, but its still slow... I know that the 320x240 16 bit bmp is big, over 100KBytes... But what I have read at the microchip forums, over 100Kbytes/sec should be possible transfer speed... But there seems to be some kind of proble...
by Mikat
Fri Dec 02, 2011 9:39 am
Forum: Flowcode V4
Topic: Fat component speed.
Replies: 2
Views: 2288

Fat component speed.

Hi everybody. Ill post this problem at the FC4 forum too (the topic is at the fc2/3 forum, but I think this is something which related to ssd1289 tft code pretty closely), because this is is probably the most looked flowcode forum.. I am trying to help Chris to get bmp image to tft display, and ever...
by Mikat
Wed Nov 30, 2011 4:50 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 35748

Re: .Bmp to LCD ??

Nice.
That is was talking, when I asked about the pixel orientation... I am good to be unclear... :D
by Mikat
Wed Nov 30, 2011 4:09 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 35748

Re: .Bmp to LCD ??

Yep, I think I understood.. My question was the code which was in that topic, I am trying to write as fast as possible code to show that bitmap... But it seems that the bitmap is already in RRRRRGGGGGGBBBBB format in the sdcard (this isn't my project, I am just trying to help), so all I have to do i...
by Mikat
Wed Nov 30, 2011 12:22 pm
Forum: Flowcode V2 & V3
Topic: .Bmp to LCD ??
Replies: 52
Views: 35748

Re: .Bmp to LCD ??

Hi Jonny. I am looking that code too, because th ssd1289 code I written by me, and I am trying to code it show that bmp pic fast as possible, so could you tell me the fastest way to convert that bmp color format to 2 bytes rgb, the format should be byte1 RRRRRGGG and byte2 GGGBBBBB, after that the d...
by Mikat
Tue Nov 29, 2011 3:11 pm
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

Maybe in the Christmas holiday I had time to check little bit of that speed difference at high clock, but I don't see it very important, because it occurs above the max speed... Now maybe the next project is the 16bit code of the tft display, but there is couple things which makes things difficult.....
by Mikat
Mon Nov 28, 2011 7:58 pm
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

Yes, that does the trick :D ... Thank you Ben,thumbs up... So instead to use porta,portb,portc etc. on the custom component ext properties, do use lata,latb,latc etc, this will allow the code work at hi chip clock at the k20 series chip... By the way, the same code runs at the 4620@100MHz about 4 fr...
by Mikat
Mon Nov 28, 2011 2:08 pm
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

Hi. I just get the feedback of the code, it woks ok with 18F4620 and 4685, but fails at the 46k20.. I tested my self, and the code runs fine at the 18F44k20, but only at max 20MHz device clock, above that the code fails... :( Ben do you have any idea what could cause that, and is the problem at the ...
by Mikat
Thu Nov 24, 2011 6:55 am
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

Well, the dSPIC version doesn't have the code size limitation, but reduced number of component. But the result are same, I can't compile the tft component code with the trial version, so the ssd1289 component for PIC24/dSPIC is something that I can't work at the moment...

Mika
by Mikat
Fri Nov 18, 2011 7:49 pm
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

Ok. Just take a look the trial version of the 16 bit glcd component, and it actually looks quite same as the 8 bit.. But there is one problem, I don't have pro version of the 16 bit Flowcode, so there is no way I can test the code... The code is wayyyy too big for trial version. I do have some 16bit...
by Mikat
Fri Nov 18, 2011 4:40 pm
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

Ben, is it possible that you or somebody else could re-engineer that ssd 1289 custom code for PIC24/dSPIC? I don't have time to learn new compiler first. What compiler does the dSPIC version use? And how about the usege of Microchip graphic display designer, and other Microchip tool, can they be use...
by Mikat
Tue Nov 15, 2011 6:32 am
Forum: Flowcode V4
Topic: RS232 and integers
Replies: 19
Views: 10679

Re: RS232 and integers

Can someone tell me, when sending data in this way, there is a need for a delay between two RS232 calls. 10 msec fails and 100 msec is enough. Why is there a delay necessary? And what is the shortest time needed? Kind regards Jan Lichtenbelt No delays should be needed, at least the eber ecu where I...
by Mikat
Fri Nov 11, 2011 3:59 pm
Forum: Flowcode V4
Topic: Custom Code problem with v4 flowcode
Replies: 11
Views: 5140

Re: Custom Code problem with v4 flowcode

Just change the one row which Steve say, the code is above...
So I change this:
/*Macro_SetFlash_End*/
.....
/*Macro_SetFlash_End*/
to that
/*Macro_SetFlash_Start*/
....
/*Macro_SetFlash_End*/
Mika
by Mikat
Fri Nov 11, 2011 9:43 am
Forum: Flowcode V4
Topic: Custom Code problem with v4 flowcode
Replies: 11
Views: 5140

Re: Custom Code problem with v4 flowcode

Try this component...
by Mikat
Fri Nov 11, 2011 7:06 am
Forum: Flowcode V4
Topic: Custom Code problem with v4 flowcode
Replies: 11
Views: 5140

Re: Custom Code problem with v4 flowcode

HI. I thin Steve means that this /*Macro_SetFlash_End*/ //THIS IS WRONG! cs_enable(cs); command(); send(0); send(0); send(0); send(0); send(1); send(0); send(0); if(flash) send(1); else send(0); send(0); cs_disable(cs); /*Macro_SetFlash_End*/ Should be like this /*Macro_SetFlash_Start*/ //IT SHOULD ...
by Mikat
Fri Nov 11, 2011 6:57 am
Forum: Flowcode V4
Topic: RS232 and integers
Replies: 19
Views: 10679

Re: RS232 and integers

Hi. Why you just can't split the int in 2 bytes, send them and combine them back to int? At least that is what I do, I have an Eberspacher ecu, done by flowcode, and it uses rs232 (at the moment, the pcb to join that eber to CAN network, is under way) to communicate with fan controller unit, there i...
by Mikat
Tue Nov 08, 2011 5:03 pm
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

Hi.

There has been couple request about this component, so I'll upload it here.
If you test and like it, you can put here feedback about the component, and the wishes for "real" component at the Flowcode...
And of course report at the bugs, and questions too..
Read the readme....


Mika
by Mikat
Tue Nov 08, 2011 10:37 am
Forum: Flowcode V4
Topic: Again wishes for the Glcd..
Replies: 65
Views: 41750

Re: Again wishes for the Glcd..

OK. Lets update things here. The component is quite ready at my side (except the Ilitek IL932x chip driver, I'll update it when I had time to it), the print number,string,pixel,box, line and set colors macros are working, so is the landscape and portrait orientation.. The print bigfont works, but th...
by Mikat
Thu Nov 03, 2011 10:41 pm
Forum: Flowcode V4
Topic: Anybody have ideas how to fix this
Replies: 4
Views: 3090

Re: Anybody have ideas how to fix this

Hi. This is just from memory, but try like this. Start conversion Delay 750 OO read device(device number) Ds1820 get temp(device number) The get temp macro givers the scratchpad bytes 0 and 1 and if the device is 18b20, the value is 16bit signed integer, so the 4msb bits is -/+ sign so the Fxxxh is ...