Gemalto is now part of the Thales Group, find out more.

You are here

EHS6 development environment problems. | Thales IoT Developer Community

eppie

May 6, 2014 - 7:12pm, 3727 views

Hello,

I have installed the EHS5 SDK on computer (windows 7) and on a windows XP virtual machine (virtual box). As IDE I installed first Netbeans 7.3 and later Netbeans 8.0. The problem is I cannot get Netbeans to work with the module simulator. MES is working fine and also the drivers are installed.
(Multiple USB Comport 1 t/m 6 and a Debug Modem USB). I connected the module through the USB connector.
The device address manager even find the module and the Dailup connection looks like to work.

UPDATE:
It looks like that it is a problem in the HelloWorld netbeans sample project itself! The RS232Demo Netbeans project is working for me!

Anyone any idea? :(

NETBEANS OUTPUT
Starting emulator in execution mode
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...

*** Error ***
Failed to connect to device 0!
Reason:
Emulator 0 terminated while waiting for it to register!

End of debug session. Emulator is closed!

WM_DEBUG_CONFIG.INI
#
# This ini file is used to configure emulator.exe
#

[General]
# Define the used module type
ModuleType=EHS5
ConnectionName=IP connection for remote debugging of EHSx

[Debug]
# AT command for module initialization before debug session
InitAtCommand=ATE0
# IP addresses for remote debugging of module and debug host
# The address range 10.x.x.x is not supported for remote debugging!
LocalIpAddress=192.168.244.2
RemoteIpAddress=192.168.244.1

AT^SCFG?
^SCFG: "Call/ECC","0"
^SCFG: "Gpio/mode/ASC1","std"
^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","rsv"
^SCFG: "Gpio/mode/PULSE","gpio"
^SCFG: "Gpio/mode/PWM","gpio"
^SCFG: "Gpio/mode/RING0","std"
^SCFG: "Gpio/mode/SPI","rsv"
^SCFG: "Gpio/mode/SYNC","std"
^SCFG: "GPRS/AutoAttach","enabled"
^SCFG: "Ident/Manufacturer","Cinterion"
^SCFG: "Ident/Product","EHS6"
^SCFG: "MEopMode/SoR","off"
^SCFG: "MEShutdown/Fso","0"
^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: "Userware/Autostart","0"
^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","usb1",,,,"off"
^SCFG: "Userware/Watchdog","1"

at^sjam=4
^SJAM: "a:/HelloWorld.jad","HelloWorld","Gemalto M2M GmbH","1.0",0,3560,0
^SJAM: "a:/JRC-1.50.9.jad","Java Remote Control MIDlet Suite","Cinterion","1.50.9",1,669007,0

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

OK

ati1
Cinterion
EHS6
REVISION 02.000
A-REVISION 00.000.03

OK