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
W5500 Ethernet not working in Version 10
-
- Posts: 30
- 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
- Attachments
-
- PingtesV10t.fcfx
- (10.73 KiB) Downloaded 667 times
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: W5500 Ethernet not working in Version 10
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
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: W5500 Ethernet not working in Version 10
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?
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?
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 580 times
Martin
Re: W5500 Ethernet not working in Version 10
Hi Steve
Thanks for your response I have attached the files as requested for V9 using V8 Compiler
Thanks for your response I have attached the files as requested for V9 using V8 Compiler
- Attachments
-
- PingtestV9.msg.txt
- (3.08 KiB) Downloaded 818 times
-
- PingtestV9.c
- (74.29 KiB) Downloaded 732 times
-
- PingtestV9.fcfx
- (10.29 KiB) Downloaded 816 times
Re: W5500 Ethernet not working in Version 10
Hi Steve
Files or V10, hope these help?
Regards.
Files or V10, hope these help?
Regards.
- Attachments
-
- PingtestV10.msg.txt
- (2.65 KiB) Downloaded 591 times
-
- PingtestV10.c
- (76.35 KiB) Downloaded 828 times
-
- PingtestV10.fcfx
- (10.73 KiB) Downloaded 836 times
Re: W5500 Ethernet not working in Version 10
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.
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.
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: W5500 Ethernet not working in Version 10
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.
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
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: W5500 Ethernet not working in Version 10
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.
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 787 times
Martin
Re: W5500 Ethernet not working in Version 10
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.
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 784 times
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: W5500 Ethernet not working in Version 10
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.
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 933 times
Martin