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

    G codes not uploading to duet wifi

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    8
    260
    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.
    • Fvanpundefined
      Fvanp
      last edited by

      I'm having trouble uploading g code files to the duet wifi.
      I tried a new SD card and did the M122 code and saw that my connection is low but it should work.
      Sometimes when I try to upload a file it loads 100% and then gives an error or it gives an error 2 seconds after I try to upload it.

      Do you guys have any idea how I can fix this??

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Can you post the results of your M122 please?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Fvanpundefined
          Fvanp
          last edited by

          Here is the M122 of my printer. It worked fine until i moved it into another room. Could that be the problem? I also fully installed the cover on my duet wifi board.

          Thank you for your time and trying to help me 🙂

          M122
          === Diagnostics ===
          RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
          Board ID: 08DGM-917DA-G4MS4-6J9DA-3S86L-T8YHA
          Used output buffers: 6 of 20 (8 max)
          === RTOS ===
          Static ram: 25524
          Dynamic ram: 98524 of which 0 recycled
          Exception stack ram used: 280
          Never used ram: 6744
          Tasks: NETWORK(ready,648) HEAT(blocked,1232) MAIN(running,3844) IDLE(ready,200)
          Owned mutexes: WiFi(NETWORK)
          === Platform ===
          Last reset 00:00:34 ago, cause: power up
          Last software reset at 2020-05-20 21:07, reason: User, spinning module GCodes, available RAM 6744 bytes (slot 3)
          Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
          Error status: 0
          Free file entries: 10
          SD card 0 detected, interface speed: 20.0MBytes/sec
          SD card longest block write time: 0.0ms, max retries 0
          MCU temperature: min 28.7, current 32.7, max 32.8
          Supply voltage: min 24.2, current 24.3, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
          Driver 0: standstill, SG min/max not available
          Driver 1: standstill, SG min/max not available
          Driver 2: standstill, SG min/max not available
          Driver 3: standstill, SG min/max not available
          Driver 4: standstill, SG min/max not available
          Date/time: 2020-05-21 10:04:12
          Cache data hit count 118212105
          Slowest loop: 5.08ms; fastest: 0.07ms
          I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
          === Move ===
          Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0
          Scheduled moves: 0, completed moves: 0
          Bed compensation in use: none
          Bed probe heights: 0.000 0.000 0.000 0.000 0.000
          === Heat ===
          Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
          === GCodes ===
          Segments left: 0
          Stack records: 1 allocated, 0 in use
          Movement lock held by null
          http is idle in state(s) 0
          telnet is idle in state(s) 0
          file is idle in state(s) 0
          serial is idle in state(s) 0
          aux is idle in state(s) 0
          daemon is idle in state(s) 0
          queue is idle in state(s) 0
          autopause is idle in state(s) 0
          Code queue is empty.
          === Network ===
          Slowest loop: 22.75ms; fastest: 0.00ms
          Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
          HTTP sessions: 1 of 8

          • WiFi -
            Network state is running
            WiFi module is connected to access point
            Failed messages: pending 0, notready 0, noresp 0
            WiFi firmware version 1.22
            WiFi MAC address cc 🙂
            WiFi Vcc 3.38, reset reason Turned on by main processor
            WiFi flash size 4194304, free heap 25448
            WiFi IP address 🙂
            WiFi signal strength -72dBm, reconnections 0, sleep mode modem
            Socket states: 4 0 0 0 0 0 0 0
          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @Fvanp
            last edited by

            @Fvanp -72dBm signal strength maybe a bit on the low side for a stable connection.
            Ideally, you'd be after something more in the 40s or 50s

            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
            • Fvanpundefined
              Fvanp
              last edited by

              I will try to move the printer back to the other room and try if the uploading works then. Sadly enough the printer is a bit to big to stay in the room with my router

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @Fvanp
                last edited by

                @Fvanp you could look at either a WiFi repeater or power line adapters with built in WiFi. That should sort you out without having to move your printer.

                Or if you're feeling very adventurous, change the onboard ESP to an ESP-7S and then use an external antenna.

                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
                • Fvanpundefined
                  Fvanp
                  last edited by

                  @jay_s_uk It is indeed my wifi, I tried it near the router and it worked fine. So I think I have to buy a wifi repeater. Thank you for your help sir.

                  dc42undefined 1 Reply Last reply Reply Quote 1
                  • dc42undefined
                    dc42 administrators @Fvanp
                    last edited by

                    @Fvanp said in G codes not uploading to duet wifi:

                    @jay_s_uk It is indeed my wifi, I tried it near the router and it worked fine. So I think I have to buy a wifi repeater. Thank you for your help sir.

                    You may find that changing the WiFi channel used by the router helps.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

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