error or bug

For general Flowcode discussion that does not belong in the other sections.
ELECTRONICA67
Posts: 143
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 26 times
Been thanked: 9 times

Flowcode v10 error or bug

Post by ELECTRONICA67 »

Hello,

I'm compiling another flowchart and it showed four messages that hadn't been presented.


C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_IO.c: 216: non-reentrant function "_FC_CAL_Port_In_DDR__x" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_Delay.c: 105: non-reentrant function "_delay_ms" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_Delay.c: 128: non-reentrant function "_Wdt_Delay_S" appears in multiple call graphs and has been duplicated by the compiler
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC\PIC_CAL_Delay.c: 141: non-reentrant function "_Wdt_Delay_Ms" appears in multiple call graphs and has been duplicated by the compiler


Compilation successful!

Using <PICKIT3> user settings for linker
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v10\tools\DoNothing\DoNothing.exe


FINISHED


Enrique
Attachments
1.jpeg
1.jpeg (129.89 KiB) Viewed 1169 times

mnfisher
Valued Contributor
Posts: 1546
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 138 times
Been thanked: 737 times

Re: error or bug

Post by mnfisher »

This happens if the function cannot be interrupted and then restarted.
Common issues are use of global variables, hardware registers or (less likely here) static local variables.
Calling routines that require some saved state from ISRs etc will cause issues and is not a good idea.
Can you post a snippet of code that demonstrate?

Martin

ELECTRONICA67
Posts: 143
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 26 times
Been thanked: 9 times

Flowcode v10 Re: error or bug

Post by ELECTRONICA67 »

Hello Martin,

In fact, I just compiled a finished flowchart that didn't show that message. I compiled it and it also showed that message, which wasn't present in compilations prior to 2 or 3 days ago.

ELECTRONICA67
Posts: 143
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 26 times
Been thanked: 9 times

Flowcode v10 Re: error or bug

Post by ELECTRONICA67 »

This is a published example that outputs 1 message.
Attachments
IOC_Pulse_Counter.fcfx
(21.33 KiB) Downloaded 9 times

mnfisher
Valued Contributor
Posts: 1546
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 138 times
Been thanked: 737 times

Re: error or bug

Post by mnfisher »

That compiles okay for me - ran update first.

Anything changed on your machine (updated compiler / different target)

Martin

ELECTRONICA67
Posts: 143
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 26 times
Been thanked: 9 times

Re: error or bug

Post by ELECTRONICA67 »

Yes... it was updated yesterday, I had also reported something similar but with the string function, which was corrected with that update, but now apparently these new messages have appeared, which were not present a few days ago, they appeared after yesterday's update.

ELECTRONICA67
Posts: 143
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 26 times
Been thanked: 9 times

Re: error or bug

Post by ELECTRONICA67 »

I just updated with patch 10.1.2.40 but 3 messages continue to appear. A few days ago none of these messages appeared in that same flowchart.
Attachments
2.jpeg
2.jpeg (167.34 KiB) Viewed 1130 times

ELECTRONICA67
Posts: 143
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 26 times
Been thanked: 9 times

Flowcode v10 Re: error or bug

Post by ELECTRONICA67 »

I'm to update Flowcode... the same thing has happened to me the last 2 or 3 times I've updated. :?
Last edited by ELECTRONICA67 on Sat Jun 21, 2025 3:13 am, edited 1 time in total.

ELECTRONICA67
Posts: 143
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 26 times
Been thanked: 9 times

Re: error or bug

Post by ELECTRONICA67 »

I don't know if these messages affect the correct functioning of the program in any way. :?:

ELECTRONICA67
Posts: 143
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 26 times
Been thanked: 9 times

Re: error or bug

Post by ELECTRONICA67 »

On another computer where I haven't downloaded the last 2 patches, I don't get those messages.

Post Reply