Hi everyone,
The board I am using is MC9S12ZVM, but the MCAT tool has not been found. Where can I find it.
Thanks
Solved! Go to Solution.
Hi Fanlikang,
I assume you are using MTRCKTSPNZVM128 devkit .
you can download sw examples here :
in the software section: "MTRCKTSPNZVM128 Software"
Software package contains two examples (FOC based on dualshunt current measurement and FOC based on singleshunt current measurement)
detailed documentation can be found :
C:\NXP\MC_DevKits\MTRCKTSPNZVM128\doc
and examples:
C:\NXP\MC_DevKits\MTRCKTSPNZVM128\sw
in both examples a freeemaster project with MCAT plugin can be found in folder "FreeMASTER_control".
When you open the freemaster (.pmp) project you can start using MCAT.
Best regards,
Tomas Fedor.
Hi Fanlikang,
I assume you are using MTRCKTSPNZVM128 devkit .
you can download sw examples here :
in the software section: "MTRCKTSPNZVM128 Software"
Software package contains two examples (FOC based on dualshunt current measurement and FOC based on singleshunt current measurement)
detailed documentation can be found :
C:\NXP\MC_DevKits\MTRCKTSPNZVM128\doc
and examples:
C:\NXP\MC_DevKits\MTRCKTSPNZVM128\sw
in both examples a freeemaster project with MCAT plugin can be found in folder "FreeMASTER_control".
When you open the freemaster (.pmp) project you can start using MCAT.
Best regards,
Tomas Fedor.
Thank you very much for your suggestions. The problem has been solved, but now there are new problems. Please ask for help.
1. The open MACT interface is shown in the figure
2.I tried to use USB multilink to establish a connection. Please see if my configuration is correct?
3. When we reach the ninth step, everything seems to be finished, but the problem appears. Please see the figure below
So I want to know what is the reason for this and how to solve it
Hello,
for the BDM/JTAG communication, you need to select a correct processor core. In your case this is HCS12z.
When test connection gives wrong or suspicious values (all zeros or all FFs), there is definitely something wrong with a physical connection or a core selected.
If problems would still occur, please upgrade to the latest FreeMASTER version (www.nxp.com/freemaster). The P&E BDM HCS12Z plug-in dialog will have another checkbox which affects the BDM communication and it may help too.
This is how the new plugin configuration looks like:
Regards,
Michal
Thank you very much for your suggestion. I have reconfigured it according to your suggestions, but there are still some problems. It doesn't seem to be connected. The details are as follows.
1.I observe the value of the variable in the variable window of codewar
2.Although the freemaster displays that the connection has been successful and prompts as shown in the figure, the value in the variable window is not consistent with the value displayed in the codearray.
I want to continue to seek your help and help me solve this problem with your experience. Thank you very much for your reply.
Best wishes
Fanlikang
Hello,
it is key to press the "Test Connection" button in the plug-in configuration to see if a SP, PC and other register values look "reasonably" (not 0x0000 nor 0xFFFF). With BDM, FreeMASTER may "think" it is connected, but the underlying BDM communication may return everything as 0.
Please close the port in FreeMASTER, go to Project/Options, plug-in Configuration and press the Test Connection again - and send the screenshot here.
I would recommend also to update to FreeMASTER 3.2 to get the latest P&E Multilink support.
Thanks,
Michal
Thank you very much for your suggestion. According to your guidance, I re-linked, but the final result is not very good. As you said, sp=0x00 ix=0x00
Hello,
please install FreeMASTER 3.2 and try to reset the BDCSCR.CLKSW bit.
Regards,
Michal
Thank you and your colleagues for their warm help. The problem has been solved. If the problem occurs again during the motor rotation, I hope I can continue to get your help.
Best wishes
fanlikang