Page 1 of 1

PIC24FJ128GA202 / TCP_IP_EB023_00_2 component compile error

Posted: Wed Sep 27, 2017 12:12 pm
by leoo
Hi,

When compiling code that uses the TCP_IP_EB023_00_2 Component with a PIC24FJ128GA202, the following error message is generated by FC7 when using the Software channel.

I have installed Flowcode_7_Latest_240817.zip

Error returned from [xc16-gcc.exe]
Completed compilation, return = 1

C:\Program Files\Flowcode 7\compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1

FINISHED

This seems only to occur when the program has been closed, re-opened and then re-compiled. If the component channel is changed to 1 or 2 and back to software, and the MCU pins re-selected, then it compiles with no error. If the program is closed and re-opened again, the process has to be repeated before it will compile successfully again.

If the target is changed to e.g. a dsPIC30F4013 with the correct pins selected, there are no errors even if the program is closed, re-opened and re-compiled.

Kind regards.
Leo

Re: PIC24FJ128GA202 / TCP_IP_EB023_00_2 component compile error

Posted: Thu Sep 28, 2017 4:37 pm
by Benj
Hi Leo,

Thanks for letting us know, I will investigate the problem for you.

Re: PIC24FJ128GA202 / TCP_IP_EB023_00_2 component compile error

Posted: Thu Sep 28, 2017 4:40 pm
by Benj
I can't seem to replicate this, are you running the latest release (7.2.1) and have you applied the latest fixes from here.

viewtopic.php?f=63&t=18760

Re: PIC24FJ128GA202 / TCP_IP_EB023_00_2 component compile error

Posted: Mon Oct 02, 2017 10:56 am
by leoo
Hi Ben,

Thanks fore the reply.

I am running 7.2.1.4 and have applied the latest fix.

I can replicate this reliably on both the PCs I use, but if you are not able to do so then the problem is obviously at my end. I'll poke about some more to try to resolve things.

Kind regards.
Leo

Re: PIC24FJ128GA202 / TCP_IP_EB023_00_2 component compile error

Posted: Mon Oct 02, 2017 11:03 am
by Benj
Hi Leo,

Please can you attach your Flowcode project file, the .C file and .msg.txt compiler messages file. This should allow us to see the problem your facing and hopefully how to overcome it.

Re: PIC24FJ128GA202 / TCP_IP_EB023_00_2 component compile error

Posted: Mon Oct 02, 2017 12:28 pm
by leoo
Hi Ben,

Attached are the files as requested.

This is a very simple test program to confirm that I wasn't seeing ghosts. It does reliably reproduce the problem I've encountered (on my system, anyway).

Kind regards.
Leo