V5 upgrade issues

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

Ondra
Posts: 325
Joined: Wed Aug 29, 2007 7:33 pm
Been thanked: 2 times
Contact:

V5 upgrade issues

Postby Ondra » Wed Jan 25, 2012 5:40 pm

Good day all I just upgraded to version 5.
I tried to compile an old program that was created in V4
In version 4 the program compiles fine. with some warning.
I V5 I get a compile error with no detail as to the location of the error.
below is the error I get.

PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(748): Illegal redefinition of symbol: MX_UART_RTS_PORT_2
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(930): Illegal redefinition of symbol: MX_UART_RTS_PORT_3
C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_UART.c(212): UART Baud Rate not supported in Software Mode
C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_UART.c(212): UART Baud Rate not supported in Software Mode
C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_UART.c(212): UART Baud Rate not supported in Software Mode
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10776): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10795): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10814): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10833): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10852): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10871): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10890): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10909): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10928): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10947): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10966): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(10985): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(11004): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(11023): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(11042): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(11061): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(11080): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(11099): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(11118): WARNING: This interrupt has previously been enabled, so the macro <Inter_Counter> may never get called.

5 errors detected
Error: preprocessing error

failure

........Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:


If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.


FINISHED

Ondra
Posts: 325
Joined: Wed Aug 29, 2007 7:33 pm
Been thanked: 2 times
Contact:

Re: V5 upgrade issues

Postby Ondra » Wed Jan 25, 2012 5:45 pm

OK It looks like I found 3 of the errors. I only have 2 don't know where to look.
Also I tried posting in V5 and received a msg that I could not post to that forum.
Ondra


PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(748): Illegal redefinition of symbol: MX_UART_RTS_PORT_2
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(930): Illegal redefinition of symbol: MX_UART_RTS_PORT_3

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 64 times
Been thanked: 306 times
Contact:

Re: V5 upgrade issues

Postby JonnyW » Wed Jan 25, 2012 8:47 pm

Hi. We will look into the v5 forum issue tomorrow, as you should be aable to log on if you have registered v5 (as far as I know).

The 5 errors you have are:
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(748): Illegal redefinition of symbol: MX_UART_RTS_PORT_2
PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(930): Illegal redefinition of symbol: MX_UART_RTS_PORT_3
C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_UART.c(212): UART Baud Rate not supported in Software Mode
C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_UART.c(212): UART Baud Rate not supported in Software Mode
C:\Program Files\Flowcode\v5\CAL\PIC\PIC_CAL_UART.c(212): UART Baud Rate not supported in Software Mode

Are you using custom C code? A lot of the definitions havve been moved from component generation so if you are this may be an issue. We can have a more detailed look at this tomorrow morning - in the meantime if you can, it would be a help to post your Flowcode (FCF) file, and also the generated C file. This will help get some context on what might be causing the errors.

Cheers,

Jonny

User avatar
DavidA
Matrix Staff
Posts: 1060
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 275 times
Contact:

Re: V5 upgrade issues

Postby DavidA » Thu Jan 26, 2012 10:36 am

Hello Ondra,

If you want to post in the v5 forums please follow the instructions below, we will hopefully have a better system implemented for the next release.

---------------------------------------------------

To have your account upgraded to be a "Flowcode V5 User" please use this contact page:- Web Contact Form

- Please select the Forum Activation topic from the first drop down menu
- Please include in the reply two things:-

Forum Username
Last 6 characters of your CD-Key (received in the Flowcode v5 email)

Currently this way of activating on the v5 forums is temporary and will be improved in an upcoming Flowcode v5 patch, please bear with us in the meantime!

---------------------------------------------------

Ondra
Posts: 325
Joined: Wed Aug 29, 2007 7:33 pm
Been thanked: 2 times
Contact:

Re: V5 upgrade issues

Postby Ondra » Thu Jan 26, 2012 4:08 pm

Thanks guys. I looking at the errors is there anything in particular I should be looking for?
Where in the c code and what situation would generate these error?

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 64 times
Been thanked: 306 times
Contact:

Re: V5 upgrade issues

Postby JonnyW » Thu Jan 26, 2012 4:17 pm

Hi. I have looked through the code and all instances of 'MX_UART_RTS_PORT_2' look to be pretty secure. These are in the components so in order to investigate this further we would need to know which components you have added.

Is it possible for you to post your FCF file? If the content is sensitive, you can PM me, Steve, Dave or Ben and it will be treated with confidence.

Cheers,

Jonny

Ondra
Posts: 325
Joined: Wed Aug 29, 2007 7:33 pm
Been thanked: 2 times
Contact:

Re: V5 upgrade issues

Postby Ondra » Fri Jan 27, 2012 9:29 pm

I created a test file to try and isolate the issue I'm having here is the file.
As You will notice the file does not compile.

Ondra
Attachments
V5_USART_test.fcf
(10 KiB) Downloaded 67 times

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8440
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2412 times
Been thanked: 3450 times
Contact:

Re: V5 upgrade issues

Postby medelec35 » Fri Jan 27, 2012 9:50 pm

Hi Ondra,
I have posted a fix here:
viewtopic.php?f=47&t=10122

Fingers crossed :)

Martin
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 64 times
Been thanked: 306 times
Contact:

Re: V5 upgrade issues

Postby JonnyW » Fri Jan 27, 2012 9:59 pm

Cheers Martin, was just posting that! Martins fix should work fine - we will have this fixed in the next release.

Jonny

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8440
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2412 times
Been thanked: 3450 times
Contact:

Re: V5 upgrade issues

Postby medelec35 » Fri Jan 27, 2012 10:03 pm

Sorry Jonny hope I did not tread on your toes. Your the master of Flowcode compared to me.
If you like I will wait a bit longer before jumping in. :)

Martin
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 64 times
Been thanked: 306 times
Contact:

Re: V5 upgrade issues

Postby JonnyW » Fri Jan 27, 2012 10:10 pm

Not at all, feel free to fix em all! Especially as I'm meant to be cooking tea at the moment...

Jonny

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8440
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2412 times
Been thanked: 3450 times
Contact:

Re: V5 upgrade issues

Postby medelec35 » Fri Jan 27, 2012 10:19 pm

JonnyW wrote:Not at all, feel free to fix em all!

I wish :lol:
I'm nowhere near that cleaver :P

I have noticed you do look at these forums at all sorts of times in the day and the evening.

I'm surprised you get time to make the tea :lol:
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 64 times
Been thanked: 306 times
Contact:

Re: V5 upgrade issues

Postby JonnyW » Fri Jan 27, 2012 10:26 pm

Ah, I'm sure if anyone could get em then you could. Yeah, itts non-stop. My hobby as far as programming goes is compiler design. Thing is when I am rebuilding my compilers it takes several minutes from a clean build, so its nice to have a distraction in the forum. Problem is it can be a little too distraction at times.

Ondra
Posts: 325
Joined: Wed Aug 29, 2007 7:33 pm
Been thanked: 2 times
Contact:

Re: V5 upgrade issues

Postby Ondra » Sat Jan 28, 2012 12:46 am

Thanks guys for the quick response. I'll give a try.

Ondra