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

    BLTouch Not Working After Firmware Update to 3.4

    Scheduled Pinned Locked Moved
    General Discussion
    3
    57
    2.0k
    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.
    • AlecSanchezundefined
      AlecSanchez
      last edited by

      @Phaedrux It was previously firmware version 3.3

      Here's the m112 results:

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 3 MB6HC version 3.4.0 (2022-03-15 18:57:24) running on Duet 3 MB6HC v1.01 or later (SBC mode)
      Board ID: 08DJM-9P63L-DJMSS-6JTDA-3SS6J-1BG7B
      Used output buffers: 1 of 40 (12 max)
      === RTOS ===
      Static ram: 151000
      Dynamic ram: 67900 of which 0 recycled
      Never used RAM 131700, free system stack 154 words
      Tasks: ACCEL(notifyWait,0.0%,348) SBC(resourceWait:,0.5%,468) HEAT(notifyWait,0.0%,321) Move(notifyWait,0.0%,269) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,356) CanClock(delaying,0.0%,333) TMC(notifyWait,7.8%,92) MAIN(running,91.5%,1231) IDLE(ready,0.1%,30), total 100.0%
      Owned mutexes: HTTP(MAIN)
      === Platform ===
      Last reset 00:47:11 ago, cause: software
      Last software reset at 2022-05-25 13:15, reason: User, GCodes spinning, available RAM 131700, slot 2
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a
      Error status: 0x00
      Step timer max interval 135
      MCU temperature: min 43.3, current 47.0, max 48.0
      Supply voltage: min 24.1, current 24.2, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
      12V rail voltage: min 12.0, current 12.0, max 12.1, under voltage events: 0
      Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
      Events: 0 queued, 0 completed
      Driver 0: standstill, SG min 0, mspos 456, reads 5490, writes 19 timeouts 0
      Driver 1: standstill, SG min 0, mspos 8, reads 5490, writes 19 timeouts 0
      Driver 2: standstill, SG min 0, mspos 8, reads 5495, writes 14 timeouts 0
      Driver 3: standstill, SG min 0, mspos 216, reads 5490, writes 19 timeouts 0
      Driver 4: standstill, SG min 0, mspos 216, reads 5490, writes 19 timeouts 0
      Driver 5: standstill, SG min 0, mspos 216, reads 5490, writes 19 timeouts 0
      Date/time: 2022-05-25 14:02:51
      Slowest loop: 50.72ms; fastest: 0.04ms
      === Storage ===
      Free file entries: 10
      SD card 0 not detected, interface speed: 37.5MBytes/sec
      SD card longest read time 0.0ms, write time 0.0ms, max retries 0
      === Move ===
      DMs created 125, segments created 3, maxWait 319256ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 8, completed 8, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP* is doing "M122" in state(s) 0
      Telnet is idle in state(s) 0
      File is idle in state(s) 0
      USB is idle in state(s) 0
      Aux is idle in state(s) 0
      Trigger* is idle in state(s) 0
      Queue is idle in state(s) 0
      LCD is idle in state(s) 0
      SBC is idle in state(s) 0
      Daemon is idle in state(s) 0
      Aux2 is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty
      === Filament sensors ===
      Extruder 0 sensor: ok
      === CAN ===
      Messages queued 25458, received 0, lost 0, boc 0
      Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 14158/0/0
      Tx timeouts 0,0,14157,0,0,11299 last cancelled message type 4514 dest 127
      === SBC interface ===
      Transfer state: 4, failed transfers: 0, checksum errors: 0
      RX/TX seq numbers: 46466/46466
      SPI underruns 0, overruns 0
      State: 5, disconnects: 0, timeouts: 0, IAP RAM available 0x2b880
      Buffer RX/TX: 0/0-0, open files: 0
      === Duet Control Server ===
      Duet Control Server v3.4.0
      Code buffer space: 4096
      Configured SPI speed: 8000000Hz, TfrRdy pin glitches: 0
      Full transfers per second: 39.23, max time between full transfers: 240.7ms, max pin wait times: 69.5ms/17.3ms
      Codes per second: 0.06
      Maximum length of RX/TX data transfers: 3132/856

      M98 P"config.g" returns these:
      Warning: M307: Heater 1 predicted maximum temperature at full power is 831°C
      M307: Heater 0 predicted maximum temperature at full power is 210°C

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

        Please try uploading the 3.4 zip file as is to the system tab in DWC to make sure all files are up to date.

        https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.0/Duet2and3Firmware-3.4.0.zip

        It's strange that M401/M402 will work to deploy but G30 won't.

        Can you post your homing files and deploy/retract macros please?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • AlecSanchezundefined
          AlecSanchez
          last edited by

          @Phaedrux

          ; homeall.g
          ; called to home all axes
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 06 2022 16:00:08 GMT-0700 (Pacific Daylight Time)
          G91                    ; relative positioning
          G1 H2 Z5 F6000         ; lift Z relative to current position
          G1 H1 X-475 Y605 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
          G1 H2 X5 Y-5 F6000     ; go back a few mm
          G1 H1 X-475 Y605 F360  ; move slowly to X and Y axis endstops once more (second pass)
          G1 H2 Z5 F6000 ; lift Z relative to current position - we are about to move X and Y and we want to be sure the nozzle is clear of the bed.
          G90
          G1 X222 Y500 F6000 ; move the probe to the center of the bed - for aaa, bbb, ccc use values suitable for your printer
          G30 ; probe the bed and set the logical position of Z thus homing the Z axis
          
          ; Uncomment the following lines to lift Z after probing
          ;G91                   ; relative positioning
          ;G1 Z5 F100            ; lift Z relative to current position
          ;G90                   ; absolute positioning
          
          ; homex.g
          ; called to home the X axis
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 06 2022 16:00:08 GMT-0700 (Pacific Daylight Time)
          G91               ; relative positioning
          G1 H2 Z5 F6000    ; lift Z relative to current position
          G1 H1 X-475 F1800 ; move quickly to X axis endstop and stop there (first pass)
          G1 H2 X5 F6000    ; go back a few mm
          G1 H1 X-475 F360  ; move slowly to X axis endstop once more (second pass)
          ;G1 H2 Z-5 F6000   ; lower Z again
          G90               ; absolute positioning
          
          
          ; homey.g
          ; called to home the Y axis
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 06 2022 16:00:08 GMT-0700 (Pacific Daylight Time)
          G91              ; relative positioning
          G1 H2 Z5 F6000   ; lift Z relative to current position
          G1 H1 Y605 F1800 ; move quickly to Y axis endstop and stop there (first pass)
          G1 H2 Y-5 F6000  ; go back a few mm
          G1 H1 Y605 F360  ; move slowly to Y axis endstop once more (second pass)
          ;G1 H2 Z-5 F6000  ; lower Z again
          G90              ; absolute positioning
          
          ; homez.g
          ; called to home the Z axis
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 06 2022 16:00:08 GMT-0700 (Pacific Daylight Time)
          ;G90               ; relative positioning
          ;G1 Z5 F6000    ; lift Z relative to current position
          G90
          G1 X222 Y500 F6000 ; go to first probe point
          G30
          ;G1 H1 Z-305 F1800 ; move Z down until the endstop is triggered
          G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
          
          ; Uncomment the following lines to lift Z after probing
          G91              ; relative positioning
          G1 Z5 F100       ; lift Z relative to current position
          G90              ; absolute positioning
          
          ; retractprobe.g
          ; called to retract a physical Z probe
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 06 2022 16:00:07 GMT-0700 (Pacific Daylight Time)
          M280 P0 S90 ; retract BLTouch
          
          ; deployprobe.g
          ; called to deploy a physical Z probe
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 06 2022 16:00:07 GMT-0700 (Pacific Daylight Time)
          M280 P0 S10 ; deploy BLTouch
          
          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • AlecSanchezundefined
            AlecSanchez
            last edited by

            @Phaedrux Is it ok to run?
            0e47f8eb-ec0d-4ecf-b30b-ac08be19fe07-image.png

            1 Reply Last reply Reply Quote 0
            • AlecSanchezundefined
              AlecSanchez
              last edited by

              Ok so uploaded the zip and performed the update. At this moment the problem still persists

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

                Unrelated to your problem, but

                @alecsanchez said in BLTouch Not Working After Firmware Update to 3.4:

                G30 ;G1 H1 Z-305 F1800 ; move Z down until the endstop is triggered G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

                In your homez you have a G92 Z0 after the G30 to force the z position to 0. This is not likely what you intend to happen when using the probe as it would ignore the probe offset. Remove that G92 Z0.

                When you updated to 3.4 did you use sudo apt update and sudo apt upgrade on the Pi?

                I don't see anything incorrect in your config, other than lacking a measured XYZ probe offset in G31.

                Do you get any error messages when you send G30 by itself?

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • AlecSanchezundefined
                  AlecSanchez
                  last edited by

                  @Phaedrux Yes I did use sudo update and sudo apt upgrade. G30 also doesn't give me any error messages

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

                    Is the pin perhaps sticking? You say it drops when you do an emergency stop.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • AlecSanchezundefined
                      AlecSanchez
                      last edited by

                      It doesn't seem like it, I can send m401/m402 successively many times and it doesn't stick. How it deploys when I emergency stop is very odd though. This never occurred before

                      1 Reply Last reply Reply Quote 0
                      • AlecSanchezundefined
                        AlecSanchez
                        last edited by

                        I confirmed that bltouch still triggers and stops the bed if I deploy it and then send G30. I'm just not sure what is preventing it from deploying when I send g30

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

                          As a test can you add the M401 deploy command before the G30 in your homing macros and see if it behaves then? If it does work, does it retract afterwards?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • AlecSanchezundefined
                            AlecSanchez
                            last edited by

                            @Phaedrux I added M401 to the homez.g macro and it did not deploy

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

                              Where did you add it?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • AlecSanchezundefined
                                AlecSanchez
                                last edited by

                                Right before G30

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

                                  Try adding a M400 between, like this.

                                  G1 X Y positioning move
                                  M400
                                  M401
                                  M400
                                  G30

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  AlecSanchezundefined 1 Reply Last reply Reply Quote 0
                                  • AlecSanchezundefined
                                    AlecSanchez
                                    last edited by

                                    ; homez.g
                                    ; called to home the Z axis
                                    ;
                                    ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 06 2022 16:00:08 GMT-0700 (Pacific Daylight Time)
                                    ;G90               ; relative positioning
                                    ;G1 Z5 F6000    ; lift Z relative to current position
                                    G90
                                    M401
                                    G1 X222 Y500 F6000 ; go to first probe point
                                    G30
                                    ;G1 H1 Z-305 F1800 ; move Z down until the endstop is triggered
                                    ;G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
                                    
                                    ; Uncomment the following lines to lift Z after probing
                                    G91              ; relative positioning
                                    G1 Z5 F100       ; lift Z relative to current position
                                    G90              ; absolute positioning
                                    

                                    I added it here now and it did deploy, but it did not retract after I triggered it with my finger. However it did stop the bed. M401/M402 commands did not work after this

                                    1 Reply Last reply Reply Quote 0
                                    • AlecSanchezundefined
                                      AlecSanchez @Phaedrux
                                      last edited by

                                      @phaedrux The M400 commands did not appear to work, bltouch did not deploy

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

                                        Does M401 and M402 work manually and repeatedly when the print head is in the probing position? Perhaps it's a loose cable when in certain locations.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        1 Reply Last reply Reply Quote 0
                                        • AlecSanchezundefined
                                          AlecSanchez
                                          last edited by

                                          @Phaedrux I found something interesting about this situation, sorry for the late reply. So if the y axis is homed and the y endstop is triggered, the probe will deploy and retract normally. But if I home the z axis in a location thats not at y-min, it wont deploy since the y endstop isn't triggered. However if I manually trigger the y endstop while in the process of homing z, the probe will deploy. Very odd

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

                                            What relation does your Y axis endstop wiring have with the BLtouch wiring? Are they co-located possibly causing interference? Or a short?

                                            Z-Bot CoreXY Build | Thingiverse Profile

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