I want to develop a PROFINET device based on RT11186 and test the profinet demo according to UG10320 V1.0, UG10455 V1.0 and AN15104 V1.0. I did the following actions:
1. Extract the Profinet-Stack-Library and AN15104.zip.
2. Copy the frdm_pn.patch to the folder of Profinet stack and apply the patch according to the readme.
3. Manually change the project configuration according to prj.conf.rej/mcux_include.json.rej/mcuxpresso-tool.json.rej. It is the same as the chapter 4.3 of AN15104.
The following definition has been included in the cakelist.txt. They are not modified.
-DCPU_MIMXRT1186CVJ8C_cm33
-DMIMXRT1186_cm33_SERIES
-DXIP_BOOT_HEADER_ENABLE=1
4. Add the "#if (defined(CPU_MIMXRT1186CVJ8C_cm7)... #ifndef configENABLE_FPU...." to enable FPU. This step is not included in the guide. Compiling will be failed if it is not modified, because the default CPU is RT1189 in FreeRTOSConfig.h.
5. Import the Profinet project to VS code based on the SDK 2.6.3
6. Add the project "31_led_button" in the sysbuild.cmake according to step 8 and 9 of chapter 5 of UG10455.
7. Change the J12 and J18 of FRDM-IMXRT1186 to 1-2 connected to enable the NETC PHYs.
8. Build the project and download the image to FRDM-IMXRT1186.
9. Install JDK, Npcap and Open the ICE. The ICE version is V1.7 and it is extraced from port-ICE-202509180853-win32.win32.x86_64.zip.
10. The Profinet device is scaned sucessfully according to chapter 6 of UG10320.
11. Set the DAP and module and Reduction Ratio according to Step1~7 of UG10320 chapter 7.1. It is failed when I click connect button according to step 8 of chapter 7.1.
Can you help me to analysis why it is failed to establish the cyclic communication?
Could you provide a profinet image of FRDM-IMXRT1186 so I can check it is an issue of VS code project or IEC/hardware?
Best Regards!