File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Serial Flasher Protocol Specification v1 for Arduino Due
2
2
This implementation ~~ uses~~ used software SPI (bit banging).
3
- It uses hardware SPI through the ICSP header, since commit 2f98c47.
3
+ It uses hardware SPI ( ` C̅S̅ → pin 52 ` ) through the ICSP header since commit 2f98c47.
4
4
5
5
### Why bit banging?
6
6
I needed to flash my laptop's BIOS and the Arduino Due was the only one I had running at 3.3V.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Serprog for Arduino Due using hardware SPI
2
+ * Serprog for Arduino Due using hardware SPI (CS on pin 52 by default, see below)
3
3
* Use a Pomona SOIC-8 clip to program a soldered serial flash
4
4
*
5
- * SOP8 clip pinout
5
+ * SOP8 clip pinout (Winbond 25Q64FV)
6
6
* 1 -- /CS (CS)
7
7
* 2 -- DO (MISO)
8
8
* 3 -- /WP (pull-up)
31
31
* 0x14 (Set SPI frequency)
32
32
*/
33
33
34
- // Change serial port and CS pin number accordingly
34
+ // Change serial port and CS pin if using a different Arduino
35
35
serprog sp (SerialUSB, 52 );
36
36
37
37
void setup ()
You can’t perform that action at this time.
0 commit comments