LGA DevKit+EXS82-W start application "Unknown error" problem. And what is at^susrw ? | Telit Cinterion IoT Developer Community
June 24, 2021 - 11:27am, 11314 views
Hi,
I am currently working on module EXS82-W together with LGA DevKit, driver is Ubuntu 20.04. After setting up software environment required and check the firmware, I started to manage embedded applications.
I follow the user guide of SDK, build the application, generate the application root of trust and sign it to the application, verify it, download the signed application to the target. Then, I opened another terminal window to start listening. But when I tried to start the application, it always shows "Unknown error, failed!" (as the sceenshot shows).
I have tried many different ways,
1) Go through app.py and Ctrl+f find this error, it didn't mention; but very interesting thing is there is a line in app.py:
if c.send('at^susrw=1,"A:/' + sargs.APPNAME + '.bin"') == STATUS_KO:
this AT command, I couldn't find any related infomation online or from the EXS82 ATC document.
2) Change to the other application, helloworld, logging... still the same problem
3) Change the module, still the same problem
4) Thinking maybe it's because the FW is newer than the one in the archive, so we "updated" back to 118 from 124, new problem is when I type lsusb
in terminal window, it's not Cinterion but Qualcom, and it couldn't connected, only port /dev/ttyUSB0
5) Check .bin file's permission, enable it, but still same error.
I'd appreciate any kind of help.
Thank you and best regards,
Joefy
Hello,
Are you able to connect on ASC0? Could you check ATI1 reply?
BR,
Bartłomiej
Hello, thank you for your reply!
So, here is what I got when check ATI1:
at
OK
ati1
Cinterion
EXS82-W
REVISION 01.100
A-REVISION 01.000.13
OK
And yes I can connect on ASC0, however it only has one available port, /dev/ttyUSB0. As for the native USB, I got three ports, ACM0, ACM1 & USB0.
I checked both situations, ATI1 returns the same result. What could be the problem?
As for my another module, which I have tried to "update" it back to version 118, and now it just can't connect with the PC, do you also know how to solve this problem?
Thank you ahead.
BR,
Joefy
Qualcomm is a chip provider. Seems like something went wrong during the firmware update. How did you do the update? What are the other version details (ATI1 reply)? Try to update again to the previous version.
Hello,
One doesn't connect to the PC, I don't know how to update. And of course no version detail I can read from ATI1, it doesn't respond to AT.
As for the other one, do you mean to update to previous version 118? Even now the firmware is the latest? This one can connect with PC, the problem is when I try to start the application, it throws "Unknown error and failed" without telling specific error messages.
BR
Joefy
Hello,
Do you have any news about the "Unknown error" when I tried to start the application? This is very frustrated that you have been shut down before some error that did not tell you specific reason, and we have tried many ways. When I go back to check the app.py, the reason why it returns failed was because this line:
somehow it freaks out and returns us "Unknown error", but I couldn't find any information in ATC and online. Thank you ahead for your help.
BR
Joefy
Hello,
AT^SUSRW is to run the userware. I can see it in the AT spec. So maybe you have the wrong or old version. Please try this command manually to see if the module supports it, for instance AT^SUSRW=5 to list the running applications. Not all EXS82-W firmware versions support embedded applications.
As for the broken module if it also does not communicate on the serial interface it may mean that it's broken and you may not be able to fix it. If you were doing firmware update you must have got update programs from somebody. The names of files should contain the firmware versions. It may be the case that updating between these versions is not allowed.
BR,
Bartłomiej
Hello!
Oh, thank you for your reply. Could you please send me the newest specification for AT comments? And I try to recommend manually, it replies OK, which seems to make sense to me, since I couldn't start the application, there is no running application. And as for the firmware update, I got the reply and he will check with embedded processing department to see how to update this specific firmware.
BR,
Joefy
Hello,
I've sent you the newer AT commands specification document.
BR.
Bartłomiej
Hello,
Thanks for the document! According to what you said, not all EXS82-W firmware version supports embedded applications, right now, according to ATI1, the firmware in my module is 36A, and I have received the 48B, and the bootloader seems newer, or at least 124>118, so, should I update it? And dose 36A support embedded applications?
Hello,
At the moment I'm not sure about 36A. I'd need to consult it. But 48B does for sure. If you have the firmware update executables there should be separate versions for different bootloaders. So if your bootloader would be 118 there is a version for 112 or higher.
Best regards,
Bartłomiej
Pages