Skip to content

Commit 82edf91

Browse files
authored
Merge pull request #69 from kraai/patch-2
Fix some typos and make other wording changes
2 parents ec38bc7 + 34850b5 commit 82edf91

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/05-led-roulette/flash-it.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Flash it
22

33
Flashing is the process of moving our program into the microcontroller's (persistent) memory. Once
4-
flashed, the microcontroller will executed the flashed program everytime it is powered on.
4+
flashed, the microcontroller will execute the flashed program every time it is powered on.
55

66
In this case, our `led-roulette` program will be the *only* program in the microcontroller memory.
77
By this I mean that there's nothing else running on the microcontroller: no OS, no "daemon",
@@ -36,22 +36,22 @@ The program will block; leave that terminal open.
3636
Now it's a good time to explain what this command is actually doing.
3737

3838
I mentioned that the F3 actually has two microcontrollers. One of them is used as a
39-
programmer/debugger. The part of the board that's used as a programmer is called ST-LINK (that's how
39+
programmer/debugger. The part of the board that's used as a programmer is called ST-LINK (that's what
4040
STMicroelectronics decided to call it). This ST-LINK is connected to the target microcontroller
4141
using a Serial Wire Debug (SWD) interface (this interface is an ARM standard so you'll run into it
4242
when dealing with other Cortex-M based microcontrollers). This SWD interface can be used to flash
4343
and debug a microcontroller. The ST-LINK is connected to the "USB ST-LINK" port and will appear as
44-
an USB device when you connect the F3 to your laptop.
44+
a USB device when you connect the F3 to your laptop.
4545

4646
<p align="center">
4747
<img height=640 title="On-board ST-LINK" src="assets/st-link.png">
4848
</p>
4949

5050

51-
As for OpenOCD. It's a software that provides some services like a *GDB server* on top of USB
51+
As for OpenOCD, it's software that provides some services like a *GDB server* on top of USB
5252
devices that expose a debugging protocol like SWD or JTAG.
5353

54-
Onto the actual command: Those `.cfg` files we are using instruct OpenOCD to look for a ST-LINK USB
54+
Onto the actual command: those `.cfg` files we are using instruct OpenOCD to look for a ST-LINK USB
5555
device (`interface/stlink-v2-1.cfg`) and to expect a STM32F3XX microcontroller
5656
(`target/stm32f3x.cfg`) to be connected to the ST-LINK.
5757

0 commit comments

Comments
 (0)