V0.08 解决任务执行次数异常的bug,原因是每次执行任务未更新任务结构体指针
此bug在V2.06版本被引入 解决 EW_Test_ReadUID 函数数组越界的问题 添加 总线翻转任务 JQ_Test_Toggle
This commit is contained in:
BIN
doc/CSMZM_V0.06.bin
Normal file
BIN
doc/CSMZM_V0.06.bin
Normal file
Binary file not shown.
BIN
doc/__csmzm_app.bin
Normal file
BIN
doc/__csmzm_app.bin
Normal file
Binary file not shown.
@@ -6,7 +6,7 @@ import json
|
||||
|
||||
|
||||
BOOT_PATH ="JW3425_boot_v12.bin"
|
||||
APP_PATH ="ms-10-30.bin"
|
||||
APP_PATH ="csmzm_app_v0.06.bin"
|
||||
OUT_PATH = BOOT_PATH.split('.')[0]+APP_PATH.split('.')[0]+".jwt"
|
||||
|
||||
# 创建离线下载器的镜像
|
||||
@@ -77,12 +77,18 @@ def creat():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
creat()
|
||||
# d=bytearray()
|
||||
# with open("MS-10-30-1.bin","rb") as f:
|
||||
# d+=f.read()
|
||||
# with open("ms-10-30.bin","wb+") as f:
|
||||
# f.write(d[4096:4096+9800])
|
||||
|
||||
if(len(sys.argv)>=2):
|
||||
|
||||
rom_input=sys.argv[1]
|
||||
APP_PATH ="__csmzm_app.bin"
|
||||
OUT_PATH = '.'.join(rom_input.split('.')[:-1])+".jwt"
|
||||
d=bytearray()
|
||||
with open(rom_input,"rb") as f:
|
||||
d+=f.read()
|
||||
with open(APP_PATH,"wb+") as f:
|
||||
f.write(d[4096:4096+11*1024])
|
||||
creat()
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user