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

    RRF3 Sensorless Homing issue/bug

    Scheduled Pinned Locked Moved
    Beta Firmware
    3
    22
    819
    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

      Oh scratch that. I left the reset jumper in place. 🙂

      However, the build still doesn't boot probably because of...
      https://github.com/dc42/RepRapFirmware/issues/337

      gtjoseph created this issue in dc42/RepRapFirmware

      closed Enabling MCU might have broken Duet3 #337

      dc42undefined 1 Reply Last reply Reply Quote 0
      • ctilley79undefined
        ctilley79 @dc42
        last edited by

        @dc42 Sounds good. I'm in no hurry. Homing each axis individually works fine for now.

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

          @gtj0 , which version of Duet 3 do you have? I tested on v0.6 but not on 0.5.

          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

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

            @dc42 said in RRF3 Sensorless Homing issue/bug:

            @gtj0 , which version of Duet 3 do you have? I tested on v0.6 but not on 0.5.

            v0.6. I tested the binary in the zip file you linked as well as building from v3-dev source up to commit "Removed SD-image folder". When the binary loads the status LED starts flickering very dimly.

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

              @gtj0 said in RRF3 Sensorless Homing issue/bug:

              @dc42 said in RRF3 Sensorless Homing issue/bug:

              @gtj0 , which version of Duet 3 do you have? I tested on v0.6 but not on 0.5.

              v0.6. I tested the binary in the zip file you linked as well as building from v3-dev source up to commit "Removed SD-image folder". When the binary loads the status LED starts flickering very dimly.

              Odd, that binary is working for me and for deckingman. Did you pick up all the changes, to CoreNG, FreeRTOS, CANlib and RRFlibraries? Did you do a complete clean before the build? The compiler options have changed, so that's necessary.

              After you load a version that works, with luck the software reset data in M122 will help pinpoint the crash.

              PS - one other question: what does the LED do if you boot up without the Pi ribbon cable connected?

              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

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

                @dc42 Well, this is interesting. Using the binary in your zip file, disconnecting the ribbon cable immediately causes the status LED to flash once per second as normal. Plugging the cable back in again and it goes back to dimly flashing quickly. Rebooting the SBC causes the Duet to back to normal UNTIL the DuetControlServer starts, then it's back to flashing dimly and quickly. Sure enough stopping the DCS and it's back to normal.

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

                  @gtj0 said in RRF3 Sensorless Homing issue/bug:

                  @dc42 Well, this is interesting. Using the binary in your zip file, disconnecting the ribbon cable immediately causes the status LED to flash once per second as normal. Plugging the cable back in again and it goes back to dimly flashing quickly. Rebooting the SBC causes the Duet to back to normal UNTIL the DuetControlServer starts, then it's back to flashing dimly and quickly. Sure enough stopping the DCS and it's back to normal.

                  Thanks, looks like there is a memory access within the SBC interface module that upsets the MPU. Can you get an M122 listing of the software reset data, for example via USB?

                  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

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

                    @dc42

                    Last reset 00:00:12 ago, cause: software
                    
                    Last software reset time unknown, reason: Memory protection fault, spinning module 
                    LinuxInterface, available RAM 102672 bytes (slot 2)
                    Software reset code 0x4170 HFSR 0x00000000 CFSR 0x00000082 ICSR 0x0440f804 BFAR 0x00000000 SP 0x20415f7c Task 0x4e49414d
                    Stack: 00453aad 0045ff80 01000000 20422334 00000000 00000101 00436243 00000000 20415fa4 00000101 00000000 00000001 20420dfc 00000001 00000000 00000000 004541bd 40058000 00000000 04042001 40078000 00000079 20423d00
                    Error status: 0 Free file entries: 10
                    
                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @gtj0
                      last edited by

                      Thanks, I'll look up the faulting address (45ff80) and see what's causing it.

                      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

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

                        @dc42 said in RRF3 Sensorless Homing issue/bug:

                        Thanks, I'll look up the faulting address (45ff80) and see what's causing it.

                        Cool.

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

                          Now fixed.

                          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

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

                            @dc42 said in RRF3 Sensorless Homing issue/bug:

                            Now fixed.

                            Now I'm in a reboot loop. I', going to start a separate thread for this.

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