Firmware upgrade with otmonitor not working
Posted: Thu Aug 22, 2024 3:32 pm
When trying to upgrade the firmware on my gateway through otmonitor I'm running into the following:
Using the GUI, I can load the file, but as soon as I press "Program" the application stops responding. The only output on the console is this one line when loading the file:
Using the command line I get some more useful output:
It also seems to misidentify my current firmware version, which should read "5.5"
I tried to upgrade to different versions with the same result, apart from the fact that trying to upgrade to version 5.6 or 5.7 DOES give the correct value for the current firmware version.
I am using otmonitor-x64 6.5 from the 13th of March 2023.
The firmware I am trying to flash - v5.8 - has the following sha256 checksum:
I am using the P16F88 version and I am connecting via ethernet using a USR-TCP232 module.
Using the GUI, I can load the file, but as soon as I press "Program" the application stops responding. The only output on the console is this one line when loading the file:
Code: Select all
$ ./otmonitor
readfw /home/milan/Downloads/gateway-5.8.hex
Code: Select all
$ ./otmonitor --upgrade=gateway-5.8.hex
Current firmware version: 4.0a9
readfw gateway-5.8.hex
can't read "upgrade::fwversion": no such variable
while executing
"puts stderr "Target firmware version: $upgrade::fwversion""
(file "/home/milan/Downloads/otmonitor/otmonitor.tcl" line 2707)
invoked from within
"source /home/milan/Downloads/otmonitor/otmonitor.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source [file join /home/milan/Downloads/otmonitor $file]]"
(procedure "include" line 2)
invoked from within
"include otmonitor.tcl"
(file "/home/milan/Downloads/otmonitor/main.tcl" line 13)
I tried to upgrade to different versions with the same result, apart from the fact that trying to upgrade to version 5.6 or 5.7 DOES give the correct value for the current firmware version.
I am using otmonitor-x64 6.5 from the 13th of March 2023.
The firmware I am trying to flash - v5.8 - has the following sha256 checksum:
Code: Select all
2e5d0103c849bc92e20f3a7694e014c6246d2f5c5bf1706d0c8fcf16aae50672 gateway-5.8.hex