firestarter 1.2.2__tar.gz → 1.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {firestarter-1.2.2 → firestarter-1.2.4}/PKG-INFO +1 -1
- firestarter-1.2.4/firestarter/__init__.py +1 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter/ic_layout.py +3 -3
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter/main.py +9 -1
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter.egg-info/PKG-INFO +1 -1
- firestarter-1.2.2/firestarter/__init__.py +0 -1
- {firestarter-1.2.2 → firestarter-1.2.4}/.github/scripts/update_version.py +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/.github/workflows/publish.yml +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/.github/workflows/release.yml +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/.gitignore +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/.vscode/launch.json +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/LICENSE +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/MANIFEST.in +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/README.md +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/communication_test.sh +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/doc/package-details.md +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/doc/protocol-id.md +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter/avr_tool.py +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter/data/avrdude.conf +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter/data/database.json +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter/data/pin-maps.json +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter/database.py +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter.egg-info/SOURCES.txt +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter.egg-info/dependency_links.txt +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter.egg-info/entry_points.txt +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter.egg-info/requires.txt +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/firestarter.egg-info/top_level.txt +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/pyproject.toml +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/requirements.txt +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/setup.cfg +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/test.py +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/things.md +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/tools/infoic.xml +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/tools/parse_db.py +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/tools/pin-layouts.odt +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/tools/verified.txt +0 -0
- {firestarter-1.2.2 → firestarter-1.2.4}/write_test.sh +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.2.4"
|
|
@@ -125,7 +125,7 @@ def print_jumper_settings(jp1, jp2, jp3):
|
|
|
125
125
|
jp2_label = select_label(jp2, "A17", "VCC")
|
|
126
126
|
jp3_label = select_label(jp3, "32pin", "28pin")
|
|
127
127
|
print()
|
|
128
|
-
print("
|
|
128
|
+
print(" Jumper config (Rev 0 & 1 only)")
|
|
129
129
|
print(f"JP1 5V [{jumper[jp1]}] A13 : {jp1_label}")
|
|
130
130
|
print(f"JP2 5V [{jumper[jp2]}] A17 : {jp2_label}")
|
|
131
131
|
print(f"JP3 28pin [{jumper[jp3]}] 32pin : {jp3_label}")
|
|
@@ -135,8 +135,8 @@ def print_jumper_settings_jp3_mod(jp3):
|
|
|
135
135
|
jp3_label = select_label(jp3, "Open", "Closed")
|
|
136
136
|
jumper = [" N/A ", " ● ● ", "(● ●)"]
|
|
137
137
|
print()
|
|
138
|
-
print(" Jumper config (
|
|
139
|
-
print(f"
|
|
138
|
+
print(" Jumper config (JP4 on Rev 2)")
|
|
139
|
+
print(f"JP4 (Rev 2) [{jumper[jp3]}] : {jp3_label}")
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
def print_chip_info(eprom, verbose=False):
|
|
@@ -88,6 +88,8 @@ def check_port(port, data, baud_rate=BAUD_RATE):
|
|
|
88
88
|
if res == "ERROR":
|
|
89
89
|
raise Exception(msg)
|
|
90
90
|
print(f"{res} - {msg}")
|
|
91
|
+
if res == "TIMEOUT_ERROR":
|
|
92
|
+
return None
|
|
91
93
|
|
|
92
94
|
if verbose:
|
|
93
95
|
print(f"Programmer: {msg}")
|
|
@@ -132,6 +134,7 @@ def find_programmer(data, port=None):
|
|
|
132
134
|
data.pop("protocol-id")
|
|
133
135
|
|
|
134
136
|
if verbose:
|
|
137
|
+
print(f"Firestarter version: {version}")
|
|
135
138
|
data["verbose"] = True
|
|
136
139
|
print("Config data:")
|
|
137
140
|
print(data)
|
|
@@ -203,7 +206,7 @@ def wait_for_response(ser):
|
|
|
203
206
|
timeout = time.time()
|
|
204
207
|
|
|
205
208
|
if timeout + 2 < time.time():
|
|
206
|
-
return "
|
|
209
|
+
return "TIMEOUT_ERROR", "Timeout (expecting response)"
|
|
207
210
|
|
|
208
211
|
|
|
209
212
|
def write_feedback(msg):
|
|
@@ -243,6 +246,9 @@ def search_eproms(text):
|
|
|
243
246
|
|
|
244
247
|
|
|
245
248
|
def eprom_info(name):
|
|
249
|
+
if verbose:
|
|
250
|
+
print(f"Firestarter version: {version}")
|
|
251
|
+
|
|
246
252
|
eprom = db.get_eprom(name)
|
|
247
253
|
if not eprom:
|
|
248
254
|
print(f"Eprom {name} not found.")
|
|
@@ -505,6 +511,8 @@ def read_chip(
|
|
|
505
511
|
break
|
|
506
512
|
elif resp == "WARN":
|
|
507
513
|
print(f"Warning: {info}")
|
|
514
|
+
elif resp == "ERROR":
|
|
515
|
+
raise Exception(info)
|
|
508
516
|
else:
|
|
509
517
|
print()
|
|
510
518
|
print(f"Error reading data {info}")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.2.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|