WIZnet Developer Forum

[WIZ750SR] CLI에서 펌웨어 일괄 업그레이드 관련

WIZ750SR을 네트워크상에 두개 연결한 상태에서 디바이스 검색을 하고 난뒤
python wizconfig.py -a -u WIZ750SRv124.bin 를 입력하면

Devcie configuration start…

[Multi] Device FW upload: device 1, 00:08:DC:55:0E:E9
[Firmware upload] device 00:08:DC:55:0E:E9
[Multi] Device FW upload: device 2, 00:08:DC:55:0E:EB
[00:08:DC:55:0E:E9] Jump to app boot mode
[Firmware upload] device 00:08:DC:55:0E:EB
[00:08:DC:55:0E:EB] Jump to app boot mode
Exception in thread Thread-2:
Traceback (most recent call last):
File “C:\Users\fpain\AppData\Local\Programs\Python\Python36\lib\threading.py”, line 916, in _bootstrap_inner
self.run()
File “wizconfig.py”, line 54, in run
jumpToApp(self.mac_addr)
File “D:\DEV\2019 Project\wiznet\fw\wiz_s2e_tool\WIZnet-S2E-Tool-1.1.0\FWUploadThread.py”, line 45, in jumpToApp
cmd_list.append([“PW”, self.idcode])
NameError: name ‘self’ is not defined

Exception in thread Thread-1:
Traceback (most recent call last):
File “C:\Users\fpain\AppData\Local\Programs\Python\Python36\lib\threading.py”, line 916, in _bootstrap_inner
self.run()
File “wizconfig.py”, line 54, in run
jumpToApp(self.mac_addr)
File “D:\DEV\2019 Project\wiznet\fw\wiz_s2e_tool\WIZnet-S2E-Tool-1.1.0\FWUploadThread.py”, line 45, in jumpToApp
cmd_list.append([“PW”, self.idcode])
NameError: name ‘self’ is not defined

와 같이 뜨면 진행이 안됩니다.

1개의 디바이스를 업데이트시키는
python wizconfig.py -d 00:08:DC:55:0E:E9 -u WIZ750SRv124.bin 방법은 잘 됩니다.

어떻게 해결해야될까요?

릴리즈된 wizconfig_cli-v1.1.0.exe을 받아서

wizconfig_cli-v1.1.0.exe -a -u WIZ750SRv124.bin

를 하면

Devcie configuration start…

[Multi] Device FW upload: device 1, 00:08:DC:55:0E:EB
[Firmware upload] device 00:08:DC:55:0E:EB
[Multi] Device FW upload: device 2, 00:08:DC:55:0E:E9
[00:08:DC:55:0E:EB] Jump to app boot mode
[Firmware upload] device 00:08:DC:55:0E:E9
[00:08:DC:55:0E:E9] Jump to app boot mode
Exception in thread Thread-1:
Traceback (most recent call last):
File “threading.py”, line 916, in _bootstrap_inner
File “wizconfig.py”, line 54, in run
File “FWUploadThread.py”, line 45, in jumpToApp
NameError: name ‘self’ is not defined

Exception in thread Thread-2:
Traceback (most recent call last):
File “threading.py”, line 916, in _bootstrap_inner
File “wizconfig.py”, line 54, in run
File “FWUploadThread.py”, line 45, in jumpToApp
NameError: name ‘self’ is not defined

뜹니다.

안녕하세요.

이전에 CLI Tool의 기능을 업데이트 하는 과정에서 오류가 생겼던 것 같습니다.

수정본을 github에 업데이트 했으니 새로 받아 테스트 부탁드립니다.

감사합니다.

1 Like

테스트를 늦게 했네요.
잘 동작합니다.
감사합니다.

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.