Currently, we are trying to get the WP7605 with the modemDemo app installed to work on a board developed in-house.
However, CDC-ECM does not seem to be working well and ping 8.8.8.8 results in Network Unreachable.
To investigate, we set the host CPU on our own development board to disable and connected with WP7605 and a Linux PC via USB cable.
After connecting via SSH and checking with the “app status” command, we found that the modemDemo application, which we thought we had installed, had disappeared.
After investigation, we found that the modemDemo app disappears when the following steps are performed.
Install the modemDemo app on WP7605, configure various settings, and confirm that ping 8.8.8.8 passes
Unplug the USB cable from the Linux PC
Turn off the power of the in-house development board (WP7605 is also turned off).
Turn on the in-house development board (WP76905 will also boot up)
Connect the USB cable to the Linux PC
“app status” via SSH shows that the modemDemo app is gone.
Linux PC is Panasonic CF-SZ6, OS is Ubuntu 18.04.06 LTS.
There are some patterns in which the modemDemo app remains without disappearing, and the following is an example.
If you follow the above procedure and only power On/Off the in-house development board without plugging and unplugging the USB cables No.2 and No.5, the modemDemo app will not disappear.
If you change the Linux PC, the modemDemo app will remain without disappearing even if you do the same thing as above
If the Linux PC is Thinkpad X220 and the OS is xUbuntu 20.04 LTS, the modemDemo app does not disappear
When the Linux PC is Thinkpad X230 and OS is Ubuntu 18.04.06 LTS, the modemDemo app does not disappear
Thank you very much for your reply.
I have made some progress thanks to your advice.
I ran “update modemDemo.wp76xx.update 192.168.2.2 -g”.
Before I ran it, the modemDemo app was disappearing after one power on/off, but now it doesn’t disappear until 3 times (it disappears after the 4th time).
I am attaching the logread log of that case. 20250122_logread.txt (355.1 KB)
You mentioned that it is crashing, is the crash still the cause this time?
Also, are there any possible contributing factors to the crash?
If you know of any, please let us know.
For example, is there a problem with power management or USB control?
Or is the host CPU doing something?
One more question regarding the thread you linked to in one of your previous posts. Flash size wp7607
I think you are asking me to add the modemDemo.adef to the wifi.sdef and create a legato.cwe file.
Could you please tell me why this is?
Is it for the following reasons?
Legato has a rollback function in case of a crash.
If the rollback is triggered by a crash, the modemDemo app will be lost.
If the modemDemo app is already in the original environment, the modemDemo will not be lost even if the rollback is caused by a crash.
If this guess is correct, I think this is a good idea, but I feel that if the cause of the crash is not resolved, it will cause problems later on.
did you also check “legato status” to see if the legato framework has marked to be good system?
I am not sure, but you can do a simple test.
For example, in the adef of your modemdemo, set “start: manual” to be manual start application. After you download the application to module, you can observe if there is any crash message.
Yes, that is correct!
But it is quite strange that it only happens to Panasonic CF-SZ6.
It seems to be not related to module problem.
Did you try this PC with a USB hub and see what happens?
The reason for the above is that I made a mistake.
“update modemDemo.wp76xx.update 192.168.2.2 -g” did not enable the -g option.
I followed the same steps as in your post and [tried 1] disappeared.
In this state, I can now power on and off up to 5 times without the modemDemo app disappearing.
A little progress.
I also tried the USB hub, but the modemDemo disappeared.
The best solution to this problem is to figure out why it crashes, so that is something I would like to investigate.
I would like to proceed with the creation of the legato.cwe file you suggested as the next best thing.
So, investigating the crash, could you please tell me the steps you suggested in your earlier post?
download the modemDemo (update modemDemo.wp76xx.update 192.168.2.2)
run “update -g”
run “app status”
run “app start modemDemo”
turn the power off and on
Repeat No.3 to 5 until no more “modemDemo” appears in “app status”.
Is this procedure correct?
If a crash occurs, where can I find the crash message?
Is it logread?
BTW, does the crash related to the sharing CDC-ECM data operation here?
Are you saying that you believe the crash is a hardware factor?
If so, are you saying that this is not what this Forum deals with?
If so, I agree with you.
I think this is a matter to be dealt with elsewhere.
Thanks for your advice on UART2.
I will also try to create a legato.cwe file.
If any questions arise here, please let me ask again.
I don’t know what the crash relates.
It is quite strange it only happens to particular PC (i.e. Panasonic CF-SZ6), but not in all other PC.
You might need to take more test to see if it only happens to particular Panasonic CF-SZ6 or all Panasonic CF-SZ6.
In addition, you might need to investigate if no CDC-ECM data sharing, will the problem happen?
Besides, setting adef of your modemdemo is just to see if manual start of application will cause the issue or not.
This might help to understand what is causing the crash.
Thank you for your advice.
I added the “interfacesearch” section as you suggested and the build went through.
I updated the built legato.cwe to WP7605 and now the modemDemo is not disappearing.
However, 4 in 30 times, it does not respond to the “app status” command, let alone ping.
It did respond to logread, so I am attaching the log of that case. logread1.txt (136.9 KB)
Is this also caused by the crash?
Also, could you please answer the following question about the cwe file?
Is there any way to know how many crashes or rollbacks have occurred?
Is it popular to build cwe files?
So far I have only dealt with Device Package (.spk) files and Widnows EXE files.
If I needed some application, I used Overlay Legato System (.update).
I am still concerned if legato.cwe is building correctly. (I’m wondering if there are any compile options, etc.)
Is it correct to assume that the legato.cwe built in the following environment is the same as the one in the Device Package(.spk)?
1.The $LEGATO_ROOT in the environment created by the “leaf setup” command.
2.The environment downloaded from “Base Legato System: 19.02.0: Download"
I confirmed that there is no difference between $LEGATO_ROOT and “Base Legato System: 19.02.0: Download” by Diff.
If we update the firmware in the Device Package(.spk) file in the future, will the legato.cwe (Base Legato System(.cwe)) that we modified this time also be updated and the modemDemo will disappear?
Currently, WP7605 is using firmware Release 13 and may be upgraded to Release 17 in the future.