0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

STM32 HAL FLASHとウォッチドッグの相性が悪い

Posted at

HALでFLASHとウォッチドッグタイマの相性が悪すぎる

ウォッチドッグタイマの更新の割り込みと,FLASHのeraseがカチあうとeraseが失敗して,FLASHに書き込め無くなる.
詰まっている人の助けになれば幸い.

対処法

FLASHのERASE中にウォッチドッグタイマの更新を行わない.
具体的にはFLASH中にタイマ割り込みをさせないわけだが,そうするとリセットかかるのでは?
私はウォッチドッグタイマを無効化した.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?