MCAL question: MPC5744P Flash module

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCAL question: MPC5744P Flash module

720 Views
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 Kudos
2 Replies

492 Views
Varunm
Contributor I

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

0 Kudos

543 Views
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 Kudos