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

12864 stopped working in 3.4b6

Scheduled Pinned Locked Moved Solved
Beta Firmware
6
24
793
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.
  • undefined
    jltx
    last edited by jltx 15 Dec 2021, 02:37

    I have two configs:

    1. standalone mini5+ with 3.3
    2. SBC + mini5+ with 3.4b6

    with 1 the 12864 works perfectly
    with 2 the 12864 is blank but the LED colors are correct. It almost looks overdriven to me. I have tried different contrast and R values.

    The system config and menu setup are identical between the two configs.

    undefined undefined 2 Replies Last reply 15 Dec 2021, 07:36 Reply Quote 0
    • undefined
      Gixxerfast @jltx
      last edited by Gixxerfast 15 Dec 2021, 07:36

      @jltx Which display do you have?
      I have two mini5+ standalone with 3.4b6 and Fysetc mini 12864 v2,1 (ST7567 ) working fine.

      M918 P2 R6 C30 E4 F200000

      Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
      Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
      Ender 3 Pro with BTT SKR-2 + RRF

      undefined 1 Reply Last reply 15 Dec 2021, 10:24 Reply Quote 0
      • undefined
        gloomyandy @jltx
        last edited by 15 Dec 2021, 08:16

        @jltx Did the display ever work on the setup you have with the SBC (on a previous version of the firmware perhaps)?

        undefined 1 Reply Last reply 15 Dec 2021, 10:28 Reply Quote 0
        • undefined
          jltx @Gixxerfast
          last edited by jltx 15 Dec 2021, 10:24

          @gixxerfast I have the same 2.1 version and use the same M918 params.

          The Neo pixel backlight is working so the communication is somewhat alive. If I press the reset button the machine resets. The display just appears over driven. Sometimes it will start some lcd blooming so I kill the power. But works again under 3.3.

          1 Reply Last reply Reply Quote 0
          • undefined
            jltx @gloomyandy
            last edited by jltx 15 Dec 2021, 10:28

            @gloomyandy yes, briefly I had SBC with 3.3 but there was a bug with the menu files so I had to move to 3.4. With 3.3 it would display a message about files not found.

            So I don’t think it’s SBC but rather the firmware. If I disconnect the SBC and put my old standalone 3.3 SD card in the display works fine.

            undefined undefined 2 Replies Last reply 15 Dec 2021, 12:15 Reply Quote 0
            • undefined
              jltx
              last edited by 15 Dec 2021, 10:41

              I’m using an external power supply for the rpi. Do I have a ground plane mismatch? Can I power from the duet 5v over the ribbon?

              undefined undefined 2 Replies Last reply 15 Dec 2021, 10:43 Reply Quote 0
              • undefined
                Gixxerfast @jltx
                last edited by Gixxerfast 15 Dec 2021, 10:43

                @jltx

                EDIT. I might have misread. You can power the Duet from the Pi but not the other way around.

                Yes, you should be able to do that by putting a jumper on the 5v_sbc and disable the internal 5v regulator.

                Assuming you have a large enough power supply for both the pi and the duet oc

                8716f3bb-2bf0-4e2b-895c-400cce8fc859-image.png

                (I do not understand why people are using the Pi with the Duet and not just run it standalone. What advantages are there right now with that setup? I went from KLipper to Duet /RRF just to get rid of the Pi:s (I have four leftovers)=

                Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
                Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
                Ender 3 Pro with BTT SKR-2 + RRF

                undefined 1 Reply Last reply 15 Dec 2021, 15:49 Reply Quote 0
                • undefined
                  gloomyandy @jltx
                  last edited by 15 Dec 2021, 12:15

                  @jltx said in 12864 stopped working in 3.4b6:

                  If I disconnect the SBC and put my old standalone 3.3 SD card in the display works fine.

                  Is that all you did or did you also change the firmware? If not then by inserting the SD card with your files on it you are running 3.4b6 in standalone mode rather than using the SBC. This would seem to indicate that it is not simply an issue with 3.4b6.

                  This may seem a silly question but do you have the menu system files installed on the SBC, I don't think they are there by default?

                  It might also be worth you posting your config.g file from the SBC install and from the standalone setup.

                  undefined 1 Reply Last reply 15 Dec 2021, 15:42 Reply Quote 0
                  • undefined
                    dc42 administrators @jltx
                    last edited by 15 Dec 2021, 13:55

                    @jltx AFAIR there have been no intentional changes to 12864 support in standalone mode between 3.3 and 3.4beta6.

                    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
                    • undefined
                      jltx @gloomyandy
                      last edited by 15 Dec 2021, 15:42

                      @gloomyandy
                      I have two add cards. One is my original standalone 3.3 card (for duet) and other is 3.4 SBC (for rpi). I can only use one or the other.

                      So if I put 3.4 into duet that will work? I thought that was some different tethered version of firmware.

                      I did put the menu files on the new card. Configs are the same. I just copied system, macros, menus between the two cards.

                      undefined 1 Reply Last reply 15 Dec 2021, 19:06 Reply Quote 0
                      • undefined
                        jltx @Gixxerfast
                        last edited by 15 Dec 2021, 15:49

                        @gixxerfast
                        Thanks. I may try that. I have a 25W 5v supply. I think that will work. 24v supply is doing the heavy lifting on duet? I guess I should look that up.

                        Good question about why SBC. My main motivation is to add a webcam but that has turned into its own fiasco. I’m not sure why that isn’t a solved problem by now. That’s a first class feature for any modern 3d printer or CNC, IMO.

                        undefined 1 Reply Last reply 15 Dec 2021, 15:54 Reply Quote 0
                        • undefined
                          Gixxerfast @jltx
                          last edited by 15 Dec 2021, 15:54

                          @jltx Yeah. Not meant to critizise, more a personal reflection.

                          Regarding webcams, there are quite a few standalone cams, esp32-based with wifi and builtin webserver that I imagine could be quite handy .

                          I wonder though if not gloomyandy was onto something there with the firmware on the Duet and the menu files on the Pi. I guess you have checked that the menu files and all that is present in the Pi filesystem? I know nothing about the SBC so I couldn't tell you how it's supposed to be placed 🙂

                          Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
                          Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
                          Ender 3 Pro with BTT SKR-2 + RRF

                          undefined 1 Reply Last reply 15 Dec 2021, 15:58 Reply Quote 0
                          • undefined
                            jay_s_uk @Gixxerfast
                            last edited by 15 Dec 2021, 15:58

                            i'm pretty sure my fysetc mini display is working on my mini 5+ running 3.4b6. i'll check tonight

                            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

                            undefined 1 Reply Last reply 15 Dec 2021, 16:01 Reply Quote 0
                            • undefined
                              Gixxerfast @jay_s_uk
                              last edited by 15 Dec 2021, 16:01

                              @jay_s_uk Oh, I have no problems. I have two mini5+ with mini 12864 displays working just fine. It's @jltx that is having some trouble getting it to work on his mini5+ 3.4b6/SBC setup

                              Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
                              Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
                              Ender 3 Pro with BTT SKR-2 + RRF

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                jltx @jltx
                                last edited by 15 Dec 2021, 19:06

                                @jltx said in 12864 stopped working in 3.4b6:

                                @gloomyandy

                                So if I put 3.4 into duet that will work? I thought that was some different tethered version of firmware.

                                Yeah, that doesn’t run at all. I’ll have to create a third SD with standalone 3.4.

                                undefined 1 Reply Last reply 15 Dec 2021, 19:38 Reply Quote 0
                                • undefined
                                  gloomyandy @jltx
                                  last edited by 15 Dec 2021, 19:38

                                  @jltx I think you may be getting confused as to what happens when you put an SD card into your Duet board (apologies if you already know this)...

                                  If you are using a Duet board there is no such thing as a standalone or SBC version of the firmware. The same firmware will run in standalone mode if there is an SD card in the drive on the duet board and in SBC mode if there is not an SD card in the duet boards drive. So if your board has v3.4b6 installed then that is the version that will be running in both standalone and in SBC mode irrespective of the SD card. You can confirm this by running the M122 command which will show you the version of the firmware.

                                  The contents of the SD card do not change the version of the firmware being run (you need to take extra steps to change the version of the firmware that is actually installed on the board). So simply swapping the SD card will not change the executing firmware from say 3.3.0 to 3.4b6, it may change the configuration files being used, but not the version of the firmware.

                                  To confuse things further, the SD card that comes with the duet contains two different filesystems, one that is normally read by Windows type machines and by the Duet board directly. The other is a Linux filesystem that will only be read by the rPi when being used as a SBC. Because of this you may have two different sets of configuration files on the same SD card (one that will be used when the card is placed in the card reader of the Duet and one that will be used when the same card is being used in the rPi).

                                  The second point above raises the question of how did you put the menu files onto the SBC version of your setup. Did you upload the files using DWC when the board was running in SBC mode (or use some other sort of Linux program to install them)? If not it is possible that the menu files are not on the Linux part of the SD card and are therefore not being used by your display.

                                  undefined 1 Reply Last reply 15 Dec 2021, 22:27 Reply Quote 0
                                  • undefined
                                    jltx @gloomyandy
                                    last edited by 15 Dec 2021, 22:27

                                    @gloomyandy yes, I am massively confused. When I looked at the object model it showed 3.3 with my old card. So I never succeeded in upgrading to 3.4? The weird part is that 3.4 had a change I needed which did resolve that problem. Hmm. I would check this out but now my duet has stopped connecting to my wifi in any of the configurations and I have no way to fix that without tearing down my printer.

                                    I did install the menu files through DWC. But I think I need to start over. I followed all the steps in https://duet3d.dozuki.com/Wiki/Getting_Started_With_Duet_3#Section_Software_Installation to get the unstable build installed. Now I'm questioning my sanity.

                                    undefined 1 Reply Last reply 15 Dec 2021, 23:22 Reply Quote 0
                                    • undefined
                                      jltx @jltx
                                      last edited by jltx 15 Dec 2021, 23:22

                                      @gloomyandy
                                      OK, it was just my router messing with me. So I booted in standalone using my "3.3" SD and it does indeed show that the firmware is actually 3.4b6. So what are the bin files in the firmware directory for? When I was missing those it would not boot and once I added them it booted correctly. But those bin are from 3.3 since that card was not used in the upgrade.

                                      So anyway, clearly the 12864 works with 3.4 and so the failure mode must be SBC. Sorry for my embarrassing ignorance. Which forum category covers SBC?

                                      undefined 1 Reply Last reply 15 Dec 2021, 23:36 Reply Quote 0
                                      • undefined
                                        gloomyandy @jltx
                                        last edited by 15 Dec 2021, 23:36

                                        @jltx The bin files you can see in the firmware directory of the SD card are used when in standalone mode to updated the firmware. But they will only be used when you issue the M997 command (or something like DWC does it for you).When you do this a combination of the current firmware and bootloader will copy the new firmware from the SD card and place it into the flash memory of the mcu. Once this operation is complete the mcu will simply run this code from the built in flash memory when it boots, it will not re-read the firmware files from the SD card. When you are running in SBC mode the firmware files are stored on the SD card in the SBC (as part of the Linux filesystem I described above) and are sent to the duet board when you issue the M997 command, again to be stored in the built in flash memory.

                                        undefined 1 Reply Last reply 16 Dec 2021, 01:55 Reply Quote 0
                                        • undefined
                                          jltx @gloomyandy
                                          last edited by 16 Dec 2021, 01:55

                                          @gloomyandy I found one problem. When I upgraded from 3.3 to 3.4 it erased all of my directories and replaced them with empty and I lost all of my careful printer configuration. I lost days of work so I'm going to take a break from duet for a while.

                                          Phaedruxundefined 1 Reply Last reply 16 Dec 2021, 03:21 Reply Quote 0
                                          7 out of 24
                                          • First post
                                            7/24
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA