Skip to content
Snippets Groups Projects
Commit 3b3f9406 authored by cnlohr's avatar cnlohr
Browse files

Update comments about NRST mode.

parent 92a51dd4
No related branches found
No related tags found
No related merge requests found
......@@ -14,16 +14,20 @@ The exe here is about 12kB and contains everything except for the libusb driver.
Usage: minichlink [args]
single-letter args may be combined, i.e. -3r
multi-part args cannot.
-3 Enable 3.3V
-5 Enable 5V
-t Disable 3.3V
-f Disable 5V
-r Release from reest
-R Place into Reset
-D Configure NRST as GPIO **WARNING** If you do this and you reconfig
the SWIO pin (PD1) on boot, your part can never again be programmed!
-d Configure NRST as NRST
-w [binary image to write]
-o [memory address, decimal or 0x, try 0x08000000] [size, decimal or 0x, try 16384] [output binary image]
-3 Enable 3.3V
-5 Enable 5V
-t Disable 3.3V
-f Disable 5V
-u Clear all code flash - by power off (also can unbrick)
-b Reboot out of Halt
-e Resume from halt
-h Place into Halt
-D Configure NRST as GPIO
-d Configure NRST as NRST
-w [binary image to write] [address, decimal or 0x, try0x08000000]
-r [output binary image] [memory address, decimal or 0x, try 0x08000000] [size, decimal or 0x, try 16384]
Note: for memory addresses, you can use 'flash' 'launcher' 'bootloader' 'option' 'ram' and say "ram+0x10" for instance
For filename, you can use - for raw or + for hex.
-T is a terminal. This MUST be the last argument if used.
```
......@@ -407,7 +407,7 @@ help:
fprintf( stderr, " -r [output binary image] [memory address, decimal or 0x, try 0x08000000] [size, decimal or 0x, try 16384]\n" );
fprintf( stderr, " Note: for memory addresses, you can use 'flash' 'launcher' 'bootloader' 'option' 'ram' and say \"ram+0x10\" for instance\n" );
fprintf( stderr, " For filename, you can use - for raw or + for hex.\n" );
fprintf( stderr, " -T is a terminal. This MUST be the last argument. You MUST have resumed or \n" );
fprintf( stderr, " -T is a terminal. This MUST be the last argument if used.\n" );
return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment