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 3 years have passed since last update.

今さらSTM8S-DiscoveryのSTM32F103でLチカ

Last updated at Posted at 2021-10-02

x もどせなくなります。書き込み機として使えないからまーいーか?

o_con30.jpg

1.STM32CubeProg.. で read outプロテクションを外す。

2.STM32 ST-LINK Utiityでライトプロテクションを外す、オールイレース

4.mbedで次のプログラムをコンパイル




# include "mbed.h"

DigitalOut myled(PA_8);

int main()
{

    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }

}



5.STM32 ST-LINK Utiityで書き込み実行

6.赤LEDが光る

7.おわり

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?