Skip to main content
jakob.brunhart
Associate III
June 28, 2019
Solved

HAL_FLASH_Program()

  • June 28, 2019
  • 1 reply
  • 832 views

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.
Best answer by jakob.brunhart

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
June 29, 2019

Hi,

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

Regards

Jakob