cancel
Showing results for 
Search instead for 
Did you mean: 

Motor profiler error using B-G431B-ESC1

Saka
Associate II

I try to do the motor drive using a B-G431B-ESC1 board.

When I connect the board, the following warning appeared.

  • [WARNING] - MotorControlRegistersBank: Accessing register [7449] RESISTOR_OFFSET resulted in error[5] . Changing register's access accordingly to avoid getting this error again

The software version is  V6.4.0.

I could obtain the electrical and mechanical models by clicking "start profile" after the motor connected to the motor driver rotated.

But, in the "register" tab, the status of register [7449] is "error".

Could you please tell me how to solve this error?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
GMA
ST Employee

Hello @Saka,

The hex files located in ".../STM32CubeProgrammer/Fw" directory have been generated for MCSDK6.1.2 and are not relevant for MCSDK6.4.0 (will be removed on next MC Motor Pilot tool deliveries, thank you for the report).
For MCSDK6.4.0 version, refer to User Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual" tab, "Motor Profiler Application Note" link for Motor Profiler project generation and usage.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

View solution in original post

7 REPLIES 7
GMA
ST Employee

Hello,

Using MCSDK6.4.0 B-G431B-ESC1 Motor Profiler use case from scratch; I do not have such error.
Do you use the associated Motor Pilot 6.4.0 tool? 

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
Saka
Associate II

I use the Motor Pilot 6.4.0 tool.

Before the running, I used the STM32CubeProgrammer and programed the hex file named "B-G431B-ESC1#B-G431B-ESC1 3Sh#(6.1.2).hex".

GMA
ST Employee

Hello @Saka,

Is your hex file generated with MCSDK6.1.2? If yes, regenerating the project with MCSDK6.4.0 should solve the problem.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
Saka
Associate II

It is generated with MCSDK6.4.0.

The hex file is put in the following path:

C:\Program Files (x86)\STMicroelectronics\MC_SDK_6.4.0\Utilities\PC_Software\STMotorPilot\STM32CubeProgrammer\Fw

GMA
ST Employee

Hello @Saka,

The hex files located in ".../STM32CubeProgrammer/Fw" directory have been generated for MCSDK6.1.2 and are not relevant for MCSDK6.4.0 (will be removed on next MC Motor Pilot tool deliveries, thank you for the report).
For MCSDK6.4.0 version, refer to User Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual" tab, "Motor Profiler Application Note" link for Motor Profiler project generation and usage.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
Saka
Associate II

Thank you for your help.

I generated the Motor Profiler code as described in "Motor Profiler Aplication Note".

I successfully generated the code and programmed it through CubeIDE.

After that, I ran the Motor Profiler software and connected the board to my PC.

In the window, "Firmware fault detected" is indicated with follwing message:

- Firmware fault detected, please check your configuration and ack faults.

In the Logs tab, there is no error message.

What causes the upper fault?

GMA
ST Employee

Hello @Saka,

In this case, an error is reported in the "Errors" panel. Refer to User Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual" tab, "FOC Firmware errors" link for more detail and issue management.

 

 

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA