STM32F103C8T6 購入

投稿者: | 2024年4月25日

アマゾンで STM32F103C8T6 を購入しました。新しいVFO のテストをしてみようと思ったからです。

書き込みがすぐ出来るようにとセットものをえらんでみました。書き込みは STM32 ST-LINK Utility をインストール。

スタートをクリックで無事書き込み完了、ところが何度も書き込みをしていると、

15:57:05 : Some flash sectors are write protected.
The write protection will be disabled then restored after flash programming
in case there is no option bytes segment within the file.
15:57:05 : The elf loader Sector Erase function fails.
15:57:05 : Memory-Loader error
15:57:05 : Error occured during erase operation!
15:57:05 : Programming error @ 0x08000000!
15:57:26 : Programmed memory Checksum: 0x001DE200

エラーで書き込みが出来なくなりました。ネットを見ても答えは見つかりません。どうもリセットがうまくかからないことが原因かと思い、
スタートをクリックすぐリセットボタンを押すと書き込みが出きました。タイミングが難しく何度かトライしなくてはいけません。

17:03:28 : Some flash sectors are write protected.
The write protection will be disabled then restored after flash programming
in case there is no option bytes segment within the file.
17:03:33 : Memory programmed in 5s and 47ms.
17:03:33 : Verification…OK
17:03:34 : Programmed memory Checksum: 0x00750935

気になるコメントがありますが書き込みが出来たのでよしとしますがスッキリしませんね。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です