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

    Error: Failed to create height map file heightmap.csv

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    3
    8
    981
    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.
    • gtj0undefined
      gtj0
      last edited by

      Probably DuetControlServer issue.

      # CodeConsole 
      Connected!
      G29 S3
      Error: Failed to create height map file heightmap.csv
      G29 S3 P"/sys/heightmap.csv"
      Error: Failed to create height map file /sys/heightmap.csv
      G29 S3 P"0:/sys/heightmap.csv"
      Error: Failed to create height map file 0:/sys/heightmap.csv
      
      DuetControlServer[9555]: [info] Processing G29 S3
      DuetControlServer[9555]: [info] Sent G29 S3, remaining space 740 (2020 total), needed 28
      DuetControlServer[9555]: [err] Failed to create directory 0:/sys
      DuetControlServer[9555]: [err] Failed to create folder 0:/sys while trying to open file 0:/sys/heightmap.csv
      DuetControlServer[9555]: [info] Completed G29 S3
      DuetControlServer[9555]: Error: Failed to create height map file heightmap.csv
      DuetControlServer[9555]: [info] Processing G29 S3 P"/sys/heightmap.csv"
      DuetControlServer[9555]: [info] Sent G29 S3 P"/sys/heightmap.csv", remaining space 712 (1992 total), needed 56
      DuetControlServer[9555]: [err] Failed to create directory /sys
      DuetControlServer[9555]: [err] Failed to create folder /sys while trying to open file /sys/heightmap.csv
      DuetControlServer[9555]: [info] Completed G29 S3 P"/sys/heightmap.csv"
      DuetControlServer[9555]: Error: Failed to create height map file /sys/heightmap.csv
      DuetControlServer[9555]: [info] Processing G29 S3 P"0:/sys/heightmap.csv"
      DuetControlServer[9555]: [info] Sent G29 S3 P"0:/sys/heightmap.csv", remaining space 712 (1992 total), needed 56
      DuetControlServer[9555]: [err] Failed to create directory 0:/sys
      DuetControlServer[9555]: [err] Failed to create folder 0:/sys while trying to open file 0:/sys/heightmap.csv
      DuetControlServer[9555]: [info] Completed G29 S3 P"0:/sys/heightmap.csv"
      DuetControlServer[9555]: Error: Failed to create height map file 0:/sys/heightmap.csv
      

      No problems creating or saving files from DWC2, even heightmap.csv. It just seems to be G29 that can't do it.
      Running latest DSF.

      1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators
        last edited by

        yep this is a bug - not sure when it will be squished but its a known issue.

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • gtj0undefined
          gtj0
          last edited by

          I'll try and track it down.

          1 Reply Last reply Reply Quote 0
          • gtj0undefined
            gtj0
            last edited by

            Yeah I guess that you can't tell the firmware to NOT do any file operations on G29 so when it fails to save to the onboard SD card and can't (because it doesn't exist), it errors out and doesn't even save the heightmap to RAM. That means you can't even do an M374 (which is handled by the DSF) or a G29 S3 (because it's not in RAM and because it's NOT handled by the DSF but should be).

            I'll let you guys deal with it. 🙂

            1 Reply Last reply Reply Quote 0
            • gtj0undefined
              gtj0
              last edited by

              @dc42 Would you be OK with an RRF pull request that skips file io for gcodes when UsingLinuxInterface() is true?

              1 Reply Last reply Reply Quote 0
              • gtj0undefined
                gtj0
                last edited by

                @dc42 Pull request https://github.com/dc42/RepRapFirmware/pull/321
                Skips file I/O for heightmap ops when UsingLinuxInterface() is true.

                @chrishamm : Pull request https://github.com/chrishamm/DuetSoftwareFramework/pull/64
                Fixes up the G29 S3 and M375 processing for Height maps.

                With both pull requests, heightmap ops should be fully operational.

                gtjoseph opened this pull request in dc42/RepRapFirmware

                closed Skip file I/O on heightmap ops if UsingLinuxInterface() is true #321

                gtjoseph opened this pull request in chrishamm/DuetSoftwareFramework

                closed Fixed processing of G29 commands #64

                triumphantdukeundefined 1 Reply Last reply Reply Quote 2
                • triumphantdukeundefined
                  triumphantduke @gtj0
                  last edited by

                  @gtj0 would you please elaborate a little on how to "deploy" these changes? or x1,000,000 better.. do you have a bin for Duet 3 version v0.6 (MB6HC) that has the heighmap fix in it? 😧

                  gtj0undefined 1 Reply Last reply Reply Quote 0
                  • gtj0undefined
                    gtj0 @triumphantduke
                    last edited by

                    @triumphantduke All of the changes required to make this work have been merged into the codebases and I believe that @dc42 and @chrishamm are close to doing the next release. I hesitate to post binaries because of this. If you want to build it yourself, you'd need to build the v3-dev branch of RepRapFirmware and the master branch of DuetSoftwareFramework.

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