Why does HAL_SPI_Transmit_DMA set the FLASH_SR_WRPERR Error Flag?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-08-26 5:43 AM
I use the internal EEPROM of my STM32L071 to store a Device Configuration. All Testing with writing and reading my Structure or just single Elements of my Structures are working fine.
After the Device runs a while, I needed to store an updated Configuration. There an error occured because the FLASH_SR_WRPERR Error Flag was set.
Using the Debugger from Keil µVision, I was able to see that the Error Flag was set after following line from HAL_SPI_Transmit_DMA
(line 1279 in stm32l0xx_hal_spi.c)
hspi->hdmarx->XferHalfCpltCallback = (void (*)(DMA_HandleTypeDef *))NULL;
Is there any known reason for this behaviour? How should I handle this?
Labels:
- Labels:
-
Bug-report
-
Flash
-
STM32Cube MCU Packages
0 REPLIES 0
