Uploading Software to GSM Device | Telit Cinterion IoT Developer Community
March 29, 2015 - 10:33pm, 8268 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.
Here's the log fragment from the Netbeans demo app running for comparison:
Copying 1 file to C:\Users\Public\Cinterion\EHS5 WTK Examples\NetBeansSamples\HelloWorld\dist\nbrun2382026781731144844
Copying 1 file to C:\Users\Public\Cinterion\EHS5 WTK Examples\NetBeansSamples\HelloWorld\dist\nbrun2382026781731144844
Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam....
Starting emulator in execution mode
Using USB port COM45.
Connecting to module...
Initializing module for debugging...
Establishing "IP connection for remote debugging of EHSx"...
Registering ip address "192.168.244.1" of remote debugging device...
Waiting for debug device registration of "IMP_NG_EHS5_REMOTE"...
Passing control to external device emulator...
Installing suite from: http://192.168.244.2:61347/HelloWorld.jad
Constructor
startApp
Hello World
destroyApp(true)
End of debug session. Emulator is closed
Still having issues, the following screen shots of my current setup / responses when running from within Netbeans 7.2 on a Windows 7 system:
Device Manager:
With HyperTerminal connected to the RS232 port, I get:
SYSTEM.OUT STARTED
MIDlet:com.cinterion.jrc.JRC_MIDlet autostart
Now no: ^SYSTART - so now not able to respond to ATI commands
As can be seen from the screen shots Netbeans is failing to connect with the EHS6T even when using the demo program:
It is trying to use COM3 which from the Device Manager is a valid port. Tried power down / up of the EHS6T but still does the same thing.
On Netbeans, using Run With to ensure using correct interface:
Netbeans Output Window response to 'Run':
Note: The same error message is generated for the example MIDlets.
Update:
The issue appears to be an installation issue again. If you install the CWTK without the modem connected - typically with other installations you install the software first before connecting the device. However if that is done then you only get the device: IMP_NG_EHS6 option and not the IMP_NG_EHS6_REMOTE1 option. Doing a Repair install with the EHS6T connected, did not cure the issue. Ended up deleting the old installation and then doing an install with the device connected. Now I can actually connect to the device from within Netbeans with XP or Win 7 to do a Run or Debug session.
On a Windows XP (sp3) Installation:
Using 'Run' on the HelloWorld demo gives:
With XP it is indicating there is an issue with the setup and therefore not even attempting to connect to the EHS6T.
I have also tried updated the CWTK to the rev03, but no difference. Although Windows can detect the EHS6T, the CWTK installation cannot - gives 'No supported module' found, although checking Device manager before / after installation indicates Windows can 'see' the EHS6T, it is only the CWTK that cannot see it.
The CWTK detects the Netbeans , Eclipse IDE's are installed.
The XP RAS was an installation issue - simply doing a Repair installation, or upgrading to the latest issue was not sufficient. Needed to delete all Siemens, Cinterion product references in the Registry - One hour + of deletions - would be nice if there was a Registry cleaner for this !!. This was sorted out the RAS error and now able to run the application from Netbeans.
Hello,
Thank you for your feedback.
If System.out from the MIDlet is redirected to one of the ports this port is reserved for System.out exclusively and no AT commands are available on that port.
Sometimes if there are problems with debug connection repair may not be enough and re-installation may be needed.
Sometimes removing all Cinterion USB drivers helps to solve such problems (the easiest way might be to use some freeware tool that can detect all USB devices and drivers including not currently connected).
Regards,
Bartłomiej