Search found 252 matches

by Mikat
Fri Nov 02, 2012 10:44 am
Forum: Flowcode V5 Issues
Topic: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPIC.
Replies: 14
Views: 11523

Re: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPI

Ok, been away for a while, now back to the problem. At the 8bit version of FC5 there is something wrong with reading the first sensor dev id, tested it to printing the dev id array to display. If I have 3 sensor, the dev id goes id 0 = 220,0,0,0,0,0,0,0 id1 = 40,67,30,223,3,0,0,147 id2 = 40,243,156,...
by Mikat
Wed Oct 31, 2012 6:29 am
Forum: Flowcode V5
Topic: PIC18F4685 40Mhz Crystal configuration
Replies: 5
Views: 3294

Re: PIC18F4685 40Mhz Crystal configuration

Hi. Try without caps, I might work. Or at least I have used 25MHz Xtals without caps for quick testings, and it has worked.. If it works, then add small capacitence, and test.. Or like Ben says, use 10Mhz Xtal, and pll, at least that should work.. You dont have to remove internal osc config, just ch...
by Mikat
Thu Oct 25, 2012 2:04 pm
Forum: Flowcode V5
Topic: Problem with UART INT with Flowcode 4&5
Replies: 12
Views: 7485

Re: Problem with UART INT with Flowcode 4&5

Hi.

Could this have somethin to do at the problem in "Array strange behavior" topic...
Maybe the problem has somethin to do with arrays and pointers.

Mika
by Mikat
Thu Oct 18, 2012 2:19 pm
Forum: Flowcode V5
Topic: GLDC!
Replies: 41
Views: 26042

Re: GLDC!

Hi Both! Thank´s to your both. I am wery greatfull. I will study the link and description. But I am a litlle afraid of this Costom component and dont know about C code. As far I can see, I have to use D0 to D3. As soon I receive my display from Ebay I will test it and sure you will hear from me. Be...
by Mikat
Thu Oct 18, 2012 1:53 pm
Forum: Flowcode V5
Topic: GLDC!
Replies: 41
Views: 26042

Re: GLDC!

Hi. Here is simple example file, just writes strings to diplay.. Glcd example.fcf The connection are defined in the ext properties box, in this case: databits 0-7 = portD 0-7 conrolt port is portC ( this is the port where the below bits are connected) cs1 = 5 cs2 = 4 d/i (rs) = 0 en = 3 rw = 1 The V...
by Mikat
Thu Oct 18, 2012 1:27 pm
Forum: Flowcode V5
Topic: GLDC!
Replies: 41
Views: 26042

Re: GLDC!

Yep, the second one is tha display for Flowcode, it has ks0108 driver, the firs one seems to have Sitronix 7920, and need different code..

Mika
by Mikat
Thu Oct 18, 2012 12:41 pm
Forum: Flowcode V5 Suggestions
Topic: KS0108 64 x 128 graphical LCD component
Replies: 5
Views: 9662

Re: KS0108 64 x 128 graphical LCD component

Hi.

I can now confirm that the custom component at the ks108 works ok with Flowcde 5 (8 bit), just tested it on hardware..

Mika
by Mikat
Thu Oct 18, 2012 12:37 pm
Forum: Flowcode V5
Topic: GLDC!
Replies: 41
Views: 26042

Re: GLDC!

Hi.

I can now confirm that the custom component at the ks108 works ok with Flowcde 5 (8 bit), just tested it on hardware..

Mika
by Mikat
Thu Oct 18, 2012 12:36 pm
Forum: Flowcode V5 Issues
Topic: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPIC.
Replies: 14
Views: 11523

Re: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPI

Hi Ben. The 8 bit version of FC5 don't have that problem.. It might have some issues with multiple sensor, but I was mixed the DS1820 and 18B20, but that actually should work, but no matter what sensor number I was reading, it always sends sama rom ID.. Need to investigate more... Yep, the code read...
by Mikat
Wed Oct 17, 2012 6:46 am
Forum: Flowcode V5 Issues
Topic: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPIC.
Replies: 14
Views: 11523

Re: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPI

Good morning. Banged my head to the wall couple of hours last night, with that problem :x . I just can't figure out why that problem occurs. When the result of two readings is 10 or 01, the code just should sent the val0 after the reception, and that it will do if I manually set the values at 10. Di...
by Mikat
Tue Oct 16, 2012 4:28 pm
Forum: Flowcode V5 Issues
Topic: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPIC.
Replies: 14
Views: 11523

Re: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPI

Hi Ben. Now I think that I understand the "init" protocol of onewire, but the Dallas document was quite confusing.. So the slave device sends first the bit,then same bit inverted, and then master responds at the bit which was first send (not inverted), but if the bus has devices which sends 01 and 1...
by Mikat
Tue Oct 16, 2012 1:08 pm
Forum: Flowcode V5 Issues
Topic: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPIC.
Replies: 14
Views: 11523

Re: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPI

Hi Mika, Right I'm currently comparing the v5 and v4 PIC C code and there really isn't a lot of difference between the two. Did you manage to find out if the v4 dsPIC code worked? Also do you have v5 for PIC to test if this is ok? Can you recommend any 1 wire devices for me to buy in and use as tes...
by Mikat
Tue Oct 16, 2012 11:06 am
Forum: Flowcode V5
Topic: GLDC!
Replies: 41
Views: 26042

Re: GLDC!

