cancel
Showing results for 
Search instead for 
Did you mean: 

Always have hard faults on MCSDK 5.4.0

JHsu.13
Associate

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

2 REPLIES 2
cedric H
ST Employee

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...
Lead II

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