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/command_reference.md
+38-6Lines changed: 38 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -196,9 +196,9 @@ Write DP register.
196
196
<tr><td>
197
197
<ahref="#reset"><tt>reset</tt></a>
198
198
</td><td>
199
-
[halt|-halt|-h]
199
+
[halt|-halt|-h][TYPE]
200
200
</td><td>
201
-
Reset the target.
201
+
Reset the target, optionally specifying the reset type.
202
202
</td></tr>
203
203
204
204
<tr><td>
@@ -297,6 +297,15 @@ ADDR [LEN]
297
297
Read 32-bit words.
298
298
</td></tr>
299
299
300
+
<tr><td>
301
+
<ahref="#read64"><tt>read64</tt></a>,
302
+
<ahref="#read64"><tt>rd</tt></a>
303
+
</td><td>
304
+
ADDR [LEN]
305
+
</td><td>
306
+
Read 64-bit words.
307
+
</td></tr>
308
+
300
309
<tr><td>
301
310
<ahref="#read8"><tt>read8</tt></a>,
302
311
<ahref="#read8"><tt>rb</tt></a>
@@ -332,6 +341,15 @@ ADDR DATA+
332
341
Write 32-bit words to memory.
333
342
</td></tr>
334
343
344
+
<tr><td>
345
+
<ahref="#write64"><tt>write64</tt></a>,
346
+
<ahref="#write64"><tt>wd</tt></a>
347
+
</td><td>
348
+
ADDR DATA...
349
+
</td><td>
350
+
Write 64-bit double-words to memory.
351
+
</td></tr>
352
+
335
353
<tr><td>
336
354
<ahref="#write8"><tt>write8</tt></a>,
337
355
<ahref="#write8"><tt>wb</tt></a>
@@ -749,8 +767,8 @@ Write DP register.
749
767
750
768
##### `reset`
751
769
752
-
**Usage**: [halt|-halt|-h]\
753
-
Reset the target.
770
+
**Usage**: [halt|-halt|-h][TYPE]\
771
+
Reset the target, optionally specifying the reset type. The reset type must be one of 'default', 'hw', 'sw', 'hardware', 'software', 'sw_sysresetreq', 'sw_vectreset', 'sw_emulated', 'sysresetreq', 'vectreset', or 'emulated'.
754
772
755
773
756
774
##### `unlock`
@@ -818,14 +836,21 @@ Load a binary file to an address in memory (RAM or flash). This command is depre
818
836
819
837
**Aliases**: `rh`\
820
838
**Usage**: ADDR [LEN]\
821
-
Read 16-bit halfwords. Optional length parameter is the number of bytes to read. It must be divisible by 2. If the length is not provided, one halfword is read. The address may be unaligned.
839
+
Read 16-bit halfwords. Optional length parameter is the number of bytes (not half-words) to read. It must be divisible by 2. If the length is not provided, one halfword is read. The address may be unaligned.
822
840
823
841
824
842
##### `read32`
825
843
826
844
**Aliases**: `rw`\
827
845
**Usage**: ADDR [LEN]\
828
-
Read 32-bit words. Optional length parameter is the number of bytes to read. It must be divisible by 4. If the length is not provided, one word is read. The address may be unaligned.
846
+
Read 32-bit words. Optional length parameter is the number of bytes (not words) to read. It must be divisible by 4. If the length is not provided, one word is read. The address may be unaligned.
847
+
848
+
849
+
##### `read64`
850
+
851
+
**Aliases**: `rd`\
852
+
**Usage**: ADDR [LEN]\
853
+
Read 64-bit words. Optional length parameter is the number of bytes (not double-words!) to read. It must be divisible by 8. If the length is not provided, one word is read. The address may be unaligned.
829
854
830
855
831
856
##### `read8`
@@ -855,6 +880,13 @@ Write 16-bit halfwords to memory. The data arguments are 16-bit halfwords in big
855
880
Write 32-bit words to memory. The data arguments are 32-bit words in big-endian format and are written as little-endian. The address may be unaligned. Can write to both RAM and flash. Flash writes are subject to minimum write size and alignment, and the flash page must have been previously erased.
856
881
857
882
883
+
##### `write64`
884
+
885
+
**Aliases**: `wd`\
886
+
**Usage**: ADDR DATA... \
887
+
Write 64-bit double-words to memory. The data arguments are 64-bit words in big-endian format and are written as little-endian. The address may be unaligned. Can write to both RAM and flash. Flash writes are subject to minimum write size and alignment, and the flash page must have been previously erased.
0 commit comments