Page 1 of 3

W5500 Ethernet not working in Version 10

Posted: Mon Sep 18, 2023 6:31 pm
by pilot123
Hi
The W5500 module does not work in Version 10, ie: I am unable to Ping device, I am using a BL0080 development board with the ETH WIZ W5500 module connected to Port A.

I have uploaded a simple test program which works in V9 and V8., In V9 I have to use the V8 Compiler to get the W5500 to work.

I have tried this solution in V10 to no avail.

Any help would be appreciated.

Thanks

Re: W5500 Ethernet not working in Version 10

Posted: Fri Sep 22, 2023 11:53 am
by Steve-Matrix
Can you please post the following files for both the working v9 project and the same project when compiled using v10 as this may help us solve the issue quicker:
  • FCFX project file
  • generated C Code file
  • msg.txt file

Re: W5500 Ethernet not working in Version 10

Posted: Fri Sep 22, 2023 12:04 pm
by medelec35
Hello.
In addition to Steve's post, I have generated a FC10 hex file.
Can you use mLoader to program via BL0080 and let me know if it works, please?
pilot123 wrote:
Mon Sep 18, 2023 6:31 pm
I have tried this solution in V10 to no avail.
Did you get FC10 to compile OK with v1.45 (FC8 compiler) or were there any errors?

Re: W5500 Ethernet not working in Version 10

Posted: Fri Sep 22, 2023 3:01 pm
by pilot123
Hi Steve

Thanks for your response I have attached the files as requested for V9 using V8 Compiler

Re: W5500 Ethernet not working in Version 10

Posted: Fri Sep 22, 2023 3:03 pm
by pilot123
Hi Steve

Files or V10, hope these help?

Regards.

Re: W5500 Ethernet not working in Version 10

Posted: Fri Sep 22, 2023 3:34 pm
by pilot123
Hi Medelec

Thanks for your reply, I have loaded your Hex File using mloader and it works OK.

I can ping 192.168.100.135

When I tried the V8 compiler with V10 it would not compile, I just got an error message.

Hope this helps.

Regards.

Re: W5500 Ethernet not working in Version 10

Posted: Fri Sep 22, 2023 8:26 pm
by medelec35
Hi. Thank you.
Yes, it does help.
I created the hex file with Flowcode v10 but using the compiler that is supplied with v8.
It was just to prove if there was an issue with Flowcode v10 component or the microchip compiler.
At least we now we know the answer.
As its a compiler issue, I think the way around this is for you to create a new pic compiler option to access the v8 compiler for when you are using the W5500 module.
I will have a discussion with other staff on Monday to see if it's the best way forward.

Re: W5500 Ethernet not working in Version 10

Posted: Fri Sep 22, 2023 9:04 pm
by medelec35
Hi.
I have one more hex file for you to try.
If it works it would be the easiest solution.
I'm not confident it will work, but it's worth a shot.

Re: W5500 Ethernet not working in Version 10

Posted: Sat Sep 23, 2023 9:50 am
by pilot123
Hi Martin

I have tried Pingtest FC10 v10 Compiler, it does not work unable to ping.

Regards.

N.B. I have attached the message file that I get when I try to compile in Version 10 using Version 8 Compiler.

Re: W5500 Ethernet not working in Version 10

Posted: Sun Sep 24, 2023 11:13 pm
by medelec35
Hello.
The error is because xc8-cc.exe is used in xc8 v2.0 and above.
If using v10 with xc8 1.45 then I can help you with that.
I am wondering if the compiler bug has been fixed with XC8 v2.45?
Attached is the generated hex file for you to try.