Prepare for GitHub.
This commit is contained in:
parent
99a429f9b0
commit
c0681bc757
16
README.md
16
README.md
@ -1,2 +1,14 @@
|
||||
http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=115804&whichpage=1
|
||||
http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=137838&whichpage=50
|
||||
GCD Parser
|
||||
==========
|
||||
|
||||
This is a parser for GCD files (firmware updates from a well-known manufacturer).
|
||||
|
||||
It's in Python, so feel free to add cool new features and submit pull requests.
|
||||
|
||||
Thanks to TurboCCC and kunix for your work.
|
||||
|
||||
Most info from:
|
||||
|
||||
* http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=115804&whichpage=1
|
||||
* http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=137838&whichpage=50
|
||||
* hours of looking at hex numbers
|
||||
|
2
gcd.py
2
gcd.py
@ -169,7 +169,7 @@ with open(FILE, "rb") as f:
|
||||
#print(hexlify(payload).decode("utf-8"))
|
||||
#print(" > " + repr(payloadshort))
|
||||
add_to_cksum(payload)
|
||||
if ttype in [0x0505]:
|
||||
if ttype in [0x0505, 0x02bd]:
|
||||
with open("fw_{:04x}.bin".format(ttype), "ab") as of:
|
||||
of.write(payload)
|
||||
i = i + 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user