This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Why Autotune failure Occured when I use cast drr command.

Hi,all

    the Test Env is  DS-5 and DSTREAM-ST and arm development board, When I execute csat.exe drr cmd , the error "Autotune failure. Please try to reboot target and select a lower frequency using the AutotuneMaxFreq config item." occured.

    I can't solve this error with cmd  "cfb JTAGAutoMaxFreq 2000" and "cfb JtagClockFreq 2000",

   so how can I solve this problem,Thanks!

%> cfb JTAGAutoMaxFreq 20000
Config item JTAGAutoMaxFreq was set to 20000
%> drr 0xff0
Reading from device no. 12: CSMEMAP_2
Failed to read register 0x00000ff0 for device no 12. Autotune failure. Please try to reboot target and select a lower frequency using the AutotuneMaxFreq config item.
Error: Failed to read register 4,080 on device CSMEMAP_2
%> cfb JtagClockFreq 2000
Config item JtagClockFreq was set to 2000

%> drr 0xff0
Reading from device no. 12: CSMEMAP_2
Failed to read register 0x00000ff0 for device no 12. Autotune failure. Please try to reboot target and select a lower frequency using the AutotuneMaxFreq config item.
Error: Failed to read register 4,080 on device CSMEMAP_2
%>

%> cfb JTAGAutoMaxFreq 2000
Config item JTAGAutoMaxFreq was set to 2000
%> drr 0xff0
Reading from device no. 12: CSMEMAP_2
Failed to read register 0x00000ff0 for device no 12. No connection to target.
Error: Failed to read register 4,080 on device CSMEMAP_2

Parents
  • Hi, Stephen

      thank you for your help!  The issue has been resolved.

      the fail proceed as follows:

        csat -cs600   

        con TCP:.....  

        chain dev=auto clk=20000 is ok

        autodetect read-rom is ok

        now drr  dev**.0   return fail 

        

      the successful proceed as follows:

        csat -cs600   

        setprobe DSTREAM-ST   //  the default is DSTREAM

        con TCP:.....     

        chain dev=auto clk=20000 is ok

        autodetect read-rom is ok

        now drr  dev**.0   return fail 

        cfb ScanChainJtagFreqs 20000  //the default is 2000T

        cfb JtagClockFreq 20000 

        cfb JTAGAutoMaxFreq 20000

        now drr  dev**.0   return ok

        our traget is a emulation device with low speed.

        thanks.

Reply
  • Hi, Stephen

      thank you for your help!  The issue has been resolved.

      the fail proceed as follows:

        csat -cs600   

        con TCP:.....  

        chain dev=auto clk=20000 is ok

        autodetect read-rom is ok

        now drr  dev**.0   return fail 

        

      the successful proceed as follows:

        csat -cs600   

        setprobe DSTREAM-ST   //  the default is DSTREAM

        con TCP:.....     

        chain dev=auto clk=20000 is ok

        autodetect read-rom is ok

        now drr  dev**.0   return fail 

        cfb ScanChainJtagFreqs 20000  //the default is 2000T

        cfb JtagClockFreq 20000 

        cfb JTAGAutoMaxFreq 20000

        now drr  dev**.0   return ok

        our traget is a emulation device with low speed.

        thanks.

Children