Part Number: TMS320F280025C
Hi,
Using motor controller SDK (universal_motorcontrol_lab_f28002x).
Probably something stupid, but when I try to copy variable motorVars_M1.flagRunIdentAndOnLine (in file communication.c), the copied value always be 0. When I stop the debugger it will show '0x0001' or true, but it will never copy this value. In debugger but the copied value is send via CANbus, and is there also '0'.
(the yellow screen is the variable window when the debugger is halted and you hover over motorVars_M1.flagRunIdentAndOnLine variable)
When running the piece of code in sys_main, value motorVars_M1.flagRunIdentAndOnLine is also '1' and with the next piece of code "test = true;"
}
bool test = false;
if (motorVars_M1.flagRunIdentAndOnLine == 0x0001)
{
test = true;
}
else
{
test = false;
}
Any thoughts?
Best Reagrds,
Ruud