From 6a09e5e8f4f5368617d0e17f373f29af97ade84e Mon Sep 17 00:00:00 2001 From: Eric Helgeson Date: Tue, 12 Apr 2022 08:30:52 -0500 Subject: [PATCH] Updated Flashing (markdown) --- Flashing.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Flashing.md b/Flashing.md index 092c980..289d54f 100644 --- a/Flashing.md +++ b/Flashing.md @@ -12,9 +12,9 @@ When flashing you have two options: 1. You may also flash the `.bin` file directly from [STM32CubeProgrammer](https://www.st.com/en/development-tools/stm32cubeprog.html). Use this method if you are not a developer and just wish to get the code to the BluePill. -## Using STLink v2 +### Using STLink v2 -### Setup STLinkV2 +#### Setup STLinkV2 Be sure to buy the "Clone" STLink V2 programmer - **the official STLink programmer does not work**. @@ -25,7 +25,7 @@ Be sure to buy the "Clone" STLink V2 programmer - **the official STLink programm * Connect pins `SWDIO`, `GND`, `SWCLK`, and `3.3v` from the programmer to the Blue Pill. * NOTE: These are not the same as Serial ports. -### Procedure (STM32CubeProgrammer) +#### Procedure (STM32CubeProgrammer) * Remove SD Card * Open STM32CubeProgrammer @@ -37,7 +37,7 @@ Be sure to buy the "Clone" STLink V2 programmer - **the official STLink programm * Push the reset button on the BluePill * You should see the LED `PC_13` flashing 5x indicating no SD Card detected. -### Procedure (PlatformIO) +#### Procedure (PlatformIO) * Remove SD Card * Move the `BOOT0` jumper (furthest from the button switch) to `1` @@ -68,7 +68,7 @@ xPSR: 0x01000000 pc: 0x08000194 msp: 0x20000690 The following YouTube video demonstrates the steps of flashing & updating your BlueSCSI https://www.youtube.com/watch?v=bRLAOts_MTM -## Trouble Shooting +### Trouble Shooting Move the jumper furthest away from the `RESET` switch to 1. Reset and try to program again.