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: docs/1_2_0_about.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -420,7 +420,7 @@ <h2> Contents </h2>
420
420
421
421
<sectionid="general-information">
422
422
<h1>General Information<aclass="headerlink" href="#general-information" title="Link to this heading">#</a></h1>
423
-
<p>The <strong>CH552 Multi-Protocol Programmer</strong> 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 <strong>AVR</strong>, <strong>ARM (CMSIS-DAP)</strong>, and <strong>CPLD (MAX II)</strong>. Its USB connectivity enables direct interfacing with standard development environments, enabling:</p>
423
+
<p>The <strong>Multi-Protocol Programmer</strong> 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 <strong>AVR</strong>, <strong>ARM (CMSIS-DAP)</strong>, and <strong>CPLD (MAX II)</strong>. Its USB connectivity enables direct interfacing with standard development environments, enabling:</p>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">-p</span><spanclass="pre">m328p</span></code> specifies the target device (ATmega328P).</p></li>
532
-
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">-c</span><spanclass="pre">usbasp</span></code> sets the programmer to the CH552 USB Multi-Protocol Programmer.</p></li>
532
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">-c</span><spanclass="pre">usbasp</span></code> sets the programmer to the Multi-Protocol Programmer.</p></li>
533
533
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">-U</span><spanclass="pre">flash:w:blink.hex</span></code> uploads the hex file to flash memory.</p></li>
534
534
</ul>
535
535
<p>Replace <codeclass="docutils literal notranslate"><spanclass="pre">m328p</span></code> with the appropriate identifier for your specific AVR device (e.g., <codeclass="docutils literal notranslate"><spanclass="pre">t88</span></code> for ATtiny88). A full list of supported devices is available in the <aclass="reference external" href="http://www.nongnu.org/avrdude/user-manual/avrdude.html#Device-Options">AVRDUDE user manual</a>.</p>
@@ -485,9 +494,126 @@ <h3>Selecting Your Microcontroller Target<a class="headerlink" href="#selecting-
485
494
</section>
486
495
<sectionid="pyocd">
487
496
<h1>PyOCD<aclass="headerlink" href="#pyocd" title="Link to this heading">#</a></h1>
497
+
<p>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.</p>
498
+
<sectionid="basic-syntax">
499
+
<h2>Basic Syntax<aclass="headerlink" href="#basic-syntax" title="Link to this heading">#</a></h2>
<p>You can specify the target using <codeclass="docutils literal notranslate"><spanclass="pre">-t</span><spanclass="pre"><target></span></code> or through a configuration file using <codeclass="docutils literal notranslate"><spanclass="pre">--config</span><spanclass="pre"><file.yaml></span></code>.</p>
504
+
</section>
505
+
<sectionid="configuration-file">
506
+
<h2>Configuration File<aclass="headerlink" href="#configuration-file" title="Link to this heading">#</a></h2>
507
+
<p>Use a YAML configuration file to define global options:</p>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">--chip</span></code>: Erase the entire flash memory.</p></li>
528
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">--sector</span><spanclass="pre"><ADDR></span></code>: Erase a single sector by address.</p></li>
529
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">--config</span><spanclass="pre"><file.yaml></span></code>: Load configuration from YAML file.</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">--base-address</span><spanclass="pre"><addr></span></code>: Override the base address (for .bin files).</p></li>
542
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">--verify</span></code>: Verify flash contents after writing.</p></li>
0 commit comments