Skip to main content
Associate
October 2, 2023
Solved

Re: How to generate profiler firmware for 6.2

  • October 2, 2023
  • 3 replies
  • 15251 views

Hi Zied,
After waiting patiently for MCSDK 6.2.0, I was overjoyed when it was finally released.
However, I could not get the motor profiler to communicate with my board. It seems to require a proper firmware to be downloaded before it can run. It does not allow me to select the correct boards even after the uart connection is done (although it instructed to "try to configure the board"). see attached screen grab.
[VERSION]: MCSDK 6.2.0
[TOOL]: Motor PROFILER v1.2.4
[DETAILS]: Not able to choose any control nor power board
[EXPECTED BEHAVIOR]: I could usually be able to select the boards and enter into "Start Profile"

I saw from other posting, your suggestion to download .hex into the board first and so I had tried to use  NUCLEO-F302R8#X-NUCLEO-IHM08M1 3Sh#(6.1.2).hex from the MCSDK 6.2.0 folder. Once connected, it shows the boards, but I want to use CTM009v1, not IHM08M1. So, that is a problem. See attached 2nd screen grab.

Thirdly, I had also used the Workbench 6.2.0 to create a new project, select the right boards but unable to use my motor because no motor file is created yet (failed at Motor profiler).
Please help, I need to get this going but it has been delayed due to these configuration issues.
Thank you.

Regards,
Jedijump
 

 

    This topic has been closed for replies.
    Best answer by Zied b.

    Hello @Jedijump ,
    With version 6.2 of the MCSDK it is necessary to generate a profiler firmware, flash it then connect to the profiler.
    Documentation is available to explain how to proceed:

    The fastest way to find it is through the Motor Control Workbench:

    - Open Motor Control Workbench
    - Click top right on "About" button
    - Click on "Documentations" -> "Documentation"
    - Click on "User Manual"
    - Click on "Motor Profiler Application Note"

    Concerning the combination of Boards you wish to use, the CTM009v1 works with the ICS and therefore is not compatible with the profiler which only works with 3-Shunt boards.
    Regards

     

    3 replies

    Zied b.Best answer
    ST Employee
    October 2, 2023

    Hello @Jedijump ,
    With version 6.2 of the MCSDK it is necessary to generate a profiler firmware, flash it then connect to the profiler.
    Documentation is available to explain how to proceed:

    The fastest way to find it is through the Motor Control Workbench:

    - Open Motor Control Workbench
    - Click top right on "About" button
    - Click on "Documentations" -> "Documentation"
    - Click on "User Manual"
    - Click on "Motor Profiler Application Note"

    Concerning the combination of Boards you wish to use, the CTM009v1 works with the ICS and therefore is not compatible with the profiler which only works with 3-Shunt boards.
    Regards

     

    JedijumpAuthor
    Associate
    October 12, 2023

    Hi Zieb,

    Thank you for your direction for MCSDK 6.2.0. I managed to progress.

    Now, I want to run the Hall profiler but the button did not appear in the Motor profiler GUI. See attached screen capture file. I thought that maybe I need to enable Hall during in the MC workbench for motor profiler, but it is not allowed. See the 2nd attached screen capture. What should I do for the Hall profiler button to appear in the Motor profiler GUI?
    The Hall sensors from the motor had been connected to the board (with lowpass filter circuit corrected). It was working in previous version of motor profiler and workbench.

    Appreciate your advice.

    Thank you.

    ST Employee
    October 12, 2023

    Hello @Jedijump 
    To use the Hall Profiler, you must activate the auxiliary Hall sensors in Speed ​​Sensing, to do this

    1. start by going to motor then activate the "Hall Effect" option.
    2. then go to Speed ​​Sensing -> Auxiliary Sensor
    3. put Hall sensor in speed sensor mode.
    4. Finally activate the profiler option, generate the firmware, flash it and there the hall profiling option will be activated on the motor profiler

    Best regards

    JedijumpAuthor
    Associate
    October 26, 2023

    Hi Zied,

    Thank you so much for the ftl_file patch. It will save me from repeatedly copying and pasting at each code generation. Have a nice day.

    Regards

    APerr.3
    Associate
    November 2, 2023

    Hi @Zied b. 

    I have the same symptom with Nucleo F746 and IHM07M1.

    Hall profiling go nearly to 100% for the first direction then back to 78% and board disconnect. The motor spin in the other direction. 

    Your patch solve the problem too. Thanks again

    Thanks.

    Arnaud