Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

SignalTap II question

Dear all,

I met the following message when I was trying to get data from SignalTap to MATLAB:

-----------------

>> X = alt_signaltap_run('scale3.stp', 'signed');

Warning: Insufficient number of samples acquired. 2048 samples are expected, but 2 samples are acquired. No data are returned. Please check the JTAG communication for the cause of the interruption.

>> clear alt_signaltap_run

>> clear all;

>> X = alt_signaltap_run('scale3.stp', 'signed');

Warning: Insufficient number of samples acquired. 8192 samples are expected, but 514 samples are acquired. No data are returned. Please check the JTAG communication for the cause of the interruption.

------------------

Please suggest me how to fix it.

Thank you in advance.

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    does the .stp trigger reliably in SignalTap?

    --- Quote End ---

    Thanks for the reply.

    If my understanding is right, I believe the trigger works very reliably in SignalTap. Actually the trigger is hardware switch and I haven't seen there is problem in the trigger so far.

    Thanks,
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hm, i'm not sure then. the error indicates not enough data is coming through so i thought something may be wrong with the trigger or the storage qualification (so the buffer is never completely filling up)

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    hm, i'm not sure then. the error indicates not enough data is coming through so i thought something may be wrong with the trigger or the storage qualification (so the buffer is never completely filling up)

    --- Quote End ---

    I am seeing all data samples in SignalTap screen...

    Thank you very much for your comment.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Dear all,

    I met the following message when I was trying to get data from SignalTap to MATLAB:

    -----------------

    >> X = alt_signaltap_run('scale3.stp', 'signed');

    Warning: Insufficient number of samples acquired. 2048 samples are expected, but 2 samples are acquired. No data are returned. Please check the JTAG communication for the cause of the interruption.

    >> clear alt_signaltap_run

    >> clear all;

    >> X = alt_signaltap_run('scale3.stp', 'signed');

    Warning: Insufficient number of samples acquired. 8192 samples are expected, but 514 samples are acquired. No data are returned. Please check the JTAG communication for the cause of the interruption.

    ------------------

    Please suggest me how to fix it.

    Thank you in advance.

    --- Quote End ---

    I set up "power-up trigger enabled option" and after this I can transfer all data to MATLAB.

    Is the option is necessary to transfer the data to MATLAB?