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.

Perl Scripting with DSS



I am currently working on Perl Scripting with DSS. I am facing 2 issues in this regard:

1. Once we do a $xyz->{target}->run (Dummy Run), the script is not coming out of this command.

For example, In OMAP4 Simulator, we use to reset ICONT's & M3_App, followed by Loading .out on M3_APP. Then, we do a dummy run on ICONT1 & ICONT2, followed by running of Target "M3_APP".

While trying to do the similar tasks via Perl Scipting, its giving Message "No valid decode for PC = 008a8240" & stops execution after Script Timeout, while attempting to Run ICONT's (where .out is not being loaded)

 

2. To solve the above issue, I tried to use TimeOut Concept, before running ICONT's using alarm() (Built-In Function in Perl). It also, didn't helped me. I remember in CCS V3 CCS Scripting, there was a _DIE_ hook Handler for sciptTimeouts. I tried to use _DIE_ Hook in DSS Scripting, but this too doesn't helped me.

Is the _DIE_ hook handler is implemented in DSS Scripting?

 

Please give me some tips in this regard. 

 

 

  • Hello,

    CRN PRASANNA said:

    1. Once we do a $xyz->{target}->run (Dummy Run), the script is not coming out of this command.

    For example, In OMAP4 Simulator, we use to reset ICONT's & M3_App, followed by Loading .out on M3_APP. Then, we do a dummy run on ICONT1 & ICONT2, followed by running of Target "M3_APP".

    While trying to do the similar tasks via Perl Scipting, its giving Message "No valid decode for PC = 008a8240" & stops execution after Script Timeout, while attempting to Run ICONT's (where .out is not being loaded)

    To be clear, everything works fine when doing things manually from the CCSv4 GUI but when doing the same exact actions from DSS, it fails? I'm wondering if there is some timing issue you need to resolve in your script.

    CRN PRASANNA said:

    2. To solve the above issue, I tried to use TimeOut Concept, before running ICONT's using alarm() (Built-In Function in Perl). It also, didn't helped me. I remember in CCS V3 CCS Scripting, there was a _DIE_ hook Handler for sciptTimeouts. I tried to use _DIE_ Hook in DSS Scripting, but this too doesn't helped me.

    Is the _DIE_ hook handler is implemented in DSS Scripting?

    I am not aware of any _DIE_ Hook in CCS Scripting.