Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


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

  • Hi

    My name is Stephen and I work at Arm.

    From the console output you showed, it looks like reducing the clock frequency has avoided the autotune failure, so I suggest you keep that.

    Sorry, I can't explain why the "drr" command is still failing.  What platform are you connecting to?  Have you done an auto-detect?

    Which version of Development Studio, exactly, are you using?  
    Recent versions of Arm DS now include "CSAT600", which can be launched with
    csat -cs600
    I recommend you switch to that.
    See developer.arm.com/.../How-to-use-CSAT600

    Hope this helps

    Stephen

  • 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.

  • Thanks for letting us know that this problem is resolved :)