解决ew写配置错误的bug,升级ew程序不更改配置区
This commit is contained in:
BIN
doc/CSMZM_V0.11.bin
Normal file
BIN
doc/CSMZM_V0.11.bin
Normal file
Binary file not shown.
Binary file not shown.
@@ -63,7 +63,7 @@ def creat():
|
||||
d+=arr_byte_copy(0x00,1024*16-len(d))
|
||||
|
||||
crc_all=crc32(d)
|
||||
crc_app=crc32(d[4096:])
|
||||
crc_app=crc32(d[4096:4096+11*1024])
|
||||
print("crc32 of all data:",hex(crc_all))
|
||||
print("crc32 for 0x1000:",hex(crc_app))
|
||||
d+=arr_from_int(crc_all)
|
||||
|
Reference in New Issue
Block a user