Flowcode 4.5, PIC16F1936 and EEPROM wont work at the scrath

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Rosenbaum
Flowcode V4 User
Posts: 25
Joined: Thu Feb 22, 2007 3:20 pm
Has thanked: 1 time
Been thanked: 5 times
Contact:

Flowcode 4.5, PIC16F1936 and EEPROM wont work at the scrath

Post 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?
Attachments
eeprom.fcf
eeprom test with pic16f1936
(4.5 KiB) Downloaded 233 times

User avatar
Steve
Matrix Staff
Posts: 3422
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

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

Post by Steve »

We'll look into this problem straight away.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post 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.
Attachments
PIC_EEPROM.c
(6.61 KiB) Downloaded 242 times

Rosenbaum
Flowcode V4 User
Posts: 25
Joined: Thu Feb 22, 2007 3:20 pm
Has thanked: 1 time
Been thanked: 5 times
Contact:

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

Post by Rosenbaum »

Image
Thanks for the solution.

Post Reply