Search found 209 matches

by mikn
Wed Mar 05, 2014 10:47 pm
Forum: Flowcode V6
Topic: FAT always gives 255 (no card?)
Replies: 14
Views: 8132

Re: FAT always gives 255 (no card?)

So, no idea why it doesn't work on RB9 and 13 in first case and works on RB6 and 7 in second case? According to Benj's words, FAT must setup those pins automatically, but seems like something is wrong. ps: with original firmware both devices work ok, so I am 200% sure that hardware connection is cor...
by mikn
Wed Mar 05, 2014 2:56 pm
Forum: Feature requests
Topic: Collapse of loops,ifs..
Replies: 4
Views: 5887

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 04, 2014 7:15 pm
Forum: Flowcode V6
Topic: FAT always gives 255 (no card?)
Replies: 14
Views: 8132

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
Tue Mar 04, 2014 4:23 pm
Forum: Flowcode V6
Topic: FAT always gives 255 (no card?)
Replies: 14
Views: 8132

Re: FAT always gives 255 (no card?)

Then I am out of idea what may be wrong. I can share the layout file if it will help to resolve the issue. It's not for public but I can send to PM
by mikn
Tue Mar 04, 2014 3:41 pm
Forum: Flowcode V6
Topic: FAT always gives 255 (no card?)
Replies: 14
Views: 8132

Re: FAT always gives 255 (no card?)

I don't know if this matters: the card is MICROsd, not SD actually. As i know they have identical interface, but maybe for the FAT component there are some differences?
by mikn
Tue Mar 04, 2014 12:36 pm
Forum: Flowcode V6
Topic: FAT always gives 255 (no card?)
Replies: 14
Views: 8132

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 10:36 am
Forum: Flowcode V6
Topic: FAT always gives 255 (no card?)
Replies: 14
Views: 8132

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
Tue Mar 04, 2014 12:08 am
Forum: Flowcode V6
Topic: FAT always gives 255 (no card?)
Replies: 14
Views: 8132

Re: FAT always gives 255 (no card?)

I'm sorry about uploading the file to sendspace, just couldn't find a button Attach file here in my post (maybe, because I have new account?) I tried to put initialize into the loop with "until retval=0" but then it loops forever. Since the device doesn't have any lcd display, but only one led, i de...
by mikn
Mon Mar 03, 2014 10:24 pm
Forum: Flowcode V6
Topic: FAT always gives 255 (no card?)
Replies: 14
Views: 8132

FAT always gives 255 (no card?)

i'm using aready built device based on pic24fj it takes data from analogue input and saves onto sdcard. herein i mean, the hardware works well with original firmware. i made a simple flowcode project just to initialise sdcard on this device but always receive code 255 as a result of fat::initialise....