• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

DCS logging "Firmware reset imminent"

Scheduled Pinned Locked Moved
DSF Development
3
7
297
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    andiwinter
    last edited by 1 May 2024, 10:15

    Hi all,
    when looking at the logging of DuetControlServer I see a line saying "Firmware reset imminent" and after that a line saying "Resetting controller" - this occurs a few times per day. Does this log messages mean that the firmware is reloaded/flashed to the Duet Board anytime this happens?

    The board type is MB6HC v1.02 running firmware version 3.4.5 in SBC mode. The 5V to the MB6HC is provided by the SBC (a custom CM4 I/O board).

    It occurs from time to time that one of the 6HC boards does not work anymore, when reflashing the firmware to the board it works again. So my concern is that this comes from turning power off while a firmware reset is ongoing.

    Any thoughts?

    undefined undefined 2 Replies Last reply 1 May 2024, 19:58 Reply Quote 0
    • undefined T3P3Tony moved this topic from Duet Hardware and wiring 1 May 2024, 19:57
    • undefined
      T3P3Tony administrators @andiwinter
      last edited by 1 May 2024, 19:58

      @andiwinter its not flashing the firmware just resetting the controller AFAIK although @chrishamm will have more information.

      Are the resets manually triggered (i.e. are you hitting the emergency stop button in DWC?)

      www.duet3d.com

      undefined 1 Reply Last reply 1 May 2024, 22:02 Reply Quote 0
      • undefined
        andiwinter @T3P3Tony
        last edited by 1 May 2024, 22:02

        @T3P3Tony The machine is a laser cutter, if the door is opened VIN is cut (laser source and stepper motors) and a M999 command is sent to the Duet board to stop executing any movement or cutting. So I would expect the "under voltage" and "Resetting controller" messages but not the "Firmware reset imminent" message.

        undefined 1 Reply Last reply 1 May 2024, 22:32 Reply Quote 0
        • undefined
          T3P3Tony administrators @andiwinter
          last edited by 1 May 2024, 22:32

          @andiwinter Ahh ok, maybe that's DCS acknowledging that a reset is coming.

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • undefined
            chrishamm administrators @andiwinter
            last edited by 2 May 2024, 09:25

            @andiwinter I'm not sure where that log message could come from. Can you update RRF and DSF to 3.4.6 and also check your config files again? I can't find any references to "Firmware reset imminent" in the source code.

            Duet software engineer

            undefined 2 Replies Last reply 2 May 2024, 12:53 Reply Quote 0
            • undefined
              andiwinter @chrishamm
              last edited by 2 May 2024, 12:53

              @chrishamm IMG_20240430_162638_HDR.jpg
              Here is an image of the log created via: journalctl -u duetcontrolserver | grep warn
              The under-voltage event always occurs when the door of the laser cutter is opened. We have multiple machines out there logging a 'Firmware reset imminent' a few times a day.
              I will have access to a machine on Monday, then I can try to reproduce the issue in-house and also update the RRF/DSF to 3.4.6 as you recommended.

              1 Reply Last reply Reply Quote 0
              • undefined
                andiwinter @chrishamm
                last edited by 6 May 2024, 20:16

                @chrishamm Sorry I mixed up something: the machines where the "Firmware reset imminent" message is logged are for older machines with the older generation of the 6HC boards, on which we had installed the 3.3.0 RRF/DSF. On these machines still no flash memory corruption has been reported. On the new machines with the latest generation of the 6HC boards (v1.02) we installed version 3.4.5 of RRF/DSF. These newer machines have no "Firmware reset immiment" logging as this output has been removed from the source code. On these newer machines we have incident reports of non working 6HC boards. When analysing the boards we found no hardware issues but the firmware had been somehow corrupted. When we manually reflashed the boards with RRF 3.4.5 everthing was working again as expected.

                So my question is how can the flash memory of the 6HC boards CPU be corrupted. Is there any condition or occurance which may lead to this or may trigger an automated firmware update, which may be interrupted when turning the machine off. Currently it looks like that this only occurs on the v1.02 generation of the 6HC boards or only with version 3.4.x of RRF/DSF.

                1 Reply Last reply Reply Quote 0
                1 out of 7
                • First post
                  1/7
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA