STMicroelectronics / STM32CubeL4

STM32Cube MCU Full Package for the STM32L4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
259 stars 151 forks source link

Hardfault of Proximity Project #47

Closed TheSilentDawn closed 2 years ago

TheSilentDawn commented 2 years ago

Set-up

I downloaded the SDK v1.17.0 from https://www.st.com/zh/embedded-software/stm32cubel4.html#get-software and imported the demo project Proximity into STM32Cube IDE. When I started to run the program, it triggered the hardfault. The hardfault call stack is below.

VL53L0X_calc_sigma_estimate api_core.c VL53L0X_get_pal_range_status VL53L0X_GetRangingMeasurementData VL53L0X_PerformSingleRangingMeasurement VL53L0X_PROXIMITY_GetDistance Proximity_Test

Could you please help to double-check the demo project? Thanks.

RKOUSTM commented 2 years ago

Hi @TheSilentDawn,

Thank you for your report. The problem seems to be related to migration to the CubeIDE. However, this public organization on GitHub is intended to promote co-development and issues posted here shall exclusively be related to the software published within the different repositories. For any other issue (e.g. related to documentation, to hardware, to ecosystem, to user application, etc.), you shall address your questions to the ST Community. There you shall look for the adequate topic and submit your question or remark.

You can use the IDE proposed by ST (IAR, MDK-ARM and SW4STM32) for Proximity application on B-L475E-IOT01A all of them are working well.

Thank you for you contribution.

With regards,