You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: software/sphinx/src/source/1_2_0_about.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
General Information
2
2
===================
3
3
4
-
The **CH552 Multi-Protocol Programmer** is a compact and versatile development tool designed for high-precision embedded system applications. It supports a broad range of protocols and device architectures, including **AVR**, **ARM (CMSIS-DAP)**, and **CPLD (MAX II)**. Its USB connectivity enables direct interfacing with standard development environments, enabling:
4
+
The **Multi-Protocol Programmer** is a compact and versatile development tool designed for high-precision embedded system applications. It supports a broad range of protocols and device architectures, including **AVR**, **ARM (CMSIS-DAP)**, and **CPLD (MAX II)**. Its USB connectivity enables direct interfacing with standard development environments, enabling:
Copy file name to clipboardExpand all lines: software/sphinx/src/source/2_2_0_started.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ Upload Command
133
133
Explanation:
134
134
135
135
* ``-p m328p`` specifies the target device (ATmega328P).
136
-
* ``-c usbasp`` sets the programmer to the CH552 USB Multi-Protocol Programmer.
136
+
* ``-c usbasp`` sets the programmer to the Multi-Protocol Programmer.
137
137
* ``-U flash:w:blink.hex`` uploads the hex file to flash memory.
138
138
139
139
Replace ``m328p`` with the appropriate identifier for your specific AVR device (e.g., ``t88`` for ATtiny88). A full list of supported devices is available in the `AVRDUDE user manual <http://www.nongnu.org/avrdude/user-manual/avrdude.html#Device-Options>`_.
Copy file name to clipboardExpand all lines: software/sphinx/src/source/3_1_0_openocd.rst
+162Lines changed: 162 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,168 @@ Each microcontroller requires a specific configuration file. This file is a scri
51
51
PyOCD
52
52
=====
53
53
54
+
PyOCD is a command-line tool for interacting with ARM Cortex-M microcontrollers. It supports flashing, erasing, debugging, and low-level memory access using CMSIS-DAP, DAPLink, ST-Link, and other probes.
55
+
56
+
Basic Syntax
57
+
------------
58
+
59
+
.. code-block:: bash
60
+
61
+
pyocd <command> [OPTIONS]
62
+
63
+
You can specify the target using ``-t <target>`` or through a configuration file using ``--config <file.yaml>``.
64
+
65
+
Configuration File
66
+
------------------
67
+
68
+
Use a YAML configuration file to define global options:
69
+
70
+
.. code-block:: yaml
71
+
72
+
# Misc/pyocd.yaml
73
+
target_override: py32f003x6
74
+
frequency: 1000000
75
+
log_level: info
76
+
77
+
To load this config:
78
+
79
+
.. code-block:: bash
80
+
81
+
pyocd erase --config ./Misc/pyocd.yaml
82
+
83
+
Commands
84
+
--------
85
+
86
+
erase
87
+
^^^^^
88
+
89
+
Erase flash memory of the target device.
90
+
91
+
.. code-block:: bash
92
+
93
+
pyocd erase -t py32f003x6 [OPTIONS]
94
+
95
+
Options:
96
+
97
+
- ``--chip``: Erase the entire flash memory.
98
+
- ``--sector <ADDR>``: Erase a single sector by address.
99
+
- ``--config <file.yaml>``: Load configuration from YAML file.
Copy file name to clipboardExpand all lines: software/sphinx/src/source/4_0_0_rp2040.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,10 @@ The RP2040 is an efficient and cost-effective microcontroller developed by Raspb
13
13
14
14
This guide provides a comprehensive introduction to working with RP2040 microcontrollers. It covers setting up the development environment, installing the required software, and writing code for RP2040-based projects.
15
15
16
-
CH552 Multi-Protocol Programmer for RP2040
16
+
Multi-Protocol Programmer for RP2040
17
17
-----------------------------------------
18
18
19
-
The CH552 Multi-Protocol Programmer is a versatile tool for programming and debugging RP2040 microcontrollers. It enables straightforward and reliable programming using the SWD (Serial Wire Debug) interface.
19
+
The Multi-Protocol Programmer is a versatile tool for programming and debugging RP2040 microcontrollers. It enables straightforward and reliable programming using the SWD (Serial Wire Debug) interface.
20
20
21
21
.. raw:: html
22
22
@@ -26,10 +26,10 @@ The CH552 Multi-Protocol Programmer is a versatile tool for programming and debu
26
26
</div>
27
27
28
28
29
-
Programming RP2040 with the CH552 Multi-Protocol Programmer
29
+
Programming RP2040 with the Multi-Protocol Programmer
The CH552 Multi-Protocol Programmer supports programming of RP2040 microcontrollers via the SWD interface. This interface allows direct access to the target microcontroller's flash memory and supports debugging functionality. The programmer is compatible with RP2040f10x and RP2040f4xx series.
32
+
The Multi-Protocol Programmer supports programming of RP2040 microcontrollers via the SWD interface. This interface allows direct access to the target microcontroller's flash memory and supports debugging functionality. The programmer is compatible with RP2040f10x and RP2040f4xx series.
33
33
34
34
.. only:: html
35
35
@@ -48,12 +48,12 @@ The CH552 Multi-Protocol Programmer supports programming of RP2040 microcontroll
48
48
Pinout diagram for RP2040
49
49
50
50
51
-
DualMCU RP2040 Programming with CH552 Multi-Protocol Programmer
51
+
DualMCU RP2040 Programming with Multi-Protocol Programmer
Copy file name to clipboardExpand all lines: software/sphinx/src/source/index.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Multi-Protocol Programmer
12
12
13
13
**Multi-Protocol Programmer**
14
14
15
-
The **USB Multi-Protocol Programmer** is a compact and cost-effective device designed for embedded systems development, testing, and debugging. It supports multiple hardware architectures including **AVR**, **ARM Cortex-M (CMSIS-DAP)**, and **CPLD (MAX II)**, making it ideal for a wide range of applications such as firmware development, educational labs, and low-volume production environments.
15
+
The **USB Multi-Protocol Programmer** is a compact and cost-effective device designed for embedded systems development, testing, and debugging. It supports multiple hardware architectures including **AVR**, **ARM Cortex-M (CMSIS-DAP)**, and **CPLD (MAX II)**, making it ideal for a wide range of applications such as firmware development, educational labs, and low-volume production environments.
16
16
17
17
This programmer is built around the **CH552 microcontroller**, which is based on the enhanced **8051 architecture**. It offers native USB support and a range of digital interfaces (GPIO, SPI, I2C, UART), enabling seamless communication between the host system and the target hardware.
0 commit comments