Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

failure to run JAD/JAR file (ERROR: Incorrect parameters) | Telit Cinterion IoT Developer Community

February 27, 2017 - 11:04pm, 7850 views

While debugging/building I tried to use the Eclipse/Gemalto

tools to load a JAR/JAD file to an EHS6 and run/remotely-

debug it. The modules failes to load from the remote

debugger:

Waiting for debug device registration of "IMP_NG_EHS5_REMOTE"...
Passing control to external device emulator...
Installing suite from: http://192.168.244.2:50647/Gem.jad


*** Error ***
Failed to execute MIDlet suite

End of debug session. Emulator is closed!

and if I try to load it manually, I get the following

error:

at^sjam=5
^SJAM: "a:/JRC-1.56.49.jad","Java Remote Control MIDlet Suite","Cinterion","1.56.49",1

OK
at^sjam=4
^SJAM: "a:/HelloWorld.jad","HelloWorld MIDlet Suite","Gemalto M2M GmbH","1.0.0",0,3305,0
^SJAM: "a:/JRC-1.56.49.jad","Java Remote Control MIDlet Suite","Cinterion","1.56.49",1,788015,0

OK

at+cmee=2
OK
at^sjam=0,"a:/Gem.jad",
+CME ERROR: Incorrect parameters
at^sjam=4
^SJAM: "a:/JRC-1.56.49.jad","Java Remote Control MIDlet Suite","Cinterion","1.56.49",1,788015,0

OK

The rub is if I copy the JAR/JAD files to another modem (an EHS5)

the application loads and runs without error.

Any suggestions as to how to trouble shoot it problem?

(I was trying to reflash the EHS6 to perhaps *****

whatever's set wrong, but the installer fails as it's

trying to ***** the flash.

More data:

ati1
Cinterion
EHS6
REVISION 03.001
A-REVISION 00.000.49

OK
at^scfg?
^SCFG: "Audio/Loop","0"
^SCFG: "Call/ECC","0"
^SCFG: "Call/Speech/Codec","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/mode/ASC1","rsv"
^SCFG: "Gpio/mode/DAI","gpio"
^SCFG: "Gpio/mode/DCD0","gpio"
^SCFG: "Gpio/mode/DSR0","rsv"
^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","std"
^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/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","0","0"
^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","192.168.244.1","192.168.244.2","0"
^SCFG: "Userware/DebugMode","on"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","usb3",,,,"off"
^SCFG: "Userware/Watchdog","1"

OK