error at^sjam=0 | Telit Cinterion IoT Developer Community
April 2, 2018 - 7:46am, 4412 views
Hi!
I was getting the error on the command
at^sjam=0,"a:/org.eclipse.paho.sample.mqttv3app.jad",""
ERROR
Any idea why this happen? I have check my sjam=4 to ensure there is no same file title. JIC, below is my at^scfg command with the response.
at^scfg?
^SCFG: "Audio/Loop","0"
^SCFG: "Call/ECC","0"
^SCFG: "Call/Ecall/AckTimeout","5000"
^SCFG: "Call/Ecall/Callback","0"
^SCFG: "Call/Ecall/CallbackTimeout","43200000"
^SCFG: "Call/Ecall/Msd","0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
^SCFG: "Call/Ecall/Pullmode","0"
^SCFG: "Call/Ecall/SessionTimeout","20000"
^SCFG: "Call/Ecall/StartTimeout","5000"
^SCFG: "Call/Speech/Codec","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/mode/ASC1","gpio"
^SCFG: "Gpio/mode/DAI","gpio"
^SCFG: "Gpio/mode/DCD0","std"
^SCFG: "Gpio/mode/DSR0","std"
^SCFG: "Gpio/mode/DTR0","std"
^SCFG: "Gpio/mode/FSR","gpio"
^SCFG: "Gpio/mode/HSIC","gpio"
^SCFG: "Gpio/mode/PULSE","gpio"
^SCFG: "Gpio/mode/PWM","gpio"
^SCFG: "Gpio/mode/RING0","gpio"
^SCFG: "Gpio/mode/SPI","rsv"
^SCFG: "Gpio/mode/SYNC","gpio"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEShutdown/sVsup/threshold","0","0"
^SCFG: "MEopMode/CFUN","0","1"
^SCFG: "MEopMode/Comp1",""
^SCFG: "MEopMode/Dormancy","0","0"
^SCFG: "MEopMode/ExpectDTR","current"
^SCFG: "MEopMode/ExpectDTR","powerup"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/Mtpl","0"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules","EHx",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/OTAP","0"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
^SCFG: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","0"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","on"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","asc0",,,,"off"
^SCFG: "Userware/Watchdog","0"
OK
Thanks.
Hello,
If your org.eclipse.paho.sample.mqttv3app.jad file is placed in A drive of the module maybe there was some problem while building the application.
Please send AT+CMEE=2 and try again. An additional error information will be displayed if available.
Regards,
Bartłomiej
Hello, the same happens to me in 2 modules.
AT^SJAM=0,"a:/HelloWorld.jad",""
+CME ERROR: operation not allowed
------------------------------------
AT^SJAM=4
^SJAM: "a:/MTXTunnel3G.jad","MTXTunnel3G","Matrix","10.00",0,416214,0
^SJAM: "a:/MTXTunnelLauncher3G.jad","MTXTunnelLauncher","Vendor","1.0",1,28529,0
^SJAM: "SLAE.jad","SL Agent Module Services","Gemalto M2M GmbH","2.1.1",0,422843,0
^SJAM: "a:/JRC-1.56.54.jad","Java Remote Control MIDlet Suite","Cinterion","1.56.54",1,789491,0
OK
-----------------------------------------
Module:
ATI1
Cinterion
EHS6
REVISION 03.001
A-REVISION 00.000.51
OK
configuration:
at^scfg?
^SCFG: "Audio/Loop","0"
^SCFG: "Call/ECC","0"
^SCFG: "Call/Ecall/AckTimeout","5000"
^SCFG: "Call/Ecall/Callback","0"
^SCFG: "Call/Ecall/CallbackTimeout","43200000"
^SCFG: "Call/Ecall/Pullmode","0"
^SCFG: "Call/Ecall/SessionTimeout","20000"
^SCFG: "Call/Ecall/StartTimeout","5000"
^SCFG: "Call/Speech/Codec","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/mode/ASC1","std"
^SCFG: "Gpio/mode/DAI","gpio"
^SCFG: "Gpio/mode/DCD0","std"
^SCFG: "Gpio/mode/DSR0","std"
^SCFG: "Gpio/mode/DTR0","gpio"
^SCFG: "Gpio/mode/FSR","gpio"
^SCFG: "Gpio/mode/HSIC","rsv"
^SCFG: "Gpio/mode/PULSE","gpio"
^SCFG: "Gpio/mode/PWM","gpio"
^SCFG: "Gpio/mode/RING0","gpio"
^SCFG: "Gpio/mode/SPI","rsv"
^SCFG: "Gpio/mode/SYNC","std"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEShutdown/sVsup/threshold","0","0"
^SCFG: "MEopMode/CFUN","0","1"
^SCFG: "MEopMode/Comp1",""
^SCFG: "MEopMode/Dormancy","0","0"
^SCFG: "MEopMode/ExpectDTR","current"
^SCFG: "MEopMode/ExpectDTR","powerup"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/Mtpl","0"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules","EHx",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/OTAP","0"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
^SCFG: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","0"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","on"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","null",,,,"off"
^SCFG: "Userware/Watchdog","1"
OK
my file is in A drive of the module. I have returned to building the application, and still gives error.
I tried the same application on another module, and it works correctly.
Module:
ATI1
Cinterion
EHS6
REVISION 03.001
A-REVISION 00.000.31
OK
Configuration:
AT^SCFG?
^SCFG: "Audio/Loop","0"
^SCFG: "Call/ECC","0"
^SCFG: "Call/Ecall/AckTimeout","5000"
^SCFG: "Call/Ecall/Callback","0"
^SCFG: "Call/Ecall/CallbackTimeout","43200000"
^SCFG: "Call/Ecall/Pullmode","0"
^SCFG: "Call/Ecall/SessionTimeout","20000"
^SCFG: "Call/Ecall/StartTimeout","5000"
^SCFG: "Call/Speech/Codec","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/mode/ASC1","std"
^SCFG: "Gpio/mode/DAI","gpio"
^SCFG: "Gpio/mode/DCD0","gpio"
^SCFG: "Gpio/mode/DSR0","gpio"
^SCFG: "Gpio/mode/DTR0","gpio"
^SCFG: "Gpio/mode/FSR","gpio"
^SCFG: "Gpio/mode/HSIC","rsv"
^SCFG: "Gpio/mode/PULSE","gpio"
^SCFG: "Gpio/mode/PWM","gpio"
^SCFG: "Gpio/mode/RING0","gpio"
^SCFG: "Gpio/mode/SPI","rsv"
^SCFG: "Gpio/mode/SYNC","std"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEShutdown/sVsup/threshold","0","0"
^SCFG: "MEopMode/CFUN","0","1"
^SCFG: "MEopMode/Dormancy","0","0"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","511"
^SCFG: "Radio/Mtpl","0"
^SCFG: "Radio/OutputPowerReduction","4"
^SCFG: "Serial/Interface/Allocation","1","1"
^SCFG: "Serial/USB/DDD","0","0","0409","1E2D","0058","Cinterion Wireless Modules","EHx",""
^SCFG: "Tcp/IRT","3"
^SCFG: "Tcp/MR","10"
^SCFG: "Tcp/OT","6000"
^SCFG: "Tcp/WithURCs","on"
^SCFG: "Trace/Syslog/OTAP","0"
^SCFG: "URC/Ringline","local"
^SCFG: "URC/Ringline/ActiveTime","2"
^SCFG: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","0"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","on"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","null",,,,"off"
^SCFG: "Userware/Watchdog","1"
OK
---------------------------
AT^SJAM=4
^SJAM: "a:/MTXTunnel3G.jad","MTXTunnel3G","Matrix","9.00",1,385668,0
^SJAM: "a:/MTXTunnelLauncher3G.jad","MTXTunnelLauncher","Vendor","1.0",1,26298,0
^SJAM: "a:/JRC-1.56.40.jad","Java Remote Control MIDlet Suite","Cinterion","1.56.40",1,753963,0
OK
--------------------------------------------
AT^SJAM=0,"a:/HelloWorld.jad",""
OK
----------------------------------------------
Do you know why in the other 2 modules it does not work for me?
Hello,
It's rather not the password problem because you'd rather get the information like "incorrect password".
Are you able to run/stop/install/uninstall any other MIDlet on these modules? Is it possible to run/stop the installed MIDlets?
Maybe there is no freee space on module's file system.
Regards,
Bartłomiej
it does not let me install any .jad
The applications already installed as the MTXTunnel3G.jad and MTXTunnelLauncher3G.jad if you let me execute them.
AT^SJAM=0,"a:/RS232Demo.jad",""
+CME ERROR: operation not allowed
-------------------------------------------------------
AT^SJAM=1,"a:/MTXTunnel3G.jad",""
OK
--------------------------------------------------------
AT^SJAM=1,"a:/MTXTunnelLauncher3G.jad",""
OK
------------------------------------------------------
but it does not let me stop them
AT^SJAM=2,"a:/MTXTunnel3G.jad",""
+CME ERROR: not found
AT^SJAM=2,"a:/MTXTunnelLauncher3G.jad",""
+CME ERROR: not found
The modules are new, there is nothing in the memory only the .jad that I try to install
Hello,
Is there any keystore installed? Can you check this command's answer 'AT^SJMSEC=?' ?
The answer '+CME ERROR: not found' could also mean that the application has crashed after start and is not running. Please make sure it is still running with 'AT^SJAM=5' command.
If the above are not the case here and the apps that you have started are still running, it could suggest some data **********. In that case you could try to run firmware update application with the option for file system recovery checked.
Best regards,
Bartłomiej
Hello, Bartłomiej
Effectively, AT ^ SJAM = 2 did not work because they close immediately after execution.
I still can not install new applications.
the response to the command AT ^ SJMSEC =? is this:
at^sjmsec=?
^SJMSEC: ("cmd","file"),(700)
OK
----------------------
at^sjmsec?
^SJMSEC: 2,0,1,0
OK
---------------------------
I bought the modules without the MTXTunnel, because I do not need it for what I want to do, I do not know if that affects.
The module that installs the jad files. If it comes with the MTXTunnel.
I do not know what you mean by the keystore. Sorry
Hello,
It's good that you have also executed AT^SJMSEC? command because in fact that's what I was interested in. I have written AT^SJMSEC=? by mistake.
So the '^SJMSEC: 2,0,1,0' reply contains the answer why you can't install MIDlets. The first parameter equals 2 which means that the customer keystore is installed with a certificate on the module and only the signed midlets can be installed. This is a sequrity feature to protect the module form installation of unauthorized software. Now only the signed applications can be installed and run. To uninstall it you nedd to have the keystore with certificate and passwords that were used to install the keystore on the module. If you bought the modules with these applications and keystore you need to talk to the compamy that sold it to you. You can read more about these features in the Java User Guide document - you can find one here: https://iot-developer.thalesgroup.com/documentation/download-documentati...
Best regards,
Bartłomiej
Ok, that's what I'll do. thank you very much for your help