JTAG-SPEED

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

JTAG-SPEED

Post by lilltroll »

Hi

I have a problem with decreasing the JTAG speed with the Windows Toolchain, ver 11.X or 12.X.

Using the Graphical environment, the TCK is always ~ 12 MHz

Using the Command Promt

Code: Select all

C:\Users\Mikael>xrun -l --jtag-speed 0
xgdb: unrecognized option `--jtagspeed'
Use `xgdb --help' for a complete list of options.
I'm I using the wrong syntax or what is wrong ?


User avatar
Gaston
Junior Member
Posts: 4
Joined: Wed Jan 27, 2010 10:39 am

Post by Gaston »

As can be seen this is already corrected in 11.11, or maybe this was uncorrected again?
XMatt wrote:Apologies, I have just reviewed the xflash and xrun code and they do not support using --jtag-speed in combination with the --listdevices options. This will be rectified in a follow up 11.11 bugfix release which is currenly being worked on.

In order to get access to this functionality currently you will have to use xgdb (which xflash and xrun both call to access the JTAG interface).

The command for doing this is

Code: Select all

C:\>xgdb -q -batch --ex "listdevices --jtagspeed 50"

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

  ID    Name                    Adapter ID      Devices
  --    ----                    ----------      -------
  0     XMOS XTAG-2             UPgXQ3YI        L1[0]


C:\>