TC65i dev Windows 7 64bits

345 views
Skip to first unread message

Gabriel Duarte

unread,
Jan 6, 2014, 1:09:34 PM1/6/14
to javacint
Anyone using on Windows 7 64bits?

I received the new SDK, v2.000+ to work on Windows 7, but I cant deploy my app to the device... any advices?

I have attached a screenshot with the problem that's occurring.

Thanks in advance,

--
Gabriel Duarte
Linux User #471185
Rio de Janeiro / RJ
http://genericdev.wordpress.com/
error_tc65i_deploy.png

Timo M

unread,
Jan 7, 2014, 5:18:46 AM1/7/14
to java...@googlegroups.com
Hi Gabriel,
There could be several isses like:
- No COM port on your PC or not correct COM port specified in properties of cinterion module (in My Computer)
- USB to RS232 converter that is not properly working is you are using one of those.
- The device that is not setup in proper baudarate (usually AT+IPR=115200) or it is missing SIM card, etc.

Kind regards,
Timo
---------
TC65i programming, source codes and training ->  http://www.tc65.nl


Op maandag 6 januari 2014 19:09:34 UTC+1 schreef Gabriel Duarte:

Gabriel Duarte

unread,
Jan 7, 2014, 8:53:35 AM1/7/14
to javacint
Hello Timo,

The COM port is correct, once I can access the device via TeraTerm and issue some AT commands.
I was using an USB to RS232 converter, but I gave up on this and came back using USB connection.

Where do I set the baudrate? On the device manager? If yes, I did. I got an SIM card installed. I will continue investigating.

Cheers,





2014/1/7 Timo M <tima...@gmail.com>

--
javacint group - http://www.javacint.com/
---
You received this message because you are subscribed to the Google Groups "Cinterion Java enabled chips support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacint+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Gabriel Duarte

unread,
Jan 7, 2014, 12:24:10 PM1/7/14
to javacint
It works!!!! The baudrate now is set to 115200 in both sides.

Now I am trying to find where is the conf file to set the debug output as true.

Cheers


2014/1/7 Gabriel Duarte <confu...@gmail.com>

Gabriel Duarte

unread,
Jan 7, 2014, 2:10:31 PM1/7/14
to javacint
Ahhhh problems after problems...

I managed to find the config file and grab the output over the IDE, but now, I got this problem:

KdpDebugTask connecting to debugger 1 ..
Attached JPDA debugger to localhost:49666


JAVA ERROR: MIDlet initialization failed: java.lang.NoClassDefFoundError: com/cinterion/io/ATCommandFailedException






2014/1/7 Gabriel Duarte <confu...@gmail.com>

Timo M

unread,
Jan 8, 2014, 4:29:18 AM1/8/14
to java...@googlegroups.com
Hi Gabriel,

What TC65i version are you using? Is it TC65i 02.004, TC65i 01.100 or TC65 03.000?
You can check it with ATI command in hyperterminal.
You SDK seems to be for the latest 02.004 with package name com.cinterion.*
but I suspect you are running it on older version firmware which still has com.siemens.*
You probably need to update firmware on your device ot 02.004.

If you are using USB connecting then I think it is not sensetive to baudrate  setting.
What kind of terminal device is it from which country/manufacturer?


Kind regards,
Timo
---------
TC65i programming, source codes and training ->  http://www.tc65.nl

Op dinsdag 7 januari 2014 20:10:31 UTC+1 schreef Gabriel Duarte:

azm...@gmail.com

unread,
Feb 12, 2014, 5:41:10 AM2/12/14
to java...@googlegroups.com
Sorry for late answer. I had the same problems.
I have TC65i rev 01.100 (Cinterion).
When I used Cinterion libs in imports I had the same ERROR like yours.
When I changed import to siemens import it will become fine.

I am on Win7 x64. I tried many times with the fresh SDK.
Putty is ok, MES is ok, but  debug is stiil not operated.
Do you use NetBeans or Eclipse?

Could you send me the further info from your computer and module:
1.Content of  WM_Debug_config.ini
2. AT^SCFG=?  from module
3. Does your "IP connection for remote debugging" have the designed IP-address or it is DHCPed?

Thank you


вторник, 7 января 2014 г., 23:10:31 UTC+4 пользователь Gabriel Duarte написал:

Joschka Thurner

unread,
Feb 12, 2014, 6:58:09 AM2/12/14
to java...@googlegroups.com
JAVA ERROR: MIDlet initialization failed: java.lang.
NoClassDefFoundError: com/cinterion/io/ATCommandFailedException


AFAIK, you can not use the new SDK with the old firmware, because the classes have changed (cinterion/siemens). A rev 01 chip only works with the old SDK, which does not work on x64.

But you can update the firmware of your TC65i to rev 2. Ask your vendor for the update tool, it is basically one-click and works without problems (to be safe, remove the sim card and set autostart to 0 before updating the firmware).

Nikita Kapitonov

unread,
Feb 13, 2014, 3:57:40 PM2/13/14
to java...@googlegroups.com


AFAIK, you can not use the new SDK with the old firmware, because the classes have changed (cinterion/siemens). A rev 01 chip only works with the old SDK, which does not work on x64.

That's not true as I successfully use latest SDK for both tc65i rev 01 and tc65i-X chips. You only need to do different imports for different chips. JavaME preprocessor helps much in it.


--


Best regards, | С уважением,
Nikita Kapitonov | Никита Капитонов
head of automation and monitoring
рук. отд. автоматики и мониторинга

Hydrologic Heating Systems
Отопительные системы «Гидролого»


Florent Clairambault

unread,
Feb 13, 2014, 4:13:18 PM2/13/14
to javacint
Yes,

It was described in the tc65dev document and applied in the tc65lib. The funny thing is that I only wrote the idea but never actually tested it and Nikita made it happen.

But it is also true that you need at least the corresponding SDK classes (in the WTK) to be able to build for an other chip.

Once you do this, you can batch deploy program versions. And thus build automatically the same software for devices using 3 different versions of SDK. The limitations are obviously that some classes don't even exist in some devices (you can simulate it though, it's not that complex if you don't have too many of them).

Best regards,
--
Florent Clairambault

Reply all
Reply to author
Forward
0 new messages