Menu

qspy mscgen option generating errors

KJC
2014-05-06
2014-05-08
  • KJC

    KJC - 2014-05-06

    I'm trying to create an mscgen output from qspy and when post processing the .msc file I'm getting errors. Does it work?

    QSPY version 5.1.1

    C:\QP\qtools>mscgen -T png -i c:\sds.msc -o c:\sds.png
    Error detected at line 9: syntax error, unexpected '...', '---', expecting 'msc'.

    ...;

     
  • Quantum Leaps

    Quantum Leaps - 2014-05-06

    I'm not sure what's wrong on you end, but tests of SPY 5.3.1 still look good for the MSC files and graph generation.

    I attach the following files, that you can use on your end.

    1. dpp.bin: The binary QS output captured with the -s dpp.bin option from the DPP application running on the Tiva LaunchPad (QP/C 5.3.0)

    2. dpp.msc: The MSC file generated by processing the dpp.bin file with the following command:

      qspy -f dpp.bin -g dpp.msc

    3. dpp.png: The MSC graph generated by the mscgen utility by running the following command:

      mscgen -T png -i dpp.msc -o dpp.png

    I hope this is helpful.

    --MMS

     
  • KJC

    KJC - 2014-05-07

    I've noticed that your msc file has a a couple of lines at the beginning of it stating the object which mine does not. "ie msc { "l_philo[0]" ....

    My file is blank and has a bunch of blank lines with a "...;" as the first line. This probbaly is why it's failing since none of the objects are defined and the msc { braces don't exist.

    I've tried creating the bin file first and then converting it to a msc file. I'm seeing Uint overrun errors

    * 026: Error -1 bytes unparsed
    Uint overrun
    Uint overrun
    Uint overrun
    Uint overrun
    * 014: Error -1 bytes unparsed
    Uint overrun
    Uint overrun
    Uint overrun
    Uint overrun
    **** 014: Error -1 bytes unparsed

     

    Last edit: KJC 2014-05-07
  • Kevin

    Kevin - 2014-05-07

    Make sure that Qspy is exited properly. The QSPY_stop function in the qspy\source\main.c must get called to finish formatting the msc file.

    -Kevin

     
  • KJC

    KJC - 2014-05-08

    The issue was that I was not specifying the command line options for the QSPY data params.

     

Log in to post a comment.