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.

Debug problem in lab 2b for instaspin foc

Other Parts Discussed in Thread: MOTORWARE

Hi

 I am using f28027f experimenter kit with boostxl booster pack.

while doing the lab .

it builds properly but during debug it gives following error.

please help.

image-

  • This "unresolved location" error is because "bias" in the Variables tab is done through the stack, so the compiler doesn't assign an actual memory location to this internal variable. If you want to see the bias used, please add this variable to the "Expressions" tab:

    drv.adcBias

    -Jorge

  • I tried putting this bias in expressions tab but it is not showing any value. 

    Moreover i tried single stepping the whole code . It is getting stuck in "drvadchandle".

    Help pls. 

  • Pushkar,
    If any valid MotorWare project is loaded to the MCU the expressions view absolutely will show

    drv.adcBias

    as a valid memory location.

    Did you make any changes to the code?  If so, go back to a fresh install please.  These labs all work.

    Also, insure you have compler TI v6.2.3

    right click on proj_labXX --> Properties --> Build