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.

MOTORWARE: Is it possible to execute "Instaspin lab13c" of motorware by STANDALONE mode NOT debug mode ?

Part Number: MOTORWARE
Other Parts Discussed in Thread: TMDSHVMTRINSPIN, HVPMSMMTR

Dear Experts,


I am using Motorware's instaspin lab 13c to evaluate driving HVPMSMMTR with TMDSHVMTRINSPIN. DSP is F28069M.
I was able to check the operation in debug mode using the on-board debugger of F28069M board.

Now let me ask the title question.
The next thing I want to do is run lab13c standalone. In other words, even after turning off the power of the microcomputer,
I want to run the program only by turning on the power of the microcomputer and external control.
Is it possible to modify lab13 to run standalone? If possible, please tell me the procedure and method.

I have an idea for the method of external control, so it is unnecessary to teach me the method of external control.

Thank you.

  • Yes, that should be possible, but you may need to make some minor modifications to the project. Are you using the "Flash" build configuration? The flash build configuration should take care of most of the changes (adding CodeStartBranch.asm, initializing Flash wrapper, doing the ramfuncs memcpy etc...)

    Then you'll need to replace the "while(!(gMotorVars.Flag_enableSys));" some other method since you won't be able to set it in the Expressions window. I assume that's part of what you mean by external control?

    Whitney

  • Dear Whitney Dewey,

    Sorry for the late reply. Thank you for your reply.
    I tried implementing flash boot and it worked.
    I think I will ask another question. In that case, thank you in advance.