MCAL question: MPC5744P Flash module

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCAL question: MPC5744P Flash module

888件の閲覧回数
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 返答(返信)

660件の閲覧回数
Varunm
Contributor I

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

0 件の賞賛
返信

711件の閲覧回数
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 件の賞賛
返信