MCAL question: MPC5744P Flash module

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCAL question: MPC5744P Flash module

932 次查看
cthhk
NXP Employee
NXP Employee

Dear Team:

 

My customer is using MCAL of 5744P (Greenhills compiler) and here is a strange problem.

 

When we run Fls_Flash_SectorErase(), it seems that the code runs away at:

FLASH_AC_CALL(Fls_pConfigPtr->acErasePtr, Fls_Flash_AcErasePtrType)(Fls_Flash_pRegBasePtr, Fls_pConfigPtr->acCallBackPtr, &Fls_Flash_u32Timeout_Counter, &u32Abort_Timeout_

#else

        /* @violates @ref fls_c_REF_29 Cast from pointer to unsigned long */

        FLASH_AC_CALL(Fls_pConfigPtr->acErasePtr, Fls_Flash_AcErasePtrType)(Fls_Flash_pRegBasePtr, Fls_pConfigPtr->acCallBackPtr);

#endif /* FLS_TIMEOUT_HANDLING == STD_ON */

 

The attached is a simplified project.

Could you help to check if any configuration is improper?

Thank you for your help!

 

Best Regards,

Wang.

Original Attachment has been moved to: base_prj.zip

0 项奖励
回复
2 回复数

704 次查看
Varunm
Contributor I

Hello is this issue resolved? I got into same issue, and I would like to see the solution.

0 项奖励
回复

755 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

You should write a ticket on nxp.com so we can assign it to AUTOSAR experts.

http://nxpcommunity.force.com/community/CommunityContextPage 

Peter

0 项奖励
回复