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

Error code when using M471

Scheduled Pinned Locked Moved
Gcode meta commands
macros m471
4
9
438
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
    ApTix
    last edited by 21 Nov 2022, 13:22

    So I'm in the trying to make a backup of my old bed mesh to reference. The issue I'm having isnt with the function but it spits out error code when doing it.
    Like it does rename the file heightmap_00 to .bak, but it spits out the error code underneath. Am I doing something wrong?
    Tried using the command in the console and in a macro but same result. It renames the file but spits out the same error code

    Using this command:
    M471 S"/sys/heightmap_00.csv" T"/sys/heightmap_00.csv.bak" D1

    Error code:
    M471 S"/sys/heightmap_00.csv" T"/sys/heightmap_00.csv.bak" D1
    Error: M471: Failed to rename file or directory /sys/heightmap_00.csv to /sys/heightmap_00.csv.bak: Unable to find the specified file.

    Using duetweb on a raspberry 4 8gb
    Board: Duet 3 6HC
    DSF 3.4.3

    undefined undefined 2 Replies Last reply 21 Nov 2022, 13:26 Reply Quote 1
    • undefined
      jay_s_uk @ApTix
      last edited by 21 Nov 2022, 13:26

      @ApTix one for @chrishamm
      what you're trying to do looks ok to me

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      1 Reply Last reply Reply Quote 0
      • undefined
        Phaedrux Moderator
        last edited by 21 Nov 2022, 17:27

        Do your DSF and Duet firmware versions match?

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined 1 Reply Last reply 21 Nov 2022, 17:43 Reply Quote 0
        • undefined
          ApTix @Phaedrux
          last edited by 21 Nov 2022, 17:43

          @Phaedrux
          Board: Duet 3 MB6HC (MB6HC)
          DSF Version: 3.4.3
          Firmware: RepRapFirmware for Duet 3 MB6HC 3.4.3 (2022-10-05)

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 21 Nov 2022, 17:45

            Can you try renaming, but keep the csv extension?

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined 1 Reply Last reply 21 Nov 2022, 18:02 Reply Quote 0
            • undefined
              ApTix @Phaedrux
              last edited by 21 Nov 2022, 18:02

              @Phaedrux I tried to rename the file to heightmap_00.bak.csv and heightmap_00_bak.csv with or without D1 in M471 but still the same result…it renames the file but gets the same error code.

              undefined 1 Reply Last reply 21 Nov 2022, 19:43 Reply Quote 0
              • undefined
                Phaedrux Moderator
                last edited by 21 Nov 2022, 18:16

                Sounds like maybe a permissions issue, but @chrishamm would know more.

                Is this with a stock Duet Pi image? Might not be a bad time to try a fresh image download and update to 3.4.4.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • undefined
                  ApTix @ApTix
                  last edited by ApTix 21 Nov 2022, 19:43

                  @Phaedrux its running mjpg-streamer beside the duet application for a camera stream. maybe updating would help...but it seems more like a bug than permission issues since it does change the name of the file? like it does work but error codes pops out?

                  1 Reply Last reply Reply Quote 1
                  • undefined
                    chrishamm administrators @ApTix
                    last edited by 22 Nov 2022, 12:05

                    @ApTix Thanks for reporting this, it will be fixed in the next version.

                    Duet software engineer

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