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.

[TDA2xx] : Unable to Flash Software on target [TDA2xx] using Spectrum Digital XDS560v2 STM USB Emulator .

Hi , 

Am facing following issue while flashing my software using Spectrum Digital XDS560v2 STM USB  Emulator . Am unable understand the  issue either with my Hardware or  CCS.

Error occurred :

  1.                        : IcePick_D: Trouble in writing Register  IP_TAP_CNTL_4: (Error -1013 @0x24 ) Unable to access device register ,and retry the operation .

:Ice_PickD:GEL: Error while executing    OnTargetConnect (): target access failed  at IP_TAP_CNATL_4=writeBackValue [TDA2XX_ICEPICKd_Utility.gel:18]   at        ReleaseWIR_Ipu_RTOS()  [TDA2XX_ICEPICKd_Utility.gel:147]  at  OnTargetConnect().

2.  

CS_DAP_Debugss: Error connecting to the target :(Error -241 @ 0X0) A router subpath could not be accessed . A Security error has probably occurred.



  • Hi,

    Your question has been forwarded to the SW experts

    Best regards
    Lucy
  • Can you confirm you are using the latest GEL files from
    processors.wiki.ti.com/.../Device_support_files

    Also provide the CCS version you are using - upgrading CCSv6 is recommended.

    Can you also confirm that this a GP device and not an HS device ?


    Regards,
    Chaitanya
  • Hi Chaitanya ,

    I am working with CCS 5.5 version and Using TDA2xx chip supported gel files . It is working fine for last couple of weeks also .Suddenly Am unable to flash the software.

    As per my understanding it is using "[TDA2XX_ICEPICK_d_Utility.gel] ,TDA2xx_CS_DAP_PC_Utility" and "CS_DAP_DebugSS" (IcePick_D) gel files for target PRCM(Power,Clock,Reset) Configuration . where It is checking the (WIR) "Wait in Reset" Registers in OnTargetConnect () Function to update "writebackvalue" in IP_TAP_CNTL_1 registers. Unable to read "writebackvalue" from DAP Registers .

    Error occurred :
    1.Error connecting to the target :(Error -241 @0x0) A Router subpath could not be accessed .A Security error has probably occurred
    2.Error connecting to the target:(Error -1170 @ 0x0) Unable to access the DAP. Reset the device .

    Please let me know how to resolve this error.


    Thanks & Regards
    vamshi
  • Can you try following:

    Launch CCXML
    Don't connect
    Power cycle board
    Goto "Run -> Advanced -> Enable Halt on Reset"
    Goto "Run -> Reset -> System Reset"
    Connect to A15

    Most likely some invalid code is flashed in QSPI/MLO which is interrupting the debug connection.
    You can even SYSBOOT to non-QSPI or non-SD mode to avoid this problem as well.

    Also check if you can connect some other board or if the board connects to some other PC.