Hi Both! Thank´s for your advice. I have just bougth one ( ks0108 on Ebay ). Meanwhile is it possible to get the connection between the pic and the display from you. As far I can see, in FC for the GLCD component we have the connection: SD,CL,CS,and the reset RS some kind of seriel comm. I have loo...
by Mikat
Tue Oct 16, 2012 6:42 am
Forum: Flowcode V5
Topic: GLDC!
Replies: 41
Views: 26042

Re: GLDC!

Hi. Sorry now I mixed the phones.. That 3310 display seems to be monocrome LCD, the displays what I used was color tft displays.. But I was using the nokia 5110 display for long time ago... And that 3110 display looks quite same.. But still, if you just want to display,cheap and easy to use, I sugge...
by Mikat
Mon Oct 15, 2012 5:19 pm
Forum: Flowcode V5
Topic: GLDC!
Replies: 41
Views: 26042

Re: GLDC!

Hi Mika! thank´s for the information. This morning I bougth 3 from Ebay. I have to wait and see, they were wery cheap, so ok. :D Best regard Jorgen. Yep, they are cheap, but I never didn't use those for couple of reason. First, those use SPI bus, so they are slow, and the contrast was horrible, in ...
by Mikat
Mon Oct 15, 2012 12:32 pm
Forum: Flowcode V5
Topic: GLDC!
Replies: 41
Views: 26042

Re: GLDC!

Hi. The Flowcode 4 gLCD component works with some nokia displays, probably it was 3310, but I bought many modules on Ebay (same phone model), some of those works, some don't, so if you are lucky, it works, if I remember right, even same seller and same module doesn't guarantee that all modules works...
by Mikat
Fri Oct 12, 2012 7:31 pm
Forum: Flowcode V5
Topic: CAN Bus Programming
Replies: 13
Views: 7860

Re: CAN Bus Programming

Ok, here was some information, quite lot more experience than I had... It's very nice to have people to share their information.. In my case, the difference is that the CANbus don't transfer power, its just databus, and the cables are short, just over 5m.. Just in curiosity, how the CANbus is worked...
by Mikat
Fri Oct 12, 2012 7:43 am
Forum: Flowcode V5 Issues
Topic: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPIC.
Replies: 14
Views: 11523

Re: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPI

Good morning. There is better capture for logic analyzer, the scale is same, and the timing are almos equal. I tweaked the timings at the FC5 16bit as close the FC4 8 bit as the delays allow, so the problem is not the timings... The working FC4 8 bit is the lower capture.. I swithc the sensord, to c...
by Mikat
Fri Oct 12, 2012 6:24 am
Forum: Flowcode V5
Topic: CAN Bus Programming
Replies: 13
Views: 7860

Re: CAN Bus Programming

Hi all. I put this in here too, maybe it serves all here. Enamul asked via pm at the CAN hardware. At the hardware, be aware at the count of termination resistors, I think I broke 2 MCP2551 because my network has 3 120 ohm resistor.. The MCP2551 seems to broke quite easily sometimes, sometimes it se...
by Mikat
Fri Oct 12, 2012 6:01 am
Forum: Flowcode V5 Issues
Topic: Array Strange Behavior
Replies: 4
Views: 3930

Re: Array Strange Behavior

Hi. At least I didn't find anything wrong at your code, but there is one thing which could clear the problem a little.. If you move the value in the array at temporary INT variable, and there to string.. That way it clears a bit is the problem at the ToString function, when used array and variable a...
by Mikat
Thu Oct 11, 2012 12:34 pm
Forum: Flowcode V5 Issues
Topic: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPIC.
Replies: 14
Views: 11523

Re: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPI

Hi. There is the scanbus picture for logic analyzer, upper is fc4 8 bit, which works ok, lower is fc5 for 16 bit, not working... Both captures start at the same point, end of the searchrom command. If you look between markers 1 and 2, there is some diffrence, but the transmission shoud be same, beca...
by Mikat
Thu Oct 11, 2012 6:35 am
Forum: Flowcode V5
Topic: CAN Bus Programming
Replies: 13
Views: 7860

Re: CAN Bus Programming

Hi guys... I have used CANbus at my boat about 1,5 year now (if interested, there is some story at the teell us your projects thread), and the experience has been very positive, the bus is very reliable, some day when I was fishing I checked the status of the CANbus and it shows something like 30000...
by Mikat
Thu Oct 11, 2012 6:10 am
Forum: Flowcode V5 Issues
Topic: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPIC.
Replies: 14
Views: 11523

Re: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPI

Good morning Ben. Try to investigate the onewire problem bit better at last night, but very little result... The comm seems to not work, not even the hw level, logic analyzer don't understand the sensor responce.. All I managed to dig out is that it seems that the code gives error on the scanbus fun...
by Mikat
Wed Oct 10, 2012 2:59 pm
Forum: Flowcode V5 Issues
Topic: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPIC.
Replies: 14
Views: 11523

Re: Bugs (maybe fix), and suugestiong for Flowcode5 for DsPI

As for the 1 wire bug. Can you confirm that this bug was not present in v4? I will look into this but don't currently have any 1 wire devices for testing. Hopefully I will be able to get my hands on some shortly. Any ideas as to what has gone wrong? The CAN code seems ok.. I'll try to test it asap....
by Mikat
Wed Oct 10, 2012 6:34 am
Forum: Flowcode V5 Suggestions
Topic: Autosave
Replies: 5
Views: 9466

Re: Autosave

An autosave feature that keeps a backup version every 5 or 10 minutes would be great, since these things happen. Nice feature if it uses a different file name. When I'm working on a file I do not want FC to automatically overwrite the file I opened, I might want to keep the original and save the re...