installing XTC Tools 15.0.6 breaks 14 tools?

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
fireblade
Member
Posts: 8
Joined: Tue Dec 08, 2020 6:04 pm

installing XTC Tools 15.0.6 breaks 14 tools?

Post by fireblade »

installing XTC Tools 15.0.6 seems to break the 14 tools

ive installed the 15 tools and while they can detect the xmos xtag

Code: Select all

xrun -l

Available XMOS Devices
----------------------

  ID    Name                    Adapter ID      Devices
  --    ----                    ----------      -------
  0     XMOS XTAG-3             NA8FBAUZ        O[0]

the 14 tools have stopped detecting it

Code: Select all

xrun -l

Available XMOS Devices
----------------------

  No Available Devices Found

which is problematic since there seems not to be an updated version of the devboard reference examples any time soon see (viewtopic.php?f=8&t=8138)

is there a workaround for this or am i going to have to uninstall everything and try reinstalling to fix this?


MyKeys
Member++
Posts: 31
Joined: Mon Jul 03, 2017 9:41 am

Post by MyKeys »

Same problem here on Win10.
Uninstalling 15 tools and re-installing 14 doesn't seem to help.
User avatar
TSC
Experienced Member
Posts: 103
Joined: Sun Mar 06, 2011 11:39 pm

Post by TSC »

I had to go to Windows Device Manager, uninstall the XTAG-3, and delete the driver. Enable "Show hidden devices" if necessary.

Then I reinstalled XTC 14, which fixed it.
User avatar
TSC
Experienced Member
Posts: 103
Joined: Sun Mar 06, 2011 11:39 pm

Post by TSC »

Or I guess instead of reinstalling XTC 14, you could just point Windows to
C:\Program Files (x86)\XMOS\xTIMEcomposer\Community_14.4.1\drivers
when it asks to install the XTAG driver.
fireblade
Member
Posts: 8
Joined: Tue Dec 08, 2020 6:04 pm

Post by fireblade »

dont suppose there is a way to get the Timecomposer 14 to use the 15 tools

edit:
having done some initial experimentation i can get xTimecomposer to "use" the 15 tool at least on the basic level of detecting the xtag by using modified versions the xtimecomposericon.bat and SetEnv.bat
these are found in

C:\Program Files (x86)\XMOS\xTIMEcomposer\Community_14.4.1\bin\xtimecomposericon.bat
and
C:\Program Files (x86)\XMOS\xTIMEcomposer\Community_14.4.1\SetEnv.bat

i create a version of the setEnv bat that calls the 15 tools setEnv but also sets up the armtoolchain from 14
i create a version of the xtimecomposericon.bat to call the modified version of the SetEnv.bat

That allows xTimecomposer to detect the XTAG using 15 tools, however as yet i don't know whether it will actually work for programming devices or if there is an possibility of damaging anything

edit: and it turns out, unsurprisingly, that is not that simple

xtimecomposericon15.bat

Code: Select all

@echo off
cd ..
call SetEnv15.bat

java -version > %TMP%\java_version.txt 2>&1
if %ERRORLEVEL% GEQ 1 goto JAVA_NOT_ON_PATH

set /p version=< %TMP%\java_version.txt
del %TMP%\java_version.txt
set version=%version:~14,3%
if /i "%version%" LSS "1.6" (msg * "Incorrect java version. Requires 1.6 or greater.") else (start xtimecomposer_bin/xtimecomposer.exe)
goto END

:JAVA_NOT_ON_PATH
start xtimecomposer_bin/xtimecomposer.exe

:END
SetEnv15.bat

Code: Select all

@echo off

CALL "C:\Program Files (x86)\XMOS\XTC\15.0.6\SetEnv.bat"

SET XMOS_TOOL_PATH_14=%~dp0
set XCC_EFM32GG_C_INCLUDE_PATH=%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\emlib\inc;%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\Device\EnergyMicro\EFM32GG\Include\;%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\CMSIS\Include\;%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\XMOS\inc\
set XCC_EFM32GG_XC_INCLUDE_PATH=%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\emlib\inc;%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\Device\EnergyMicro\EFM32GG\Include\;%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\CMSIS\Include\;%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\XMOS\inc\
set XCC_EFM32GG_CPLUS_INCLUDE_PATH=%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\emlib\inc;%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\Device\EnergyMicro\EFM32GG\Include\;%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\CMSIS\Include\;%XMOS_TOOL_PATH_14%\arm_toolchain\arm-none-eabi\opt\XMOS\inc\