App is not starting | Thales IoT Developer Community
April 20, 2015 - 12:50pm, 3110 views
Hi all,
I have a Java midlet running on several modules (over 10).
I have one module that after restart (auto start is on) is not starting the midlet. Even with direct run at command it don't run.
I've checked the config differences between the working modules ant the not working.
The only different I've found is this:
^SCFG: "URC/Ringline","off"
^SCFG: "URC/Ringline/ActiveTime","2"
Those line exists only in the not working module.
How can I solve it?
Full config:
? ^SCFG: "Call/ECC","0"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Gpio/****/ASC1","std"
^SCFG: "Gpio/****/DAI","gpio"
^SCFG: "Gpio/****/DCD0","std"
^SCFG: "Gpio/****/DSR0","std"
^SCFG: "Gpio/****/DTR0","std"
^SCFG: "Gpio/****/FSR","gpio"
^SCFG: "Gpio/****/HSIC","rsv"
^SCFG: "Gpio/****/PULSE","std"
^SCFG: "Gpio/****/PWM","std"
^SCFG: "Gpio/****/RING0","std"
^SCFG: "Gpio/****/SPI","rsv"
^SCFG: "Gpio/****/SYNC","std"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEShutdown/Fso","0"
^SCFG: "MEopMode/SoR","off"
^SCFG: "Radio/Band","511"
^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","off"
^SCFG: "URC/Ringline/ActiveTime","2"
^SCFG: "Userware/Autostart","1"
^SCFG: "Userware/Autostart/Delay","100"
^SCFG: "Userware/DebugInterface","0.0.0.0","0.0.0.0","0"
^SCFG: "Userware/DebugMode","off"
^SCFG: "Userware/Passwd",
^SCFG: "Userware/Stdout","null",,,,"off"
^SCFG: "Userware/Watchdog","0"
Thanks,
Shaul
Hello,
I would start from MIDlet re-installation to be sure that all versions are the same and that autostart parameters are added to the jad file.
There is a delay configured for autostart to 100 - the unit is 100ms so we have here 10 seconds delay.
The system out is not set so there will be no output from application - please enable it and check if there is any output on start - maybe some exception and application crash.
Check the installed applications with the AT^SJAM=4 and running after module's restart with AT^SJAM=5.
If the application is installed and still not starting automatically please try to start it manually with AT^SJAM=1,"a://AppName.jad",""
If it will not help please verify the firmware version with ATI1 and installed JRC version with AT^SJAM=4 and compare with the working modules.
Regards,
Bartłomiej
Hi,
I've tried all of the above.
Even ran the AT^SJAM=5 and I saw only the JRC is running.
The only thing I can think of is that there is no output and the app is crashing.
I've tried to set the output to asc0 using the following command:
AT^SCFG="Userware/Stdout","ASC0"
And this is the result:
Is this my problem?
Here is the module configuration:
Thanks,
Shaul
Hello,
You can't enable application system out on the interface on which you are issuing the command. This will disable the AT commands interpreter on the interface - it will be reserved for system out exclusively. Please try other interface.
If you would like to use ASC1 you will first need to change this setting:
^SCFG: "Gpio/****/ASC1","rsv"
to "std".
Pleas check if it is possible to run some other application on the module (for example one of the samples).
Regards,
Bartłomiej