Search found 426 matches

by echase
Mon Apr 30, 2018 10:13 pm
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

Lots of good ideas thank you very much. The next step is for me to actually try some hardware out to see it displays anything. That is going to take some weeks as some of the bits like LCD and ribbon connectors I ordered come from China. When I have something running I’ll probably be back asking mor...
by echase
Sat Apr 28, 2018 11:24 am
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

Scope clock pulses.pdf Here is a doc I wrote showing some scope traces measured off the faulty scope with a good Picoscope. You can clearly see the double pulses with a variable gap to next pair. I have assumed no significant gap after each frame as yet to measure that. The refresh rate would be le...
by echase
Sat Apr 28, 2018 11:17 am
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

Hope this works but have included some of your text in italics to make it easier to show what I am replying to. I was a bit unsure where the stretch clocks went out - so I've put them after odd pixels - this might need tweaking... . Think it's correct. Should be, half a nibble, 1 stretch bit, half a...
by echase
Fri Apr 27, 2018 6:47 pm
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

Martin, does not answer your last post but here is a fcf that: Reads the 2 nibbles on an interrupt. When that is complete parses 2 nibbles into 8 variables. (But may be able to do the first nibble in the interrupt to save time). In Main output that as 12 serial bits plus 12 serial clocks (to add the...
by echase
Fri Apr 27, 2018 4:32 pm
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

For speed you could possibly either use a switch (or a jump table, though not easy in Flowcode) So in pseudo code: b = Read 4bits Switch on b 0: Writepixel(0)x4 Another approach might be to read the entire frame to memory - then process it ( and write to output) in the delay between frames (assumin...
by echase
Fri Apr 27, 2018 10:02 am
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

So to get 16 instructions into 0.25us I'd need a PIC 16 at 70MIPS. As the real instructions for above interrupt macro are probably 50 or more I'd really need a PIC32 which go up to 250MHz. Although it's getting a bit ridiculous to use a 64 or more pin PIC 32 device when I only use about 6 I/O pins i...
by echase
Fri Apr 27, 2018 8:27 am
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

http://www.microchip.com/ParamChartSear ... ranchID=20 only lists up to 70 MIPS although it does say DMIPS too. Is that double MIPS? But have found that page lacking as some in production PICS don’t appear there at all.
by echase
Fri Apr 27, 2018 7:53 am
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

Thanks Martin. Realised I have a speed problem in that the minimum period of the data clock pulses is 250ns. A 4 bit nibble needs to be read in that time and output as 4 individual pulses on a one bit o/p as well as a clock of 4 times the input data clock. This is really pushing the speed of a PIC a...
by echase
Thu Apr 26, 2018 8:08 pm
Forum: Bug reports
Topic: Problem installing v7
Replies: 12
Views: 1737

Re: Problem installing v7

Mea cupla. There was a tick box say something like "Are you sure you want to make changes ?" that I had missed.
by echase
Thu Apr 26, 2018 12:22 pm
Forum: Bug reports
Topic: Problem installing v7
Replies: 12
Views: 1737

Re: Problem installing v7

Not tried all those things yet but re downloaded it from the other site and using a different browser and all copies have a slightly larger 1,169,186,816 bits and not the size you mentioned. Why?
by echase
Wed Apr 25, 2018 4:28 pm
Forum: Bug reports
Topic: Problem installing v7
Replies: 12
Views: 1737

Re: Problem installing v7

Medelec, I left it running to install so don't think that is the problem.
by echase
Wed Apr 25, 2018 1:05 pm
Forum: Bug reports
Topic: Problem installing v7
Replies: 12
Views: 1737

Re: Problem installing v7

Had to rename file as won't accept .log attchements
by echase
Wed Apr 25, 2018 11:04 am
Forum: Bug reports
Topic: Problem installing v7
Replies: 12
Views: 1737

Re: Problem installing v7

Thanks. Sorry I need more explanation. Do I need to run the installation again after entering this cmd line? Does Program Files (x86)\ need to go after each C:\ as that is where the FC7 was trying to install? Tried it on the cmd line and gave error message with or without that extra bit. There was n...
by echase
Wed Apr 25, 2018 10:51 am
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

Many thanks kersing. There are lots of chips that do video conversion, e.g. from RGB to HDMI for TVs, PCs etc. but can’t find one that does what I need as the scope LCD uses a rather unique graphics controller made from 6 chips that can no longer be bought (rather than the one normally used) and the...
by echase
Wed Apr 25, 2018 10:14 am
Forum: Bug reports
Topic: Problem installing v7
Replies: 12
Views: 1737

Problem installing v7

Tried twice to install v7 to try it out and it gets to the "end" of install and says "setup was interrupted ... run setup again." How to fix? I have Windows 7 64 bit.
by echase
Tue Apr 24, 2018 11:21 am
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

To distil the random musings into actual Flowcode questions can I ask? 1. Do you support PICs with more than 15kbyte of RAM as need that to save a full video page array? Such as dsPIC33FJ256GP710A. No 8 bit PIC has enough RAM. 2. Do you support adding an external 16kbit RAM to an 8 bit PIC? Suspect ...
by echase
Mon Apr 23, 2018 11:47 am
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

Sorry about these random musing, I am learning a lot about video protocols. One flaw in having no controller on the LCD is that the PIC not only has to accurately synch with the scope to read the data, but also has to issue accurate timings to the LCD and I can see that may be difficult to do, with ...
by echase
Mon Apr 23, 2018 8:09 am
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

Think though if using the Hantronics one that it might be necessary to use a PIC to fill in the missing 80 columns in the scope signal so can't manage without a frame store in PIC to do this. I have measured the refresh rate as 36Hz. Fundementally I now think what I need to buy is a lcd without a co...
by echase
Sat Apr 21, 2018 8:49 pm
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Re: Protocol converter for graphical LCD

Looking at the common ILI9341 controller chip for 320x 240 displays (has 1278 pads to drive all those rows and columns etc.!) it has a SPI data speed of 10Mb/s. To enter a full screen into its RAM takes 240 x 320 x 18/10,000,000 = 0.14 secs as each pixel needs an 18 bit colour stated, even though I ...
by echase
Fri Apr 20, 2018 11:58 am
Forum: Flowcode V5
Topic: Protocol converter for graphical LCD
Replies: 23
Views: 3470

Protocol converter for graphical LCD

I have an expensive oscilloscope with a fading and obsolete 240x 240 pixel LCD graphical display. As 320 x 240 displays are cheaply available for Arduino and Pi use I am thinking I can get one of those and use a PIC as a protocol converter to read the existing display data and translate it to someth...
by echase
Sun May 03, 2015 5:25 pm
Forum: Flowcode V5
Topic: 16(L)F178x family
Replies: 1
Views: 2162

16(L)F178x family

Any plans to add any of the 16(L)F178x family especially the middle of the range like 16F1786? These have a 12bit ADC instead of the more usual 10 bit so I wanted to use one.

Or is there a PIC with 12bit ADC with 20 – 28 pins that you do cover?
by echase
Tue Mar 18, 2014 3:13 pm
Forum: Flowcode V5 Issues
Topic: v3 and v5 on one PC
Replies: 1
Views: 2176

Re: v3 and v5 on one PC

Aside from the hex file what data/file does the loading software, be it PICkit’s version or Flowcode’s, pick up to create the entire load? Something to do with clock speed and config words?? I think it is this side of things that is going wrong. I am using Windows 7 on the dual PC and Visa on the ot...
by echase
Thu Mar 13, 2014 9:10 pm
Forum: Flowcode V5 Issues
Topic: v3 and v5 on one PC
Replies: 1
Views: 2176

v3 and v5 on one PC

As reported here http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=46&t=12017 I had trouble taking a v3 fcd and recompiling it using v5. Some code failed to fully work on the PIC even though it worked when compiled for v3 and put on PIC. I stopped using v5 for a year because I did not tru...
by echase
Fri Mar 07, 2014 12:59 am
Forum: Flowcode V5
Topic: RS485 protocol
Replies: 17
Views: 6250

Re: RS485 protocol

I had forgotten how useful the simulation is as I can’t normally use it due to too much C Code hand added in to my programmes. By experimentation and simulation I see that by using the Right$(string, 2) function I can truncate 0xFF to just FF and then it appears to send the correct ASCII characters,...
by echase
Thu Mar 06, 2014 12:34 am
Forum: Flowcode V5
Topic: RS485 protocol
Replies: 17
Views: 6250

Re: RS485 protocol

Apologies for reposting here after a whole year but have finally got around to finishing off this project. The C code generated by Flowcode for my string manipulation ended up like below where Slider is a 0-255 Byte variable containing the position of the volume slider and Volume_as_string is it con...