28c5f3aa491f7a6efecea6b08f5e9fa0f72ee997
Chip-dat/ST-dat/STM32-dat/STM32-HDK-dat/STM32-HDK-dat.md
| ... | ... | @@ -1,6 +1,16 @@ |
| 1 | 1 | |
| 2 | 2 | # STM32-HDK-dat |
| 3 | 3 | |
| 4 | +- [[STM32F103-dat]] |
|
| 5 | + |
|
| 6 | +- [[STM32F030-dat]] - [[STM32F042-dat]] |
|
| 7 | + |
|
| 8 | +- [[STM32F401-dat]] |
|
| 9 | + |
|
| 10 | +- [[STM32G030-dat]] |
|
| 11 | + |
|
| 12 | +- [[STM32-lora-dat]] |
|
| 13 | + |
|
| 4 | 14 | ## download |
| 5 | 15 | |
| 6 | 16 | NRST - DTR#, BOOT0 - RST# |
| ... | ... | @@ -10,4 +20,38 @@ NRST - DTR#, BOOT0 - RST# |
| 10 | 20 | |
| 11 | 21 | ## power supply and download via USB |
| 12 | 22 | |
| 13 | - |
|
| ... | ... | \ No newline at end of file |
| 0 | + |
|
| 1 | + |
|
| 2 | +## 🔧 Boot Configuration |
|
| 3 | + |
|
| 4 | +To enter system bootloader mode (UART download mode), set the BOOT pins as follows: |
|
| 5 | + |
|
| 6 | +| BOOT0 | BOOT1 | Mode | |
|
| 7 | +|-------|-------|--------------------------------| |
|
| 8 | +| 1 | 0 | **System Memory (USART1 boot)** | |
|
| 9 | +| 0 | x | Flash memory (normal startup) | |
|
| 10 | + |
|
| 11 | +**Set:** |
|
| 12 | +- `BOOT0 = 1` (connect to 3.3V) |
|
| 13 | +- `BOOT1 = 0` (connect to GND; often fixed on board) |
|
| 14 | + |
|
| 15 | +## 🔌 Flashing Procedure |
|
| 16 | + |
|
| 17 | +1. Set BOOT0 to HIGH (3.3V), BOOT1 to LOW (GND) |
|
| 18 | +2. Connect USB-TTL: |
|
| 19 | + - TX → PA10 |
|
| 20 | + - RX → PA9 |
|
| 21 | + - GND → GND |
|
| 22 | +3. Press the RESET button on the STM32 board |
|
| 23 | +4. Open STM32CubeProgrammer or run `stm32flash` |
|
| 24 | +5. Flash firmware over UART1 |
|
| 25 | + |
|
| 26 | +stm32flash -w firmware.bin -v -g 0x0 /dev/ttyUSB0 |
|
| 27 | + |
|
| 28 | + |
|
| 29 | + |
|
| 30 | +## ref |
|
| 31 | + |
|
| 32 | +- [[STM32-dat]] |
|
| 33 | + |
|
| 34 | +- [[STM32-SDK-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-dat/ST-dat/STM32-dat/STM32F103-dat/2025-07-04-12-24-38.png
| ... | ... | Binary files /dev/null and b/Chip-dat/ST-dat/STM32-dat/STM32F103-dat/2025-07-04-12-24-38.png differ |
Chip-dat/ST-dat/STM32-dat/STM32F103-dat/2025-07-04-12-25-54.png
| ... | ... | Binary files /dev/null and b/Chip-dat/ST-dat/STM32-dat/STM32F103-dat/2025-07-04-12-25-54.png differ |
Chip-dat/ST-dat/STM32-dat/STM32F103-dat/STM32F103-dat.md
| ... | ... | @@ -8,3 +8,30 @@ STM32F103C6T6 - 32KB |
| 8 | 8 | |
| 9 | 9 | https://www.st.com/en/microcontrollers-microprocessors/stm32f103c6.html |
| 10 | 10 | |
| 11 | + |
|
| 12 | +[official chip info](https://www.st.com/en/microcontrollers-microprocessors/stm32f103c8.html) == Mainstream Performance line, Arm Cortex-M3 MCU with 64 Kbytes of Flash memory, 72 MHz CPU, motor control, USB and CAN |
|
| 13 | + |
|
| 14 | +[official datasheet](https://www.st.com/resource/en/datasheet/stm32f103c8.pdf) |
|
| 15 | + |
|
| 16 | + |
|
| 17 | +- USART1 (PA9/PA10) |
|
| 18 | +- BOOT0 |
|
| 19 | + |
|
| 20 | + |
|
| 21 | +## LQFP64 pinout |
|
| 22 | + |
|
| 23 | + |
|
| 24 | + |
|
| 25 | +## LQFP48 pinout |
|
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 29 | + |
|
| 30 | + |
|
| 31 | +## APPs |
|
| 32 | + |
|
| 33 | +- [[Lora-HDK-dat]] |
|
| 34 | + |
|
| 35 | +## ref |
|
| 36 | + |
|
| 37 | +- [[STM32-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/STM32-SDK-dat/STM32-SDK-dat.md
| ... | ... | @@ -0,0 +1,10 @@ |
| 1 | + |
|
| 2 | +# STM32-SDK-dat.md |
|
| 3 | + |
|
| 4 | +- [[STM32-cube-programmer-dat]] |
|
| 5 | + |
|
| 6 | +- [[STM32-HDK-dat]] |
|
| 7 | + |
|
| 8 | +- [[STM32flash-dat]] == Since release 1.6.0 of the STM32 core, STM32CubeProgrammer is used to flash and replaced this tool. == https://github.com/stm32duino/stm32flash |
|
| 9 | + |
|
| 10 | +- STM32 Flash loader demonstrator (UM0462) (replaced by STM32CubeProgrammer) |
|
| ... | ... | \ No newline at end of file |
SDK-dat/STM32-SDK-dat/stm32-cube-dat/stm32-cube-dat.md
| ... | ... | @@ -1,15 +0,0 @@ |
| 1 | - |
|
| 2 | -# stm32-cube-dat |
|
| 3 | - |
|
| 4 | - |
|
| 5 | -## Programmer |
|
| 6 | -* X64 2.6 - https://my.st.com/content/ccc/resource/technical/software/utility/group0/d5/9b/ea/a8/cd/2d/4e/3c/stm32cubeprg-win64_v2-6-0/files/stm32cubeprg-win64_v2-6-0.zip/jcr:content/translations/en.stm32cubeprg-win64_v2-6-0.zip |
|
| 7 | -- STM32cubeprog 2.2.1 - https://my.st.com/content/ccc/resource/technical/software/utility/group0/e1/74/6e/13/97/d4/48/98/stm32cubeprog/files/stm32cubeprog.zip/jcr:content/translations/en.stm32cubeprog.zip |
|
| 8 | - |
|
| 9 | -* Require https://w.electrodragon.com/w/Java |
|
| 10 | -* Support DFU |
|
| 11 | - |
|
| 12 | - |
|
| 13 | -## ref |
|
| 14 | - |
|
| 15 | -- [[stm32-cube]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/STM32-SDK-dat/stm32-cube-programmer-dat/2025-07-04-12-37-56.png
| ... | ... | Binary files /dev/null and b/SDK-dat/STM32-SDK-dat/stm32-cube-programmer-dat/2025-07-04-12-37-56.png differ |
SDK-dat/STM32-SDK-dat/stm32-cube-programmer-dat/stm32-cube-programmer-dat.md
| ... | ... | @@ -0,0 +1,73 @@ |
| 1 | + |
|
| 2 | +# stm32-cube-programmer-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +## Programmer |
|
| 6 | +* X64 2.6 - https://my.st.com/content/ccc/resource/technical/software/utility/group0/d5/9b/ea/a8/cd/2d/4e/3c/stm32cubeprg-win64_v2-6-0/files/stm32cubeprg-win64_v2-6-0.zip/jcr:content/translations/en.stm32cubeprg-win64_v2-6-0.zip |
|
| 7 | +- STM32cubeprog 2.2.1 - https://my.st.com/content/ccc/resource/technical/software/utility/group0/e1/74/6e/13/97/d4/48/98/stm32cubeprog/files/stm32cubeprog.zip/jcr:content/translations/en.stm32cubeprog.zip |
|
| 8 | + |
|
| 9 | +* Require https://w.electrodragon.com/w/Java - [[JAVA-dat]] |
|
| 10 | +* Support [[DFU-dat]] |
|
| 11 | + |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 15 | + |
|
| 16 | +## error log |
|
| 17 | + |
|
| 18 | +Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. |
|
| 19 | + |
|
| 20 | +Reset your device then try again. |
|
| 21 | + |
|
| 22 | + |
|
| 23 | +## Connect to Chip |
|
| 24 | + |
|
| 25 | +## UART Connecting |
|
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 29 | +### UART configuration |
|
| 30 | + |
|
| 31 | +based on the APP [[lora-HDK-dat]] |
|
| 32 | + |
|
| 33 | +| config | value | |
|
| 34 | +| -------------------- | ------ | |
|
| 35 | +| PortCOM | 244 | |
|
| 36 | +| Baudrate | 115200 | |
|
| 37 | +| Parily | Odd | |
|
| 38 | +| Data bits | 8 | |
|
| 39 | +| Stop bits | 1.0 | |
|
| 40 | +| Flow control | off | |
|
| 41 | +| RTS | 1 | |
|
| 42 | +| DTR | 1 | |
|
| 43 | +| Read Unprotect (MCU) | check | |
|
| 44 | + |
|
| 45 | + |
|
| 46 | + 12:38:58 : RTS High |
|
| 47 | + 12:38:58 : DTR High |
|
| 48 | + 12:38:58 : Serial Port COM244 is successfully opened. |
|
| 49 | + 12:38:58 : Port configuration: parity = odd, baudrate = 115200, data-bit = 8, stop-bit = 1.0, flow-control = off |
|
| 50 | + 12:39:00 : Timeout error occured while waiting for acknowledgement. |
|
| 51 | + 12:39:00 : Activating device: OK |
|
| 52 | + 12:39:00 : Chip ID: 0x410 |
|
| 53 | + 12:39:00 : BootLoader protocol version: 2.2 |
|
| 54 | + 12:39:00 : Device Read Unprotect requested |
|
| 55 | + 12:39:02 : UPLOADING OPTION BYTES DATA ... |
|
| 56 | + 12:39:02 : Bank : 0x00 |
|
| 57 | + 12:39:02 : Address : 0x1ffff800 |
|
| 58 | + 12:39:02 : Size : 16 Bytes |
|
| 59 | + 12:39:03 : UPLOADING ... |
|
| 60 | + 12:39:03 : Size : 1024 Bytes |
|
| 61 | + 12:39:03 : Address : 0x8000000 |
|
| 62 | + 12:39:03 : Read progress: |
|
| 63 | + 12:39:04 : Data read successfully |
|
| 64 | + 12:39:04 : Time elapsed during the read operation is: 00:00:01.150 |
|
| 65 | + |
|
| 66 | +## apps |
|
| 67 | + |
|
| 68 | +- [[lora-hdk-dat]] |
|
| 69 | + |
|
| 70 | + |
|
| 71 | +## ref |
|
| 72 | + |
|
| 73 | +- [[stm32-cube-programmer]] |
|
| ... | ... | \ No newline at end of file |
weekly-dat/2025-06-07-dat/2025-06-07-dat.md
| ... | ... | @@ -0,0 +1,24 @@ |
| 1 | + |
|
| 2 | +# 2025-06-07-dat |
|
| 3 | + |
|
| 4 | +This a weekly update newsletter, to briefly tell you whats new and whats fun we are working at, hope you like |
|
| 5 | + |
|
| 6 | +## New Boards |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 10 | +## Development, Documents Updates |
|
| 11 | + |
|
| 12 | +- good example of [[STM32-HDK-dat]] hardware board [[LORA-HDK-dat]], run [[serial-dat]] programming easily, programming tool is [[STM32-cube-programmer-dat]]. |
|
| 13 | + |
|
| 14 | + |
|
| 15 | + |
|
| 16 | +## Dissusion, Feedback, To-do |
|
| 17 | + |
|
| 18 | + |
|
| 19 | + |
|
| 20 | +## Interesting Readings, News |
|
| 21 | + |
|
| 22 | +- [teardown 3d print drone claw ](https://www.electrodragon.com/teardown-a-3d-printed-drone-claw/) |
|
| 23 | + |
|
| 24 | + |
weekly-dat/2025-June-dat/2025-June-dat.md
| ... | ... | @@ -1,22 +0,0 @@ |
| 1 | - |
|
| 2 | -# 2025-June-dat |
|
| 3 | - |
|
| 4 | -This a weekly update newsletter, to briefly tell you whats new and whats fun we are working at, hope you like |
|
| 5 | - |
|
| 6 | -## New Boards |
|
| 7 | - |
|
| 8 | - |
|
| 9 | - |
|
| 10 | -## Development, Documents Updates |
|
| 11 | - |
|
| 12 | - |
|
| 13 | - |
|
| 14 | -## Dissusion, Feedback, To-do |
|
| 15 | - |
|
| 16 | - |
|
| 17 | - |
|
| 18 | -## Interesting Readings, News |
|
| 19 | - |
|
| 20 | -- [teardown 3d print drone claw ](https://www.electrodragon.com/teardown-a-3d-printed-drone-claw/) |
|
| 21 | - |
|
| 22 | - |
weekly-dat/weekly-dat.md
| ... | ... | @@ -25,19 +25,19 @@ |
| 25 | 25 | | 16 | Apr 14 | Apr 20 | [[2024-April-dat]] | |
| 26 | 26 | | 17 | Apr 21 | Apr 27 | [[2024-April-dat]] | |
| 27 | 27 | | 18 | Apr 28 | May 4 | [[2025-May-dat]] | |
| 28 | -| 19 | May 5 | May 11 | | |
|
| 29 | -| 20 | May 12 | May 18 | | |
|
| 30 | -| 21 | May 19 | May 25 | | |
|
| 31 | -| 22 | May 26 | Jun 1 | | |
|
| 32 | -| 23 | Jun 2 | Jun 8 | | |
|
| 33 | -| 24 | Jun 9 | Jun 15 | | |
|
| 34 | -| 25 | Jun 16 | Jun 22 | | |
|
| 35 | -| 26 | Jun 23 | Jun 29 | | |
|
| 36 | -| 27 | Jun 30 | Jul 6 | | |
|
| 37 | -| 28 | Jul 7 | Jul 13 | | |
|
| 38 | -| 29 | Jul 14 | Jul 20 | | |
|
| 39 | -| 30 | Jul 21 | Jul 27 | | |
|
| 40 | -| 31 | Jul 28 | Aug 3 | | |
|
| 28 | +| 19 | May 5 | May 11 | [[2025-May-dat]] | |
|
| 29 | +| 20 | May 12 | May 18 | [[2025-May-dat]] | |
|
| 30 | +| 21 | May 19 | May 25 | [[2025-May-dat]] | |
|
| 31 | +| 22 | May 26 | Jun 1 | [[2025-06-07-dat]] | |
|
| 32 | +| 23 | Jun 2 | Jun 8 | [[2025-06-07-dat]] | |
|
| 33 | +| 24 | Jun 9 | Jun 15 | [[2025-06-07-dat]] | |
|
| 34 | +| 25 | Jun 16 | Jun 22 | [[2025-06-07-dat]] | |
|
| 35 | +| 26 | Jun 23 | Jun 29 | [[2025-06-07-dat]] | |
|
| 36 | +| 27 | Jun 30 | Jul 6 | [[2025-06-07-dat]] | |
|
| 37 | +| 28 | Jul 7 | Jul 13 | [[2025-06-07-dat]] | |
|
| 38 | +| 29 | Jul 14 | Jul 20 | [[2025-06-07-dat]] | |
|
| 39 | +| 30 | Jul 21 | Jul 27 | [[2025-06-07-dat]] | |
|
| 40 | +| 31 | Jul 28 | Aug 3 | [[2025-06-07-dat]] | |
|
| 41 | 41 | | 32 | Aug 4 | Aug 10 | | |
| 42 | 42 | | 33 | Aug 11 | Aug 17 | | |
| 43 | 43 | | 34 | Aug 18 | Aug 24 | | |