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

You are here

[EHS6] Problems I2C | Thales IoT Developer Community

November 11, 2015 - 1:12pm, 2355 views

If I poll the I2C bus more then once a second I get IOExceptions like 'could not write to I2C bus, out of memory' and I was wondering what could be the problem because it looks like to be something in the cinterion classes. 

2004-1-1 23:45:34.284 11541kb [TRACE] I2C --> <a9000><a910010>

java.io.IOException: could not write to I2C bus, out of memory

- com.cinterion.io.j2me.i2c.Protocol.writeI2cBytes(), bci=0

- com.cinterion.io.j2me.i2c.Protocol.writeBytes(), bci=5

- com.sun.midp.io.BaseOutputStream.write(), bci=43

- nl.ireal.hal.ehs6.matrix.***3gJavaI2CConnection.writeI2C(***3gJavaI2CConnection.java:133)

- nl.ireal.hal.ehs6.matrix.***3gJavaI2CConnection.sendI2C(***3gJavaI2CConnection.java:114)

- nl.ireal.hal.ehs6.matrix.***3gJavaI2CConnection.readADC(***3gJavaI2CConnection.java:73)

- nl.ireal.hal.ehs6.matrix.***3gJavaI2CADCDriver.getValue(***3gJavaI2CADCDriver.java:26)

- nl.ireal.hal.ehs6.matrix.terminal.MTXDin3GADCDriver.getValue(MTXDin3GADCDriver.java:27)

- nl.ireal.hal.adc.ADC.getValue(ADC.java:39)

- nl.ireal.app.sewertrack20.LevelSensor.getLevel(LevelSensor.java:35)

- nl.ireal.app.sewertrack20.SewerTrack20ProcessTask.execute(SewerTrack20ProcessTask.java:56)

- nl.ireal.app.sewertrack20.ProcessTask.run(ProcessTask.java:36)

- java.lang.Thread.run(), bci=5

2004-1-1 23:45:34.335 11539kb [TRACE] I2C --> <a4000>

2004-1-1 23:45:34.393 11537kb [TRACE] I2C <-- {a+}{a+}

2004-1-1 23:45:34.395 11535kb [TRACE] I2C --> <a410002>

2004-1-1 23:45:34.453 11534kb [TRACE] I2C <-- {a+FF03}