Unable to print G Code files.



  • I have wired my Duet wifi Board and I am able to Jog the machine and control everything through the web browser. Everything works fine. When I try to print though it gives me the following error.

    M32 "3DBenchy.gcode"
    GCode file ""3DBenchy.gcode"" not found
    Failed to open file "3DBenchy.gcode"

    I feel like I am missing something basic.

    Hussain



  • @hussainsail2002 There are a few M32 related threads here and you can find them by searching. One try you can make is to add a / in front of the filename (after the double quote), one other reason is release related, so please tell the firmware and DWC version. Another reason could be using the wrong sd card, please check https://forum.duet3d.com/topic/3166/m32-gcode-file-hindge-gcode-not-found/2
    Another possibility is that (if you use windows), an editor added .txt to the filename.



  • @JoergS5
    Thanks for the reply.

    The firmware version is: 1.19 and Web interface version is : 1.21.2-dc42

    Hussain



  • Are you sure you are loading the file named "3DBenchy.gcode" onto your SD card through DWC? Is it possible that you are loading "3DBenchy.stl" instead?

    I would pop the SD card out of your Duet and put it in a computer to see if the file is loaded on it.



  • @timcurtis67

    Yes am sure its a gcode file. I sliced it and saved the gcode on my desktop and uploaded the gcode file through the web browser.I opened the file again and cross checked again as well.

    Hussain.



  • Just for a sanity check I would suggest downloading the gcode file from the machine (don't just use the original file from your computer) and upload the file to the following webpage just to check it is valid:

    http://gcode.ws/

    Second thing I'd try is instead of:

    M32 "filename.g"

    Try:

    M23 "filename.g"

    ...followed by:

    M24


  • administrators

    @hussainsail2002, you are running an old firmware version and I think you are running a much newer version of the web browser. The old firmware doesn't accept the quotation marks that the newer web browser uses. I suggest you upgrade your main firmware to 2.02 or 2.02RC6.



  • @dc42

    I tried Updating the firmware:

    I downloaded the file called duet2combinedfirmware.bin

    I opened up the web browser page and clicked on settings. In settings I clicked on upload files and chose the .bin file that I saved earlier.

    It gave me a message:

    "You have just uploaded a firmware file. Would you like to update your Duet now?"

    I pressed the Yes option.

    It then gives me the following error

    M997 S0
    Error: Firmware binary "DuetWiFiFirmware.bin" not found

    Am I doing this correctly ?

    Hussain


  • administrators

    See https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Upgrading_a_Duet_2_WiFi_or_Ethernet_to_firmware_1_21_or_later_from_1_20_or_earlier. As you have already upgraded DuetWebControl, your simplest option is to rename the uploaded file from Duet2CombinedFirmware.bin to DuetWiFiFirmware.bin. You can do this in the System Editor page of DWC. Then send M997 S0 through the GCode Console page.



  • @dc42

    I went to the system editor page under settings , right clicked on Duet2CombinedFirmware.bin and renamed it to DuetWiFiFirmware.bin

    When I type M997 S0 in the console I get the following error

    M997 S0
    Error: In-application programming binary "iap4e.bin" not found



  • @dc42

    So I googled the problem and downloaded the file iap4e.bin and copied it to the SD card.

    Once I got the SD card back in the board I tried M997 S0 , at first it said updating firmware so connection is closed . I then reconnected a few minutes later and typed M997 S0 and it now gives me a new error

    M997 S0
    Error: M997: Firmware binary "Duet2CombinedFirmware.bin" not found

    Following are the version details that are mentioned under the settings tab

    Firmware Version: 2.02RC6(RTOS) (2018-12-15b2)
    WiFi Server Version: 1.19
    Web Interface Version: 1.21.2-dc42



  • @hussainsail2002 said in Unable to print G Code files.:

    @dc42

    So I googled the problem and downloaded the file iap4e.bin and copied it to the SD card.

    Once I got the SD card back in the board I tried M997 S0 , at first it said updating firmware so connection is closed . I then reconnected a few minutes later and typed M997 S0 and it now gives me a new error

    M997 S0
    Error: M997: Firmware binary "Duet2CombinedFirmware.bin" not found

    Following are the version details that are mentioned under the settings tab

    Firmware Version: 2.02RC6(RTOS) (2018-12-15b2)
    WiFi Server Version: 1.19
    Web Interface Version: 1.21.2-dc42

    You dont need this file anymore as you have now latest firmware already (2.02RC6). Now you should update wifi server and duet web control to latest also.



  • @aidar

    I have updated the server and web control by uploading the .bin file and .zip file accordingly.

    Firmware Version: 2.02RC6(RTOS) (2018-12-15b2)
    WiFi Server Version: 1.21
    Web Interface Version: 1.22.5

    When I type M997 S0 I still get the same error message.

    M997 S0
    Error: M997: Firmware binary "Duet2CombinedFirmware.bin" not found



  • As i said before - you already have latest firmware installed, forget about M997 command, go testing and printing.



  • Thank you!!

    I got it working !


Log in to reply