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.

Graph doesn't work in 2xPM_Sensorless project.

Hello, 

I'm working with TMDS2MTRPFCKIT and 2xPM_Sensorless project ( LVMultiAxis+PfcKit_v1.4 ).

After build and launch debug , run the 2xPM_sensorless project at BUILDLEVEL1,but the graph doesn't work at all. 

At below capture screen,

I filled Start Address A   and   Start Address B  with  DLOG_4CH_buff1, DLOG_4CH_buff2 of Graph Properties window.

But there are no waves in the graph windows.

What's wrong?

  • did you turn on real-time mode? did you run?

     

  • Hi. ChrisClearman.

    I finally find out why Graph window doesn't work at 2XPM_sensorless Project.

    1. The 2XPM_Sensorless program show link errors if I build it with Active_RAM mode, since its code size exceed actual RAM size. 

        So I have to build it Active FLASH mode. 

        After build it with Active Flash mode, the address of  DLOG_4CH_buff1 was 0x3F2371,

        this address is FLASH ROM area, so it  can't be  wrote or updated DLOG data while we execute the program.

    2. To correct this problem, I eliminated all "crosshair" related program from the 2XPM_Sensorless code,

        for example, I eliminated all below line from the original program.

        #include "Commros_user.h"

           ...

         ServiceRoutine(&commros);
         Datalogger(&commros.m_datalogger,0);

          ......

        Datalogger(&commros.m_datalogger,1);

    3. After eliminating above "crosshair" related line,

        build the modified program with Active RAM mode( F28035_RAM_2xPM_Sensorless.CMD  --> this file must included while building)

        After building, Run Debug,,,,,, now I can see the graph is working....

  • good debugging. glad you solved the issue.

     

  • Thanks. That helped me a lot. TI must fix that