Skip to content

Commit

Permalink
commit icesprog v1.1a
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxx committed Jan 2, 2021
1 parent 201b354 commit 79aa508
Show file tree
Hide file tree
Showing 4 changed files with 531 additions and 82 deletions.
Binary file modified tools/icesprog.arm
Binary file not shown.
24 changes: 24 additions & 0 deletions tools/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# iCELink Tips
## GPIO control
```
$icesprog --gpio PB14 --mode out
$icesprog --gpio PB14 --write 0
$icesprog --gpio PB14 --write 1
$icesprog --gpio PB14 --read
```

## JTAG select (available on iCESugar-pro)
```
$icesprog --jtag-sel ?
$icesprog --jtag-sel 1
$icesprog --jtag-sel 2
```

## MCO config (available on iCESugar-nano)
```
$icesprog --clk-sel ?
$icesprog --clk-sel 1
$icesprog --clk-sel 2
$icesprog --clk-sel 3
$icesprog --clk-sel 4
```
Binary file modified tools/src/icesprog
Binary file not shown.
Loading

0 comments on commit 79aa508

Please sign in to comment.