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
- buspirate: Add option for setting the aux pin: https://review.coreboot.org/c/flashrom/+/43608
21
+
A required `dev` parameter specifies the Bus Pirate device node and an optional `spispeed` parameter specifies the frequency of the SPI bus. The parameter delimiter is a comma. Syntax is:
22
22
23
-
When working with low-voltage chips, the internal 10k pull-ups of the Bus Pirate might be too high. In such cases, it's
24
-
necessary to create an external pull-up using lower-value resistors. For this, you can use the ``hiz`` parameter.
25
-
This way, the Bus Pirate will operate as an open drain. Syntax is::
where `frequency` can be `30k`, `125k`, `250k`, `1M`, `2M`, `2.6M`, `4M` or `8M` (in Hz). The default is the maximum frequency of 8 MHz.
28
+
29
+
The baud rate for communication between the host and the Bus Pirate can be specified with the optional `serialspeed` parameter. Syntax is:
30
+
31
+
```bash
32
+
flashrom -p buspirate_spi:serialspeed=baud
33
+
```
34
+
35
+
where `baud` can be `115200`, `230400`, `250000` or `2000000` (`2M`). The default is `2M` baud for Bus Pirate hardware version 3.0 and greater, and 115200 otherwise.
36
+
37
+
An optional pullups parameter specifies the use of the Bus Pirate internal pull-up resistors. This may be needed if you are working with a flash ROM chip that you have physically removed from the board. Syntax is:
38
+
39
+
```bash
40
+
flashrom -p buspirate_spi:pullups=state
41
+
```
42
+
43
+
where `state` can be `on` or `off`. More information about the Bus Pirate pull-up resistors and their purpose is available [in a guide by dangerousprototypes](http://dangerousprototypes.com/docs/Practical_guide_to_Bus_Pirate_pull-up_resistors).
44
+
45
+
When working with low-voltage chips, the internal 10k pull-ups of the Bus Pirate might be too high. In such cases, it’s necessary to create an external pull-up using lower-value resistors.
46
+
47
+
For this, you can use the `hiz` parameter. This way, the Bus Pirate will operate as an open drain. Syntax is:
48
+
49
+
```bash
27
50
flashrom -p buspirate_spi:hiz=state
28
51
```
29
52
30
-
AUX param:
53
+
where `state` can be `on` or `off`.
54
+
55
+
The state of the Bus Pirate power supply pins is controllable through an optional `psus` parameter. Syntax is:
56
+
57
+
```bash
58
+
flashrom -p buspirate_spi:psus=state
31
59
```
32
-
aux=high/low
60
+
61
+
where `state` can be `on` or `off`. This allows the bus pirate to power the ROM chip directly. This may also be used to provide the required pullup voltage (when using the `pullups` option), by connecting the Bus Pirate’s Vpu input to the appropriate Vcc pin.
62
+
63
+
An optional aux parameter specifies the state of the Bus Pirate auxiliary pin. This may be used to drive the auxiliary pin high or low before a transfer. Syntax is:
64
+
65
+
```bash
66
+
flashrom -p buspirate_spi:aux=state
33
67
```
68
+
69
+
where `state` can be `high` or `low`. The default `state` is `high`.
0 commit comments