Search found 34 matches

Return

by mikn
Tue Mar 04, 2014 12:36 pm
Jump to forum
Jump to topic

Re: FAT always gives 255 (no card?)

Benj wrote:Out of interest which version of V6 are you running?

Yes, it's 6.0.4.0 (27.11.2013)
by mikn
Tue Mar 04, 2014 7:15 pm
Jump to forum
Jump to topic

Re: FAT always gives 255 (no card?)

I've got some success! Hooray! I have another variant of same device with another PCB, but same pic24 and another ports connected to microsd. It had same problem but after I exchanged DO and DI pins it worked well, card initialized and i could create text file. All settings are the same. The differe...
by mikn
Wed Mar 05, 2014 2:56 pm
Jump to forum
Jump to topic

Collapse of loops,ifs..

Are there any way to collapse them?

If I have working loop or decision and don't need to modify it anymore then it would be good to collapse it to shorten the whole list for easiest review of the whole project.
by mikn
Tue Mar 18, 2014 2:02 pm
Jump to forum
Jump to topic

Re: FAT: faster way to write data

Yes, just tried. It blinks normal with 1sec delay. Tried to run my code with same settings, but have losses.
Below is my project.
by mikn
Sun Mar 23, 2014 10:37 pm
Jump to forum
Jump to topic

Re: SPI EEPROM

finally, I could not communicate with my eeprom via SPI Legacy component. I did it via CAL_SPI only. Firstly it didn't work with CAL, and it was a matter of 1ms pause after sending command and reading result. After I've added the pause it read the data successfully (retrieved hardware id as a test)....
by mikn
Wed Mar 26, 2014 6:31 pm
Jump to forum
Jump to topic

Re: freezes on adding variable

tested with new project and it works fine. will continue watching..
by mikn
Fri Mar 28, 2014 1:32 pm
Jump to forum
Jump to topic

.Return not deleting

I create a macro with return value (String)
Then I duplicate it.
During duplicate settings I select "No return variable"
But .Return variable is still there, not assigned to any type.
Don't think it will cause the project runtime problems but seems to be a cosmetic issue.
by mikn
Wed Apr 02, 2014 1:53 pm
Jump to forum
Jump to topic

Re: v6.0.7 Issues

As an update request: It could be great if variable advices won't appear when I write comments. ;)
Thanks.
by mikn
Thu Apr 03, 2014 9:42 am
Jump to forum
Jump to topic

Re: v6.0.7 Issues

Small issue with 3d System panel.
I closed it and work with 2D only, but every time I start FC and open my project, 3D panel is back to it's place.
by mikn
Thu Apr 10, 2014 3:28 pm
Jump to forum
Jump to topic

Re: FAT: faster way to write data

The whole project is big, so I left only the problem place. Here's the code:
by mikn
Tue Mar 04, 2014 10:36 am
Jump to forum
Jump to topic

Re: FAT always gives 255 (no card?)

seems like a problem may be around AD1PCFG, since PORTB in pic24 is analogue by default and need to be set to digital. I've added C implementation: AD1PCFG = 0xffff; But it didn't work anyway. Do I need to declare it another way? Also does the FAT component set port directions by itself or do I need...
by mikn
Wed Mar 19, 2014 1:12 pm
Jump to forum
Jump to topic

Re: FAT: faster way to write data

Updated FAT component but it became as a dot without properties. :-\
Below is the screenshot:
Image

UPD: tried to add new FAT, it says: Failed to add the component: FAT (SD,SDHC)
by mikn
Wed Apr 23, 2014 5:27 pm
Jump to forum
Jump to topic

array index not showing

Hi, Just a small bug with array index in flowcode. When I use arrays in While loops, it shows me only array name in expression and not name with index. But when I use some calculation in expression, it shows ok. Don't know if it's a feature. Looks like a bug. Screenshot is below. I use buf[i] in fir...
by mikn
Thu May 15, 2014 5:25 pm
Jump to forum
Jump to topic

Re: Think i have found the Base Timing Bug ...

SHORTCIRCUIT wrote:Just about when is the next release due to be released?

+1
Also waiting for new release with bug fixed. No need for new features while there are so many current bugs. :-(
by mikn
Fri May 23, 2014 1:48 am
Jump to forum
Jump to topic

Re: Flowcode v6.0.7 Live

kersing wrote:There is only one 6.0.7 release, so it is 100% the same. Its availability was not announced on the forum, that has now been corrected.

Understand now. Well then we're waiting for 6.0.8 :) Since a lot of bugs were fixed according to forum posts.
by mikn
Sun May 25, 2014 4:24 pm
Jump to forum
Jump to topic

Re: adc and pic24

Some more troubles.
I've added cal_adc to my project.
Pressed twice on current macro block, changed it from adc_base.getbyte to cal_adc.sample.
Then when I press to field Sample I get error and FC closes.
sc-adc-dead1.GIF

sc-adc-dead.GIF
by mikn
Mon Sep 01, 2014 3:45 pm
Jump to forum
Jump to topic

Re: Writting to flash on PIC

Benj, check pm
by mikn
Thu Sep 04, 2014 7:35 pm
Jump to forum
Jump to topic

Re: Writting to flash on PIC

I see that the code is simple, according to the example from microchip. But C is not my "native" language :) and I have troubles with correct injecting this code into Flowcode project. That's why I am asking for help. If you tell me that it will be done, I can wait for a week, of course.
by mikn
Wed Oct 01, 2014 10:38 am
Jump to forum
Jump to topic

Re: Setfileindex0 and 1

same. here's the file2.txt result after the cycle

sc-readstr.GIF
by mikn
Mon Oct 13, 2014 7:38 pm
Jump to forum
Jump to topic

Re: FAT and file name length problem

The problem appeared again from the other side: When I set extension in filename to 2 letters, then create file via FAT component - the file is not readable. Name exists on the disk, but Windows says "Can't open file, file doesn't exist". Once I create file with 3 letters in ext, it opens ...
by mikn
Mon Oct 13, 2014 7:56 pm
Jump to forum
Jump to topic

Re: Setfileindex0 and 1

Thanks for the detailed reply, Benj. It's really appreciated because in bigger software companies it's hard to talk to real coders and not just stupid support girls who read internal FAQ and quote it to the client. With FC I have found a new field where I can realize my professional skills skipping ...
by mikn
Wed Nov 12, 2014 11:37 am
Jump to forum
Jump to topic

Re: FAT problem

Here's the result: many fast blinks and one long.
Video included.
by mikn
Wed Nov 12, 2014 12:42 pm
Jump to forum
Jump to topic

Re: FAT problem

Ok, I will start the test now for several hours and will inform you about result closer to the evening.
by mikn
Wed Nov 12, 2014 5:03 pm
Jump to forum
Jump to topic

Re: FAT problem

Forgot to change it.
Now started working, will inform you after several hours. Or when it will stuck again.
by mikn
Wed Nov 12, 2014 8:24 pm
Jump to forum
Jump to topic

Re: FAT problem

Started at 9:05pm and device stuck on 10:20pm. Again on your control point. And again, 3 fast write cycles and 4th longer and longer. When started it was same fast as others but minute by minute I noted that it writes longer and longer time. Seems to be the problem with writing every 2048th byte or ...