Search Posts

Basic tutorial for blinking led for STM32F411

  • JTag setup like this

Tutorial: Create the project

Step 1: Open STM32IDE, create the project, choose the right MCU

Step 2: Type in project name

Step 3: This is project structure

Step 4: LED is assign to PC13, set it to GPIO output

Then it will generate the setup code

Step 5: Blink the led in main, there is two while(1) loop, change the one in main method

Step 6: Run the project

Step 7: If your jtag is not update, it will popup this windows. If the upgrade button is dim, replug the jtag again in your usb

Leave a Reply

Your email address will not be published. Required fields are marked *