Skip to main content
Associate
June 5, 2025
Solved

Motor profiler error using B-G431B-ESC1

  • June 5, 2025
  • 1 reply
  • 665 views

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.

Best answer by GMA

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.

1 reply

GMA
Technical Moderator
June 5, 2025

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
SakaAuthor
Associate
June 5, 2025

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
Technical Moderator
June 6, 2025

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