Uploading Software to GSM Device | Telit Cinterion IoT Developer Community
March 29, 2015 - 10:33pm, 7932 views
On a Windows 7 Installation I can see the the symbol for the GSM Module, but only if I select 'Computer' in Windows Explorer. This will show the GSM module as 'Module System Folder' in the right hand side window, along with any other drives on my system, but without a 'letter' allocated to the drive.
This means I am unable to 'drag' any jar / jad files to the Module since I cannot view the Module and the files at the same time.
What do I need to do so I can see the Module and the files at the same time so I can upload the files?
The Command Line MES commands don't appear to be able to 'see' the Module - just give a help screen but no actual data.
Thank you in advance.
right click on Module folder, select "Port" tab, and set the port that you want to use to connect to module. After that just click two ***** with the left mouse button on the module folder, you should then see drive a:/ inside, open it and put inside what ever file you want.
Tried that, managed to select one of the ports, which indicates the modem is being detected and ensuring I did not select the USB COM port that Device Manager, says do not used, but on double clicking on the Module All I get is the error message:
Any other ideas ??
Please close Windows Explorer window and any terminal connections to the module, then reset the module.
After that check the ports in device manager, try to connect via terminal and check if you can send AT commands (not all the ports you can see in the device manager may be usable for AT commands).
If AT commands are working on the port please close the terminal and configure that port for MES as described by Jure. This port should also work with MES.
I managed to find one of the other USB ports that gave the Module Disk A:
However this was still on the right hand files window, not on the left hand side folder window - thus still not able to 'drag' files to it. Not able to see anything on the A drive.
Using the Com port that worked, I can use HyperTerminal to communicate with the module, and it responds to AT commands.
If I use the command line MESport COM15 , where COM15 is the port I am using, it gives a message:
Given Port COM15 is already set.
So still no wiser to what I need to do to actually load the files onto the Module.
The Module is shown as "Other" on the right - that's how it works. When you double click on that you will see "Module Disk A". When you double click you will enter the public file system which will be empty in the new module. You can copy paste or drag and drop files from another window if you want.
If you prefer text mode here's the example:
mescopy.exe "deployed\IMP_NG_EHS5_REMOTE1\SomeApp.jar" mod:A:SomeApp.jar
mescopy.exe "deployed\IMP_NG_EHS5_REMOTE1\SomeApp.jad" mod:A:SomeApp.jad
I have now finally managed to load a MIDlet onto the EHS6T.
Thank you for your help.
The next stage is debugging. I've not managed to locate any meaningful decription on debugging the EHS6T using the Netbeans environment. Can you control the execution / debugging of your MIDlet running on the EHS6T from within the Netbeans environment, or are you reliant on setting the MIDlet to autostart and then rely on outputting messages on one of the ports, ie ASC0, to find out what progress, if any, is being made? I just get RAS debug connection messages (whatever they are), when I try and use any of the Run, RunWith, Debug commands within Netbeans.
Debugging or running directly from Eclipse or Netbeans is possible.
You need to install the software environment form install CD.
You will find the detailed description of installation and running in Java User's Guide document.
If you will have problems with running/debugging please paste the log.
You can also install and run the MIDlet manually (AT^SJAM command). Autostart is not needed.
You can redirect the System.out to one of the interfaces:
I have already installed the CMTK, which will have atomatically installed the JDK.
In Netbeans I installed the Mobility and the SDK plugins, which is confirmed on the installed Plugin tab.
Is there anything else I need to install / setup other than what I have indicated above? - I don't see anything else in the user guide.
Using HyperTerminal to redirect the output to HyperTerminal and install and run my application manually just gives OK on both the redirection and the install/run- but none of the output messages embedded in my program. Thus this is why I would like to be able to be able to 'step' through the program via Netbeans to see what is going on, or not going on in my case.
However I think there must still be a setup issue with the Netbeans environment / installation which is giving the RAS Debug message.
What is the correct command sequence to install / run the MIDlet from within Netbeans - just in case I am missing a stage.
Is there a log generated by Netbeans at this stage which might indicate what is going on - how to I access this log ??
Thank you for your continued support.
It appears the RAS Debug message is still a Win 8 issue. I dusted off an old Window XP (sp3) pc and it doesn't generate this message. However only one small step forward.
Using Run With and keeping the defaults:
Select Platform: IMP-NG EHS5 Wireless Toolkit by Cinterion ... why no EHS6T option or EHS* if for both.
Select Device: IMP_NG_EHS5.
If I select Debug Project (Project Name), I get message in bottom left hand corner:
Building Project Name (Debug)
Attaching to host **** ... port changes each time run
Attaching to host ****
The impression is there must be some setup required - ie for the particular Com port used??
Any ideas ?
EHS5 is for both EHS5 and EHS6 - this is OK.
To run the MIDlet manually - if you have set the System.out to some of the ports and you have connected terminal to that port (module's usb port names mapping to PC port names you can find in the device manager under ports), installed and run the app like below:
AT^SJAM=0,"SomeApp.jad","" - install
AT^SJAM=1,"SomeApp.jad","" - run
you should see the log from application.
Please write where did you set the System.out.
To run the project from Netbeans you just need to right click on the project and choose Run.
Then you should see the log in the Output window.
You can import one of the sample projects as described in the Java User's Guide to compare the project's configuration.
Check the Platform in the project's configuration and make sure that the Device is IMP_NG_EHS5_REMOTE1.
The debugger uses the Cinterion EHSx Java Debug Modem device which you can find in the Device Manager. When it starts the OJMEE app is started (you can find it in the system tray if running) and 'IP connection for remote debugging of EHSx' is started.
If you are using a firewall it may be necessary to deactivate or reconfigure it to.
The log is important - if anything fails it can help to find the reason.
You can also find other threads on the forum to see what problem others had.