Other Parts Discussed in Thread: MOTORWARE
Hi all:
I have a very simple question, that is, how to make labs routines in motorware run in flash(without CCS connected, or called standalone mode?) and drive the motor to rotate?
I know that when compiling, I can choose RAM mode or flash mode, I chose flash mode to compile and burn the program into the chip, but the motor did not rotate after I cut off the power and powered it back on.
Boot mode has been configured for flash startup.
When lab02b is run in RAM mode, when I set the two flags as 1(“gMotorVars.Flag_enableSys"& “gMotorVars.Flag_Run_Identify”), the motor can rotate normally, and the chip can also run the program of identifying parameters normally.
But I can't set these two flags in standalone mode. Is this the reason why the motor can't rotate?
If so, what changes should I make to the program to make lab02b run offline?
Best regards,
Keng