Skip to content

Commit fd4c833

Browse files
committed
Update README
1 parent e45ac69 commit fd4c833

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,21 @@ The firmware build requires `make` and `arm-none-eabi-gcc`.
8686

8787
## Drivers ##
8888

89-
As of commit f62ccdf0ea2d611deabf48ec3ad5db759205dbb0 and firmware version 2.0.0,
89+
As of commit `f62ccdf0ea2d611deabf48ec3ad5db759205dbb0` and firmware version 2.0.0,
9090
the CW521 now uses the same WCID driver assignment as ChipWhisperer devices,
9191
meaning no custom drivers need to be installed.
9292

93-
If you have old firmware/drivers and want to update, instructions
94-
can be adapted from [ChipWhisperer's documentation on the subject](https://chipwhisperer.readthedocs.io/en/latest/drivers.html)
93+
If you have old firmware/drivers and want to update, the easiest method is to:
94+
95+
1. Plug your Ballistic Gel board in
96+
1. Short JP1 (labelled ERASE)
97+
1. Unplug + replug your Ballistic Gel
98+
1. Run the following code:
99+
100+
```python
101+
from ballisticgel import program_sam_firmware
102+
program_sam_firmware()
103+
```
95104

96105
Note that the same `upgrade_firmware()` method is now available on the CW521 object:
97106

ballisticgel/naeusb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
from chipwhisperer.logging import *
4343

44-
def quick_firmware_erase(product_id, serial_number=None):
44+
def quick_firmware_erase(product_id=0xC521, serial_number=None):
4545
naeusb = NAEUSB()
4646
naeusb.con(serial_number=serial_number, idProduct=[product_id])
4747
naeusb.enterBootloader(True)

0 commit comments

Comments
 (0)