Skip to main content
JHsu.13
Visitor II
June 25, 2019
Question

Always have hard faults on MCSDK 5.4.0

  • June 25, 2019
  • 2 replies
  • 1058 views

Hi all,

As title, I used MCSDK 5.4.0 and it always generated a hard fault when starting motor.

This issue cannot be found in previous versions.

It can only happen on sensorless FOC but hall sensors.

Can any one checked the prebuilt MCSDK 5.4.0?

One more question is that, how to successfully request the MCSDK full version?

I requested several times with different accounts, and never got a positive answer.

PS. My setup is IHM08M1 + F303RE

Thanks,

Jungchu

This topic has been closed for replies.

2 replies

cedric H
ST Technical Moderator
July 9, 2019

Hello Jungchu,

This is an issue we unfortunately discovered after the release.

The issue comes from the fact that with gcc linker script, the linker will located the section tagged .ccmram into the CCMRAM, but the init assembly code will not copy the .ccmram section into the CCMRAM location.

The easiest way to overcome this issue is to change the linker file STM32F303RE_FLASH.ld which is located in the TureStudio/project_name folder by the one attach in this post. This will avoid using the CCMRAM.

The coming 5.4.1 version will fix this issue.

Regards

Cedric

Laurent Ca...
Senior III
June 28, 2021

The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK). 

Best regards