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

You are here

BGS5 restart (?) during eclipse OTAP | Thales IoT Developer Community

February 10, 2017 - 2:17pm, 2780 views

Hello there.

At first I was using the EHS6 for my program, everything running fine in Eclipse (uploading the program, terminating it through an AT  command, re-uploading with the fixes etc..)

I switched to BGS5 because of the lower price, and the its capabilites are just fine for my scenario. The problem I'm facing with the BGS5 is that it seems to restart during the "internal" otap Eclilpse is making (happens around 90% of the *****).

What I'm getting in eclipse:

 Using USB port COM89.

Connecting to module...
Initializing module for debugging...
Establishing "IP connection for remote debugging of BGSx"...
Registering ip address "192.168.244.1" of remote debugging device...
Waiting for debug device registration of "IMP_NG_BGS5_REMOTE"...
Passing control to external device emulator...
Installing suite from: http://192.168.244.2:50168/MeterData.jad
Exception in thread "Object Server Connection - Handle JMX Notification Thread" java.util.ConcurrentModificationException
	at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
	at java.util.ArrayList$Itr.next(Unknown Source)
	at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl$1.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
 

And what I receive when running a trace on the USB com port

Trace

(the bottom line "input/output error" means that connection was lost with the com port)

So what I assume that is happening is that for some reason the module is restarting.

Things to notice

  • The same code/procedure works flawlessly with the EHS6
  • With the BGS5 the above error usually happens, so then I have to turn off/turn on the device and try again. The program uploads successfully and can debug in Eclipse around 1 out of 10 ***** that I try

Is there a  way fix to that? Is it a common/known issue?