# Quick Start STM32F103CB

**Download and install the following software：**

* IAR EWARM (the software with the IDE compiler CC3200 is the same, if already installed, then the direct use, otherwise the installation yourself, we recommend using IAR EWARM 7.2 or later)
* Go <https://github.com/mark-legend/bpi_g1_stm32_simpleled> download SimpleLed

**G1 connection BPI open debugger board**

![](/files/-M2HXL1akqECfW9qtBXn)

**BPI open debugger check whether the software and hardware are connected**

BPI Open debugger connected to the PC, and check whether the drive is installed, if you can not identify, install [JLinkARM](http://www.segger.com/jlink-software.html)，which comes with software drivers. If you can identify that, please give G1 powered.

![](/files/-M2HXL1c7_HfGjOcMEtP)

**Compile, download and debug routines SimpleLed**

1. Start IAR EWARM and open SimpleLed project, select File> Open from the menu> Workspace

   ![](/files/-M2HXL1e4CiRtxobdMVK)
2. Browse to bpi\_g1\_stm32\_simpleled  SimpleLed and open SimpleLed.eww

   ![](/files/-M2HXL1gYU8pM4raoQlG)
3. Click on the icon to download the program debug button on the device and enter debug mode. Figure

   ![](/files/-M2HXL1iS0_4Ay5FFgRS)
4. Click Debug Step Out button on the column, enter the full speed

   ![](/files/-M2HXL1ksEdKSnmXWjiz)
5. If there is no problem, STM32 lower left corner of the LED will begin to flash lights

   ![](/files/-M2HXL1mhFvogtgYzeA1)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bananapi.gitbook.io/bpi-g1/en/quickstartstm32f103cb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
