W5500 Ethernet not working in Version 10

Use this section to discuss your embedded Flowcode projects.
pilot123
Posts: 24
http://meble-kuchenne.info.pl
Joined: Fri Feb 26, 2021 1:50 pm
Has thanked: 1 time
Been thanked: 2 times

W5500 Ethernet not working in Version 10

Post 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
Attachments
PingtesV10t.fcfx
(10.73 KiB) Downloaded 162 times

Steve-Matrix
Matrix Staff
Posts: 1252
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: W5500 Ethernet not working in Version 10

Post 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

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: W5500 Ethernet not working in Version 10

Post 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?
Attachments
Pingtest FC10 v8 Compiler.zip
(1.75 KiB) Downloaded 162 times
Martin

pilot123
Posts: 24
Joined: Fri Feb 26, 2021 1:50 pm
Has thanked: 1 time
Been thanked: 2 times

Re: W5500 Ethernet not working in Version 10

Post by pilot123 »

Hi Steve

Thanks for your response I have attached the files as requested for V9 using V8 Compiler
Attachments
PingtestV9.msg.txt
(3.08 KiB) Downloaded 160 times
PingtestV9.c
(74.29 KiB) Downloaded 175 times
PingtestV9.fcfx
(10.29 KiB) Downloaded 172 times

pilot123
Posts: 24
Joined: Fri Feb 26, 2021 1:50 pm
Has thanked: 1 time
Been thanked: 2 times

Re: W5500 Ethernet not working in Version 10

Post by pilot123 »

Hi Steve

Files or V10, hope these help?

Regards.
Attachments
PingtestV10.msg.txt
(2.65 KiB) Downloaded 158 times
PingtestV10.c
(76.35 KiB) Downloaded 160 times
PingtestV10.fcfx
(10.73 KiB) Downloaded 165 times

pilot123
Posts: 24
Joined: Fri Feb 26, 2021 1:50 pm
Has thanked: 1 time
Been thanked: 2 times

Re: W5500 Ethernet not working in Version 10

Post 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.

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: W5500 Ethernet not working in Version 10

Post 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.
Martin

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: W5500 Ethernet not working in Version 10

Post 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.
Attachments
Pingtest FC10 v10 Compiler.zip
(1.63 KiB) Downloaded 164 times
Martin

pilot123
Posts: 24
Joined: Fri Feb 26, 2021 1:50 pm
Has thanked: 1 time
Been thanked: 2 times

Re: W5500 Ethernet not working in Version 10

Post 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.
Attachments
PingtestV10.msg.txt
(1.93 KiB) Downloaded 164 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: W5500 Ethernet not working in Version 10

Post 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.
Attachments
Pingtest FC10 xc8 v2.45 Compiler.zip
(1.5 KiB) Downloaded 153 times
Martin

Post Reply