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

    issues after upgrading to RRF3.2 beta3

    Scheduled Pinned Locked Moved
    Beta Firmware
    5
    45
    1.5k
    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.
    • jay_s_ukundefined
      jay_s_uk
      last edited by

      did you wait at least 60 seconds for the queue to flush? or even better, restart the machine?

      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
      • Marco Bonaundefined
        Marco Bona
        last edited by

        @jay_s_uk , of course, I also took off the power to be sure

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

          Could be due to the issue that dc42 mentioned about echos.
          Try using M118.
          And why send a message when the voltage is ok? why not just limit to sending a message when its not ok. That way, you won't get deluged by messages.

          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
          • Marco Bonaundefined
            Marco Bona
            last edited by

            @dc42, I did some evidence, it would seem that by deleting this part

            if move.axes[2].userPosition <= 40
             G90
             G1 Z40 F900 ;move z bed for clearance
            

            of clean_nozzle.g there are no errors. Politely you can verify that the code is right even if I do not explain why in standalone mode it has no problems. The curious thing is that it would seem that eliminating conditional instructions there are no problems

            1 Reply Last reply Reply Quote 0
            • Marco Bonaundefined
              Marco Bona
              last edited by

              @jay_s_uk , I tried with M118 but the problem persists. As for using the file it was a simple proof that unfortunately it doesn't work as it should

              1 Reply Last reply Reply Quote 0
              • Marco Bonaundefined
                Marco Bona
                last edited by

                @dc42, I confirm that the problem is related to conditional codes, I put these instructions inside daemon.g and the errors are gone

                ; daemon.g
                ;Constantly runs in background to check outputs etc
                M300 S3000 P500                                             ; sound alert, required deviation could not be achieved
                G4 S30
                
                1 Reply Last reply Reply Quote 0
                • Marco Bonaundefined
                  Marco Bona
                  last edited by

                  @dc42, I found what causes the error, it turns out to me that if I enter any command before the if loop you do not receive error messages, for example in my file clean_nozzle.g I entered an M400 command before the if loop and the error was no longer repeated, as in daemon.g inserting "M300 S3000 P500; sound warning, the required deviation was not reached" before the if loop seems to be working properly. Can you verify that it's correct please?

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

                    @Marco-Bona said in issues after upgrading to RRF3.2 beta3:

                    @dc42, I found what causes the error, it turns out to me that if I enter any command before the if loop you do not receive error messages, for example in my file clean_nozzle.g I entered an M400 command before the if loop and the error was no longer repeated, as in daemon.g inserting "M300 S3000 P500; sound warning, the required deviation was not reached" before the if loop seems to be working properly. Can you verify that it's correct please?

                    I'll ask @chrishamm to look into that. It appears that in SBC mode there are still some issues with the way commands are executed and responses handled.

                    I took a look at the assertion failure that you reported for RRF 3.1.1 but unfortunately the stack trace was not deep enough for me to determine the cause. The RRF 3.2beta firmwares provide a longer stack trace.

                    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
                    • Marco Bonaundefined
                      Marco Bona
                      last edited by

                      @dc42, if you want to delve deeper into this, maybe it might help.

                      M122
                      Diagnostica .
                      RepRapFirmware per Duet 3 MB6HC versione 3.2-beta1 in esecuzione su Duet 3 MB6HC v0.6 o 1.0 (modalità SBC)
                      ID scheda: 08DJM-956L2-G43S4-6JKF0-3S86T-9A5YD
                      Buffer di output usati: 1 di 40 (22 max)
                      RTOS .
                      Ariete statico: 154820
                      Ariete dinamico: 134956 di cui 24 riciclati
                      Stack di eccezioni utilizzato: 272
                      Ariete mai utilizzate: 103144
                      Attività: HEAT(blocked,308) CanReceiv(blocked,901) CanSender(blocked,372) CanClock(blocked,356) TMC(blocked,49) MAIN(running,1140) IDLE(ready,19)
                      Mutex di proprietà:
                      Piattaforma .
                      Ultimo ripristino 00:00:06 fa, causa: software
                      Ultima reimpostazione software a 2020-10-24 10:47, motivo: AssertionFailed, GCodes spinning, disponibile RAM 101936, slot 0
                      Codice di reimpostazione software 0x4123 HFSR 0x0000000 CFSR 0x00000000 ICSR 0x0444a80f BFAR 0x00000000 SP 0x2045fea4 Attività MAIN
                      Stack: 00000193 00485260 004666f3 a5a5a5 2042f5f4 20412b68 20445e20 20446590 2043f4f0 00000001 2043f468 2043f58c 2043f588 20412934 0046bb15 00000003 004328cf 2043efe8 000d880c 20435b68 000bd098 2043efe8 00000002 20435b68 000bd098 00000000 0000 eaa60
                      Stato di errore: 0x020
                      Temperatura MCU: min 25,8, corrente 26,4, max 26,5
                      Tensione di alimentazione: min 24.1, corrente 24.1, max 24.1, eventi di tensione: 0, eventi di tensione: 0, potenza buona: sì
                      12 anni Tensione ferroviaria V: min 12.0, corrente 12.1, max 12.1, sotto eventi di tensione: 0
                      Driver 0: posizione 0, fermo, letture 29819, scrive 19 timeout 0, SG min/max 0/0
                      Driver 1: posizione 0, fermo, legge 29820, scrive 19 timeout 0, SG min/max 0/0
                      Driver 2: posizione 0, fermo, letture 29822, scrive 17 timeout 0, SG min/max 0/0
                      Driver 3: posizione 0, fermo, legge 29822, scrive 18 timeout 0, SG min/max 0/0
                      Driver 4: posizione 0, fermo, legge 29823, scrive 17 timeout 0, SG min/max 0/0
                      Driver 5: posizione 0, fermo, legge 29823, scrive 17 timeout 0, SG min/max 0/0
                      Data/ora: 2020-10-24 10:48:19
                      Ciclo più lento: 5,12ms; più veloce: 0,14ms
                      Archiviazione di archiviazione
                      Voci file gratuite: 10
                      Scheda SD 0 non rilevata, velocità interfaccia: 37,5MByte/sec
                      SD scheda più lunga tempo di lettura 0.0ms, tempo di scrittura 0.0ms, massimo tentativi 0
                      Spostamento .
                      Hiccups: 0(0), FreeDm: 375, MinFreeDm: 375, MaxWait: 0ms
                      Compensazione del letto in uso: nessuno, comp offset 0.000
                      Il controllo MainDDAring
                      Spostamenti pianificati: 0, spostamenti completati: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 stato CDDA: -1
                      AuxDDARing
                      Spostamenti pianificati: 0, spostamenti completati: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 stato CDDA: -1
                      - Calore
                      Riscaldatori per letti : 0 -1 -1 -1 -1  -1 -1 -1 -1 -1 -1 -1, chamberHeaters - 3 -1 -1 -1
                      Riscaldatore 1 è su, I-accum 0,0
                      GCodes
                      Segmenti a sinistra: 0
                      Blocco di movimento mantenuto da null
                      HTTP è pronto con "M122" in stato/i 0
                      Telnet è inattivo nello stato(i) 0
                      Il file è inattivo nello stato(i) 0
                      L'USB è inattivo nello stato(s) 0
                      Aux è inattivo in stato/i 0
                      Trigger sta eseguendo "G4 S5" in stato(s) 0 0, esecuzione macro
                      La coda è inattiva nello stato(s) 0
                      LCD è inattivo in stato/i 0
                      SBC è inattivo nello stato(s) 0
                      Daemon sta eseguendo "G4 S30" in state(s) 0 0, eseguendo macro
                      Aux2 è inattivo in stato/i 0
                      La stampa automatica è inattiva nello stato(s) 0
                      La coda di codice è vuota.
                      Rete .
                      Slowest loop: 0.00ms; fastest: 5726623.00ms
                      Stati del risponditore:
                      Sessioni HTTP: 0 di 8
                      - Ethernet -
                      Stato: disabilitato
                      Numero di errori: 0 0 0 0 0
                      Stati socket: 0 0 0 0 0 0 0 0 0 0
                      - Può
                      Messaggi inviati 38, timeout di invio 38, attesa più lunga 2ms per il tipo 6021, buffer CAN liberi 48
                      Interfaccia SBC
                      Stato: 0, trasferimenti non riusciti: 1
                      Ultimo trasferimento: 17ms fa
                      Numeri seq RX/TX: 21208/197
                      Sottoccarichi SPI 0, sforamenti 0
                      Numero di disconnessioni: 0
                      Buffer RX/TX: 72/184-0
                      Server di controllo del duetto
                      Server di controllo duet v3 .2.0-beta1
                      Grilletto:
                      Buffered code: G4 S5
                      Buffered code: M42 P6 S70
                      Buffered code: M400 ; wait for current moves to finish
                      Buffered code: M18
                      ==> 112 bytes
                      Executing macro config.g, started by system
                      > Next stack level
                      Daemon:
                      Buffered code: G4 S30 ; delay running again or next command for at least 60 seconds
                      ==> 32 bytes
                      Executing macro daemon.g, started by system
                      > Next stack level
                      Code buffer space: 3912
                      Configured SPI speed: 8000000 Hz
                      Full transfers per second: 19.92
                      

                      Now I'm doing tests in SBC mode with beta3 and it looks like it's working properly. I update you in case I encounter other problems.
                      Thanks.
                      Marco

                      1 Reply Last reply Reply Quote 0
                      • Luke'sLaboratoryundefined
                        Luke'sLaboratory
                        last edited by

                        @dc42 I apologize for not seeing your message sooner. My error was on a 3HC, not a toolboard. I flashed the fixed firmware and it works again. I'll test out a print later this afternoon.

                        Thank you VERY much. Sorry about the headache of trying to find a toolboard flaw.

                        Luke

                        Luke
                        http://lukeslab.online

                        dc42undefined 1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @Luke'sLaboratory
                          last edited by

                          @Luke-sLaboratory said in issues after upgrading to RRF3.2 beta3:

                          @dc42 I apologize for not seeing your message sooner. My error was on a 3HC, not a toolboard. I flashed the fixed firmware and it works again. I'll test out a print later this afternoon.

                          Thank you VERY much. Sorry about the headache of trying to find a toolboard flaw.

                          Luke

                          No problem!

                          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
                          • chrishammundefined
                            chrishamm administrators
                            last edited by chrishamm

                            @Marco-Bona Thanks, I could reproduce and fix the macro timeout problem. I suppose you could work-around this problem by calling a code before the first if-statement in daemon.g. We'll include this fix in the upcoming 3.2-b1+1 hotfix release.

                            Duet software engineer

                            1 Reply Last reply Reply Quote 0
                            • Marco Bonaundefined
                              Marco Bona
                              last edited by

                              @chrishamm , thanks, when do you plan to release the fix?

                              chrishammundefined 1 Reply Last reply Reply Quote 0
                              • chrishammundefined
                                chrishamm administrators @Marco Bona
                                last edited by

                                @Marco-Bona I hope tomorrow. There is an experimental build available here for the Duet 3 MB6HC, feel free to try that one in the meantime. To install it, upload the file on the System page and accept the update prompt.

                                Duet software engineer

                                1 Reply Last reply Reply Quote 0
                                • Marco Bonaundefined
                                  Marco Bona
                                  last edited by

                                  @chrishamm ,great, thanks again !!

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