Hi @all,
I've been using C project - lwip_ipv4_ipv6_echo_freertos and later moved to my custom C++ project creation- as there is not sample c++ project in SDK. I've been using iMX RT1064 EVK. I was able to sucessgully import all the modules of lwip/freeRTOS/other modules as a C++ project-and compile them without error - yet the code is not working as it is supposed to.
Here, attached the c-based projects, tcp server is working perfectly as visible from ncat application from laptop too. Even the ping cmd works fine
While, in cpp based project - the tcp server itself not working as in ncat - it throws error as No route to host, also the ping cmd is not working.
The projects are accessible via - where the cpp based project is attached. Kindly lookinto it and let me what am I missing ?!
Hi @GanesanGuru ,
I have a question, if you porting a simple C++ demo, eg, just led blinky, whether that function works or not?
Do you try to debug it, whether your ENET init is OK, then use the connection, you need to check step by step, just to check whether you lack some code or not.
Do you also try the SDK demo for - lwip_ipv4_ipv6_echo_freertos, also make sure that works OK on your platform. Then if still have issues, it means your C++ porting have issues, also check the stack, heap situation.
Best Regards,
Kerry