Page 1 of 1

Flowcode 4.5, PIC16F1936 and EEPROM wont work at the scrath

Posted: Thu Jul 28, 2011 7:59 am
by Rosenbaum
I make a Flowchart with PIC16F1936 and read and write a value out of and into eeprom, but there is a problem:

Code: Select all

...
eeprom.c
Starting preprocessor: c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\pp.exe eeprom.c -i c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\include -d _PIC16F1936 -la -c2 -o eeprom.pp -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX 

eeprom.c(98): Illegal redefinition of symbol: MX_EEADR
eeprom.c(109): Illegal redefinition of symbol: MX_EEDATA

2 errors detected
Error: preprocessing error

failure

Return code = 1
...
I found this thread: http://www.matrixmultimedia.com/mmforum ... 11&p=21395
and so on I killed the double definition and it will work now.
But is it possible to change this problem for the future, so an new Flowchart will work from the scrath?

Re: Flowcode 4.5, PIC16F1936 and EEPROM wont work at the scr

Posted: Thu Jul 28, 2011 9:28 am
by Steve
We'll look into this problem straight away.

Re: Flowcode 4.5, PIC16F1936 and EEPROM wont work at the scr

Posted: Thu Jul 28, 2011 10:09 am
by Benj
Hello,

Sorry about this, I have found the problem and this updated component C file fixes the issue.

Simply pop it into your "Flowcode v4\Components" folder before starting Flowcode.

Re: Flowcode 4.5, PIC16F1936 and EEPROM wont work at the scr

Posted: Thu Jul 28, 2011 10:37 am
by Rosenbaum
Image
Thanks for the solution.