Skip to content

Commit

Permalink
Documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bit2shift committed Sep 21, 2018
1 parent f6dd377 commit 1d2484b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Serial Flasher Protocol Specification v1 for Arduino Due
This implementation ~~uses~~ used software SPI (bit banging).
It uses hardware SPI through the ICSP header, since commit 2f98c47.
It uses hardware SPI (`C̅S̅ → pin 52`) through the ICSP header since commit 2f98c47.

### Why bit banging?
I needed to flash my laptop's BIOS and the Arduino Due was the only one I had running at 3.3V.
Expand Down
6 changes: 3 additions & 3 deletions serprog-due/serprog-due.ino
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* Serprog for Arduino Due using hardware SPI
* Serprog for Arduino Due using hardware SPI (CS on pin 52 by default, see below)
* Use a Pomona SOIC-8 clip to program a soldered serial flash
*
* SOP8 clip pinout
* SOP8 clip pinout (Winbond 25Q64FV)
* 1 -- /CS (CS)
* 2 -- DO (MISO)
* 3 -- /WP (pull-up)
Expand Down Expand Up @@ -31,7 +31,7 @@
* 0x14 (Set SPI frequency)
*/

//Change serial port and CS pin number accordingly
//Change serial port and CS pin if using a different Arduino
serprog sp(SerialUSB, 52);

void setup()
Expand Down

0 comments on commit 1d2484b

Please sign in to comment.