Updated Flashing (markdown)

Eric Helgeson 2022-04-12 08:30:52 -05:00
parent 0431a8d658
commit 6a09e5e8f4

@ -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.