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