Skip to main content
jakob.brunhart
Associate III
Jun 28, 2019 8:53 AM UTC
Solved

HAL_FLASH_Program()

Hi,

I'm using STM32H743ZI and uVision 5.28.0.0.

Traying to program the FLASH Bank 1 results in an error. The error is thrown by FLASH_WaitForLastOperation(). In SR1 the following bits are set:

  • PGSERR1
  • INCERR1

Any Idea?

Regards

Jakob

This topic has been closed for replies.
jakob.brunhart
jakob.brunhartBest answer
Associate III
Jun 29, 2019 6:20 AM UTC

Hi,

The Flash only allows writing to addresses that are a multiple of 32. I didn't keep to that.

Regards

Jakob

1 reply

jakob.brunhart
jakob.brunhartAuthorBest answer
Associate III
Jun 29, 2019 6:20 AM UTC

Hi,

The Flash only allows writing to addresses that are a multiple of 32. I didn't keep to that.

Regards

Jakob