Hello, I want to use freemaster and ethernet communication, inits works fine, but when I send first message through ethernet freemaster stop working. I tried set up different interrupt priority and timeout but nothing works.
Thanks.
When you're encountering issues with FreeMASTER and Ethernet communication that cause FreeMASTER to stop working after sending the first message.
Check Your Code
Memory Allocation
Interrupt Handling
Timeout Handling
Error Handling
Debugging Tools
Resource Conflicts
Firmware and Library Updates
carefully reviewing your code and configuration.you should be able to identify and resolve the issue causing FreeMASTER to stop working after sending the first Ethernet message.
Hello,
please describe your hardware (target MCU, board) and software (SDK demo version, configuration TCP or UDP).
Did you try the out-of-box fmstr_net demo?
Thanks,
Michal
I am using MIMXRT1062 MCU and SDK lwip_udpecho_bm for ethernet and for FREEMASTER fmstr_example_usb_cdc.
I want to send message through Ethernet to change some variables that affect some calculations and that results display in FREEMASTER.
So, is this correct?:
General answer is: using FreeMASTER over USB should still work regardless of what is happening in the network stack (otherwise something else is broken). If you loose the network connectivity, but FreeMASTER keeps working over USB, than I'm afraid I cannot help you really - you will need to debug what is going on.
Please confirm my understanding is correct.
BTW: Mixing the network demo (which uses FreeRTOS) and a bare-metal USB demo could be tricky. I'd recommend to eliminate the USB completely. Just start from the fmstr_net demo and use the FreeMASTER over net too.
Thanks,
Michal
Yes, you understand it correctly. Except I don't loose network connectivity, network communication works fine, just Freemaster stop working after first message is send through ethernet.
Hello,
this is quite complex case, so I can only give some recommendations:
If not, I'd start to suspect the network stack keeps triggering an interrupt and will not let other code to run.
If this also does not work, I'd suspect also potential memory corruption or other more serious issue.
Regards,
Michal