I: PHY 0 is up
I: PHY (0) Link speed 100 Mb, full duplex
*** Booting Zephyr OS build v3.7.0 ***
I: starting DHCPv4
I: Address[1]: 192.168.0.42
I: Subnet[1]: 255.255.255.0
I: Router[1]: 192.168.0.1
I: Lease time[1]: 86400 seconds
I: Initializing digital input pins.
I: Initializing Temperature (maxim_max31865) Sensor
I: Initializing analog voltage inputs.
I: ADCs HW counter setup done
I: Initializing analog current inputs.
I: Starting analog current inputs thread.
I: Starting analog voltage inputs thread.
I: Setup TLS credentials
I: Resolved: 52.67.214.160:8883
I: Subscribing to 1 topic(s)
I: PUBLISHED on topic "sdk/test/java" [ id: 22435 qos: 0 ], payload: 343 B
(...)
I: PUBLISHED on topic "sdk/test/java" [ id: 28156 qos: 0 ], payload: 343 B
I: Link is down <------------ After this, everything stops. Can't debug, can't flash using CMSIS DAP. Recover only with power cycle.
解決済! 解決策の投稿を見る。
Hello @RenanStarke ,
I just received the reply from the internal team. The said it is best for the you to report this issue in the upstream Zephyr repo. That way, others in the Zephyr Community can help support this issue, including those who support Zephyr's networking stack and the AWS sample. You can create a new GitHub Issue at https://github.com/zephyrproject-rtos/zephyr/issues/new/choose .
Once that Issue is created, NXP can also take a deeper look at this.
Hope it can help you.
BRs,
Celeste
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello @RenanStarke ,
Thanks for your post. Which example demo you are using?
Could you please help me check whether the same error will occur if you use the baremetal AWS IOT project in Select Board | MCUXpresso SDK Builder instead of the Zephyr project?
Would it be convenient for you to tell me the detailed test steps so as to help me reproduce your problem?
BRs,
Celeste
Hi @Celeste_Liu , thank you.
I'm using aws_iot_mqtt_sample with Zephyr 3.7.0 LTS and zephyr-sdk-0.16.8. The problem occurs when the sample code is modified to publish a static string every minute, simulating our application.
west build -b frdm_k64f (without any modification in DTS nor prj.conf)
Although I haven't tested it with AWS using MCU Expresso, I observed that with Zephyr 4.1.0, the Ethernet connection is lost after prolonged operation, but the MCU clock and PHY remain operational.
Hello @RenanStarke ,
Sorry for the late reply.
I have updated Zephyr to the latest version. After checking frdm_k64f.yaml, it seems that it doesn't support the aws_iot_mqtt example.
And there will be error messages after using "west build".
So, are you porting the aws_iot_mqtt example to the K64F by yourself?
BRs,
Celeste
Hello @Celeste_Liu,
"I'm using Zephyr 4.1.0, and it works without any modification or porting. The compiler error you saw is related to AWS TLS certificates. Unfortunately, you have to create a "thing" in the AWS IoT Core, place the certificate files into the creds folder, and then run a Python script as indicated in the build error."
Regarding the YAML file, I think it lists the supported hardware, not the sample itself."
Thank you for your patience. I have reported this issue to the internal team. I will let you know as soon as they have any feedback.
Thanks for your information. I'm a bit busy at the moment, so there's been a delay in my response. Sorry for the inconvenience caused.
I'll conduct the tests as soon as possible and keep in touch with you.
Hello @RenanStarke ,
I just received the reply from the internal team. The said it is best for the you to report this issue in the upstream Zephyr repo. That way, others in the Zephyr Community can help support this issue, including those who support Zephyr's networking stack and the AWS sample. You can create a new GitHub Issue at https://github.com/zephyrproject-rtos/zephyr/issues/new/choose .
Once that Issue is created, NXP can also take a deeper look at this.
Hope it can help you.
BRs,
Celeste
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
-----------------------------------------------------------------------------------------------------------------------