Search found 209 matches

by mikn
Fri Oct 10, 2014 1:50 am
Forum: Flowcode V6
Topic: FAT and file name length problem
Replies: 3
Views: 3101

FAT and file name length problem

When I create full length name "FILENAME.TXT" it resets the chip (pic24) and does not create anything.
Once I remove one symbol and create "FILENAME.TX" or "FILENAMETXT" - it's ok.
by mikn
Fri Oct 10, 2014 12:06 am
Forum: Flowcode V6
Topic: Flowcode Training 11th & 18th November
Replies: 7
Views: 4834

Re: Flowcode Training 11th & 18th November

Also interested in some tips and tricks in FC.
by mikn
Wed Oct 08, 2014 12:48 am
Forum: Flowcode V6
Topic: Setfileindex0 and 1
Replies: 13
Views: 7828

Re: Setfileindex0 and 1

Wed Oct 01, 2014 1:09 pm
Benj wrote:Ok thanks, I'll set this up tomorrow morning
:(
by mikn
Fri Oct 03, 2014 7:02 am
Forum: Flowcode V6
Topic: Setfileindex0 and 1
Replies: 13
Views: 7828

Re: Setfileindex0 and 1

any updates?
by mikn
Wed Oct 01, 2014 7:48 pm
Forum: Flowcode V6
Topic: Setfileindex0 and 1
Replies: 13
Views: 7828

Re: Setfileindex0 and 1

It's on hardware. upd: seems like something is wrong with switching at SetFileIndex. Even when I set wrong index (file1 is 0 and file2 is 1, but i set to 2) it was reading and writting from/to the last opened file. Same confirmed when I've changed the order - opened file2 and then file1. It was read...
by mikn
Wed Oct 01, 2014 10:38 am
Forum: Flowcode V6
Topic: Setfileindex0 and 1
Replies: 13
Views: 7828

Re: Setfileindex0 and 1

same. here's the file2.txt result after the cycle
sc-readstr.GIF
sc-readstr.GIF (4.85 KiB) Viewed 7812 times
by mikn
Wed Oct 01, 2014 1:08 am
Forum: Flowcode V6
Topic: Setfileindex0 and 1
Replies: 13
Views: 7828

Setfileindex0 and 1

I am trying to read string from file1 and save it to file2 using SetFileIndex(0) and (1)
But I get read strings from File2 and added to same File2 at the end.

What may be wrong?
Code screenshot included.
by mikn
Mon Sep 22, 2014 12:21 am
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

Re: Writting to flash on PIC

any updates? still waiting for the solution :(
by mikn
Thu Sep 04, 2014 7:35 pm
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

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
Mon Sep 01, 2014 3:45 pm
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

Re: Writting to flash on PIC

Benj, check pm
by mikn
Sun Aug 31, 2014 10:29 pm
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

Re: Writting to flash on PIC

up. still actual. no one can do this? unbelievable :)
by mikn
Fri Aug 15, 2014 12:40 am
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

Re: Writting to flash on PIC

still looking for someone who can create two macros to read and write to program memory of pic24. I need to store 300 bytes of data (settings and so on). So macro must read and write byte by byte or by whole block (so I could read 300 bytes buffer, modify and write back). Can pay some money for the ...
by mikn
Wed Jul 16, 2014 8:33 pm
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

Re: Writting to flash on PIC

Reviewed the code. but C is not my "native" language, so I will need help anyway.
by mikn
Sat Jul 12, 2014 8:54 pm
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

Re: Writting to flash on PIC

still looking for someone who can create two macros to write and read from pic24 flash memory. I am ready to pay some money for the work time, if necessary.
by mikn
Mon Jul 07, 2014 11:13 pm
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

Re: Writting to flash on PIC

your example seems to be for external memory with i2c interface, doesn't it?

still looking for someone to help me with writting to flash. as a result i need two macros read and write from and to flash. data to store: several variables (50-100 bytes of data). maybe someone can offer payable support?
by mikn
Sun Jul 06, 2014 11:35 pm
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

Re: Writting to flash on PIC

Found documentation about EEPROM emulating in PIC24.
http://www.microchip.com/stellent/idcpl ... e=en530593
Who can help me to integrate that example into FC project correctly? We can chat over icq or skype.
by mikn
Mon Jun 30, 2014 4:45 pm
Forum: Flowcode V6
Topic: Seek in file
Replies: 6
Views: 3802

Re: Seek in file

Understand now. So this way I can modify any sector of opened file? If I have 10 sectors, I can move 5 times to next sector, read and write it, and then move to the end and continue adding new sectors, right?
by mikn
Mon Jun 30, 2014 4:34 pm
Forum: Flowcode V6
Topic: Seek in file
Replies: 6
Views: 3802

Re: Seek in file

Thanks, Benj.
So when I do OpenFile it sets the marker to first sector. And how do I continue writting sectors after the last one?
For example, I've wrote 2048 bytes of data (4 sectors), then I do OpenFile to modify 1st sector. Then what should I do to continue writting sectors (5th, 6th...) ?
by mikn
Sun Jun 29, 2014 10:51 pm
Forum: Flowcode V6
Topic: Seek in file
Replies: 6
Views: 3802

Seek in file

Hi,

If I continuously write data into file and then need to modify first two bytes of this file and then continue to append the data , how can I do this in FC?
by mikn
Wed Jun 25, 2014 5:28 pm
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

Re: Writting to flash on PIC

Rudi, finally, did you get the working code?
by mikn
Wed Jun 25, 2014 1:09 pm
Forum: Flowcode V6
Topic: Writting to flash on PIC
Replies: 17
Views: 9753

Writting to flash on PIC

Are there any way to write my data to flash program memory on PIC24? It does not have EEPROM so I want to use free flash space. Can this be done via FC or should I implement C/ASM code?
by mikn
Tue Jun 03, 2014 7:55 pm
Forum: Flowcode V6
Topic: RawAverageByte
Replies: 4
Views: 3412

Re: RawAverageByte

Understand, thanks. So for now I better use GetByte and get average value manually accumulating several values, right? Can you advice me some method when I can get sound signal from analog input at 22-44khz frequency? When I use GetByte or RawSampleByte I can't get them so fast with interrupt set to...
by mikn
Tue Jun 03, 2014 4:16 pm
Forum: Flowcode V6
Topic: RawAverageByte
Replies: 4
Views: 3412

Re: RawAverageByte

Benj, what's the problem with GetAverageByte?
When I use this function the whole chip is freezing.
Simple project is below.
by mikn
Wed May 28, 2014 9:35 pm
Forum: Flowcode V6
Topic: adc and pic24
Replies: 5
Views: 5360

Re: adc and pic24

yeah, seems like FC is more friendly to atmel rather than to microchip.. ;)
by mikn
Mon May 26, 2014 8:36 am
Forum: Flowcode V6
Topic: Config settings for ADC
Replies: 8
Views: 5608

Re: Config settings for ADC

What is the exact chip? Do you have the source of the other firmware? pic24fj64ga002 No I don't have source for other firmware. So you could reduce the 40 to something like 1. (Do not use 0) Yes, during playing with settings I did reduce to 1 and even to 0, it worked but again I could not raise int...