Re: TC65i problem2

1,173 views
Skip to first unread message

mati

unread,
Aug 7, 2012, 8:28:51 AM8/7/12
to java...@googlegroups.com
And the TC65i Software Development Kit - Switch Autostart off program can not connect...: (COM3)
AutoExec Off button - "Cannot connect to Module"

Atached file: -portmon 


2012. augusztus 7., kedd 13:57:04 UTC+2 időpontban mati a következőt írta:
Hi!
I have one TC65i modul... 
I joined the module with RS232. (COM3 port, power supply)
I installed programs:
1. Standard 19200 bps Modem COM3
2. IP connection for remote debugging ( Standard 19200bps Modem COM3, maximum speed(bps): 115200, enable hardware flow control)
3. MES (Module Exchange Suite) (Windows Explorer - Module : no connecting to the module TC65i can't befor and after 3sec (COM3))
4. WTK
5. JDK 1.6 (Command Prompt: javac is RUN)
6. Netbeans IDE 6.0.1 
7. Cinterion IMP-NG TC65i Wireless Toolkit (Java platform)
8. Siemens IMP-NG TC65 R3 Wireless Toolkit (Java platform and Netbeans 5.5.1)
9. Siemens Mobility Toolkit, COM21 virtual port (Emulator to Launcher -"No emulators are installed") 
Atached:
-Modem - Query Modem
-Netbeans debug

When i building (COM3) the program (HelloSample) in Netbeans IDE 6.0.1, i come:

Starting emulator in execution mode
        =========================================================================
          Starting TC65I emulator for running application.   Please wait ...          
        =========================================================================


        Using following ini file for debugging session:
        "C:\Documents and Settings\Administrator\Application Data\Cinterion\CMTK\TC65I\WM_Debug_config.ini"

        COM port used for "emulator session": COM3 

        Used baud rate for the module "115200 baud"...

        Set the COM-Port for MES functions to "COM3"...
                Done.

         >>> Starting Download of Jar and Jad file... <<<


        Downloading "C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\HelloSampleNew\dist\nbrun42110\HelloSample.jad"...

        Download aborted, because of:
        Flash Files System of the module is full  or
        communication problem to the module or
                ...finished
        Module is switched off

Why not download jad and jar files? Why can not good at communicating?
Any ideas anyone?


PortmonSaveRS232toTC65.LOG

ejw

unread,
Aug 9, 2012, 6:37:26 AM8/9/12
to java...@googlegroups.com
Hi Mati,
 
I use COM4 for the MES via USB serial connector. I can't fully remember why, but COM3 and COM4 handle inputs in a different way. Our TC65 puts stdout to ASCO.
 
I use the MES to copy/paste the JAD/JAR files, I have not found a debugger that works.
 
ejw

mati

unread,
Aug 9, 2012, 7:40:16 AM8/9/12
to java...@googlegroups.com
Hi ejw!
Thank you for your answer!
I tried USB/RS232 port (COM2). Currently I'm using a OX16CF950 PCcard (COM3,COM4).
Each port in the same situation.
I set the module ASC1 to ASC0. And AT/Q3, AT+IPR=115200....
And what program (MESServer? )sent you the data (JAD/JAR) files...? 

mati

unread,
Aug 9, 2012, 7:47:14 AM8/9/12
to java...@googlegroups.com
This program can not connect to the module, but i don't know why...
Module-Browse...:"There is no connection. Please make sure that the module and the PC are corretly connected to one another"

ejw

unread,
Aug 10, 2012, 2:51:14 AM8/10/12
to java...@googlegroups.com
Hi Mati,
 
Beside running OTAP to load programs onto the TC65, the only way I have found to load programs to the TC^% from a PC is through cut and paste.
 
I work through a very specific routine, and I am not saying this is the best or the only way, but it is the only way I know how to load the TC65. It is very complex, but usually only takes a few minutes.
 
1 Build my programs in Netbeans.
2 I copy an AT  'autostart off' command from a text page stored on my PC into the clipborad memory,
3 Turn off the TC65 and turn it back on again.
4 I use PuTTy to view the code output on COM4 As soon as I turn on the TC65, I run putty on Com4. Don't run putty before you start the tc65.
5 As soon as I see "Systart"output from the tc65  I paste the autostart/off code using right click into the putty screen. Usually I get an 'OK' response on screen. Close Putty as you want to use this COM port elsewhere.
6 Go to my netbeans dist directory and copy the jad/jar files and close the explorer screen.
7 Open a new explorer screen and go to the .module. option that is the MES.
8 Click into the drive A on the module where the code for the tc65 lives.
9 Paste my copied code into the folder and overwrite the existing files. After the copy has finished ALWAYS check that the timestamp on the new files is correct. Exit explorer
10 Open PUtty and copy an AT autostart/on command from the text page at 2 above - paste into the screen, I get an 'OK' response.
11 turn off and restart the TC65.
 
If you are not using autostart then the steps that turn it off and on again are not required, but I find the most common issue is that the tc65 is starting up and using the serial ports, and that means you can't get to it. That is when I usually get the 'can't communicate' error message.
 
If anyone has a quicker and better way to load onto an autostart system, please let me know!
Reply all
Reply to author
Forward
0 new messages