BGS5T - USB debug interface and Windows 10 | Telit Cinterion IoT Developer Community
August 16, 2018 - 10:05pm, 2146 views
Hi,
After many years I find my self back using Java on Gemalto/Cinterion modems. Have got CD image of development kit (bgs5_rev02.000_arn01.001.06_install-cd) and it all installs and runs under Windows 10 except for debug from both Netbeans and Eclipse. Both give "Debug RAS connection is not installed!" when attempting to download and debug code over USB. I see a few similar threads here about this and before I start digging further can anyone tell me if I am wasting my time trying to do this in Windows 10 please? I've not found anything to suggest anyone has cracked this.
Keith
Hi,
Windows 10 is not officialy supported. There are people who installed succesfully install CD with Debug connection on Windows 10 but there is more people who have some issues. There is no clearly way "how to do, step by step". On my side I had to remove all installed things by install CD. Then install properly Java and set Java PATH in environmental variables. During installation I had connected my module. Debug Connection works but with some issues like it starts one out of three *****. You need to remember to have corretly installed all drivers. So It can be a lot of works without any good resultats, but there is possibility all will works.
For most people works that way, that you can build your Java application on Eclipse but install it whithout Debug connection but with transfer .jad and .jar file to your modue memory and then install it by AT^SJAM command. Then use USB connection to monitor your Java output (System.out.println("test");)
I reccomended to install Windows 7. This system is supported as well.
Regards,
Krzysztof
Hi,
Thanks. That's confirmed what I thought. I've managed to run a program as you suggested and will manage like that. I was expecting system.out to come out of ASC0 serial port but see nothing. I know this can be changed but is USB the default? Not sure how to view USB output, I guess I treat it as a COM port and use Putty or similar to treat is as a serial port.
Regards
Keith
Hi,
You can check it in AT^SCFG?. "Userware/Stdout" should be set up as ASC0 if you want to see output from java on this interface. You can write *** well USB. Check if you have connection on the same baudrate. You can check it by typing AT+IPR? (only needed for ASC0 or ASC1). While ASC1 or ASC0 connection please keep attention on "Serial/Interface/Allocation". To use ASC1 is should be setup as (1,1).
Yes, when you use putty you can just open COM connection with speciefed port number what you can find in "device manager".
You can try to connect to your module for trying to write some "AT" commands, like simple AT and wait for "OK" response.
Regards,
Krzysztof