Hi All,
I tried to load SP to pan1323 but can connect to COM port because port chooser wont open.
Regards,
David.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
This is because of using wrong Java version/or wrong java paths as mentioned in the wiki
http://processors.wiki.ti.com/index.php/CC256x_Bluetooth_Hardware_Evaluation_Tool
under "setting java path" section.
Also see http://docs.oracle.com/javase/tutorial/essential/environment/paths.html
Regards,
Tomer
Hi,
I downloaded java form http://www.oracle.com/technetwork/java/javase/downloads/index.html , JDK and JRE and installed.
From wiki section Setting Java Path:
Change line 4 to:
start "C:\Program Files (x86)\Java\jre7\bin\javaw -jar" BT_TOOL_EXE.jar
and
included C:\Program Files (x86)\Java\jre7\bin to PATH variable.
Still the same thing happens.
Regards.
I faced the same issue in the past, but once I added the correct path, it worked.
Did you make sure "C:\Program Files (x86)\Java\jre7\bin" is the correct path in your computer?
Regards,
Tomer
PATH variable:
C:\PROGRAM FILES (X86)\INTEL\ICLS CLIENT\;C:\PROGRAM FILES\INTEL\ICLS CLIENT\;C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WINDOWS LIVE;C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT SHARED\WINDOWS LIVE;%SYSTEMROOT%\SYSTEM32;%SYSTEMROOT%;%SYSTEMROOT%\SYSTEM32\WBEM;%SYSTEMROOT%\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;;C:\PROGRAM FILES (X86)\COMMON FILES\LENOVO;C:\PROGRAM FILES (X86)\COMMON FILES\ULEAD SYSTEMS\MPEG;C:\PROGRAM FILES (X86)\LENOVO\ACCESS CONNECTIONS\;C:\PROGRAM FILES (X86)\WINDOWS LIVE\SHARED;C:\PROGRAM FILES\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\IPT;C:\PROGRAM FILES (X86)\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES (X86)\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\IPT;C:\PROGRAM FILES\INTEL\WIFI\BIN\;C:\PROGRAM FILES\COMMON FILES\INTEL\WIRELESSCOMMON\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files (x86)\Java\jre7\bin;
Computer path:
C:\Program Files (x86)\Java\jre7\bin
Double cheeked
Regards.
Hi Zero D,
I guess you will have to download and use the 32-bit version of the jre.
I had the same problem on my Windows 7 (64-bit). I had to download the 32 bit version of JRE from https://jdk8.java.net/download.html and do the below to open the port chooser:
1. Open a command prompt window
2. cd "C:\ti\Connectivity\CC256X BT\CC256x Bluetooth Hardware Evaluation Tool\v1.0"
3. Type: "C:\Program Files (x86)\Java\jre8\bin\java" -jar BT_TOOL_EXE.jar
Please note that the java is from "Program Files (x86)" which is meant for 32 bit versions.
Of course you can do all the path modifications and run the "CC256x Bluetooth Hardware Evaluation Tool" directly from the start menu, but the above might be a faster way.
Please confirm if it helps.
Hi Sundeep,
Still won't work.
Sundeep Mandava said:I guess you will have to download and use the 32-bit version of the jre.
I had the same problem on my Windows 7 (64-bit). I had to download the 32 bit version of JRE from https://jdk8.java.net/download.html and do the below to open the port chooser:
I downloaded and installed "jre-8-ea-bin-b121-windows-i586-20_dec_2013" from https://jdk8.java.net/download.html .
Sundeep Mandava said:1. Open a command prompt window
2. cd "C:\ti\Connectivity\CC256X BT\CC256x Bluetooth Hardware Evaluation Tool\v1.0"
3. Type: "C:\Program Files (x86)\Java\jre8\bin\java" -jar BT_TOOL_EXE.jar
I attached the log from cmd when I clicked the "Settings->Select Port"
On screen -> "Opening Port Chooser..."
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd C:\ti
C:\TI>cd "Connectivity\CC256X BT\CC256x Bluetooth Hardware Evaluation Tool\v1.0"
C:\TI\Connectivity\CC256X BT\CC256x Bluetooth Hardware Evaluation Tool\v1.0>"C:\
Program Files (x86)\Java\jre8\bin\java" -jar BT_TOOL_EXE.jar
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while
loading gnu.io.RXTXCommDriver
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no rxtxSe
rial in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at bt.terminal.PortChooser.populate(PortChooser.java:178)
at bt.terminal.PortChooser.<init>(PortChooser.java:77)
at bt.terminal.BTmain2.openComm(BTmain2.java:1035)
at bt.terminal.BTmain2$ListenMenuComm.actionPerformed(BTmain2.java:504)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Regards.
Hi Zero D,
Sorry, forgot to mention.
You need to copy: RXTXcomm.jar & rxtxSerial.dll from: "C:\ti\Connectivity\CC256X BT\CC256x Bluetooth Hardware Evaluation Tool\v1.0\BT_TOOL_EXE_lib\"
to: "C:\ti\Connectivity\CC256X BT\CC256x Bluetooth Hardware Evaluation Tool\v1.0\" and then try the same thing.
The error you are getting is because of the missing libraries. Since we are not adding this path to "PATH", we are seeing this error.
Hi Joseph,
I waited for 30 min, and nothing happened then I unplug the USB module by force and then on the window of the BHET printed out this: see "BHET log.txt"
Opening Port Chooser...Port Name: COM3 Controller Baud Rate: 115200 Selected Serial Port:COM3...Serial Connecting...Connected to COM3. Processing BTS file... Finished Processing BTS file Processing BTS file... Finished Processing BTS file Header file saved in: C:\Users\dvrtaric\Desktop\David\cc256x\CC2564_BT_BLE_SP_BTS\sp.h Processing BTS file... Sent: 0x01, Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Sent: Finished Processing BTS file
I don't know if this is ok.
How to check on the module what SP is he using?
How to add SP to may code via IAR?
Regards.
Hi Joseph,
same issue here... The window comes up, however the Port Chooser never shows no matter how often I try.
None of this seems to be working for me. The PATH being extended in the batch process doesn't help. If I copy the libraries into the same folder as suggested in your last post there is no change. I also manually select the jre as suggested earlier.
Is there any log output for when exceptions occur? The exception message would probably give some useful hints as to what I am doing wrong.
My jre is 8r20. Are there any known compatibility issues?
Regards,
Martin
Hi,
Have you tried setting the java path as mentioned in the previous posts?
latest jre version should work. please the above post related to jre compatibility.
You can just add the path of jre in the batch file "C:\ti\Connectivity\CC256X BT\CC256x Bluetooth Hardware Evaluation Tool\v1.0CC256x Bluetooth Hardware Evaluation Tool.bat" and run it.
see
REM echo on cd "C:\TI\Connectivity\CC256X BT\CC256x Bluetooth Hardware Evaluation Tool\v1.0" set path=%PATH%;C:\TI\Connectivity\CC256X BT\CC256x Bluetooth Hardware Evaluation Tool\v1.0\BT_TOOL_EXE_lib start "C:\Program Files (x86)\Java\jre8\bin\javaw -jar" BT_TOOL_EXE.jar REM pause