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

    3.2 3HC Bootloader update - No diag led

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    4
    29
    1.1k
    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.
    • dc42undefined
      dc42 administrators
      last edited by dc42

      The bootloader is normally protected, so you will probably need to remove the bootloader protection first. This is in the NVRAM calibration area, see section 9.3 of the SAMC21 datasheet. Caution, do not change any other values in that area.

      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
      • jay_s_ukundefined
        jay_s_uk
        last edited by

        I can read the userspace but I've no idea what bit I should be changing or what I should be changing it to.

        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

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

          @dc42 which is the best version of the bootloader to try and flash?
          It was the 2.1 bootloader I installed over CAN that caused the board to be none responsive.
          Any ideas why it would've happened if its supposed to check itself?
          I did try and build the latest version but the build failed.

          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
          • dc42undefined
            dc42 administrators
            last edited by dc42

            Bootloader 2.1 is the latest and is working on all my boards. There are different builds for the SAME5x (i.e. EXP3HC) and SAMC21 (tool board and 1XD).

            Were you running in SBC mode or standalone mode when you tried to update the bootloader?

            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
            • jay_s_ukundefined
              jay_s_uk
              last edited by

              I was running in standalone and installed version 2.1 of Duet3Bootloader-SAME5x.bin

              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
              • dc42undefined
                dc42 administrators
                last edited by

                Thanks. I am about to test downgrading and upgrading the bootloader on a 3HC again.

                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 1
                • jay_s_ukundefined
                  jay_s_uk
                  last edited by

                  my stlinks have come so hopefully a little later i'll be able to use the atmel studio software to make life a little easier

                  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
                  • dc42undefined
                    dc42 administrators
                    last edited by

                    Downgrading the bootloader over CAN doesn't work, I believe because bootloader versions prior to 2.0 don't have the right CRC. So the firmware refuses to erase the old bootloader and install the new one.

                    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

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

                      @dc42 hmmm, I had whatever bootloader came with the original 3HC and have never updated it prior to this.
                      Maybe thats the issue?

                      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
                      • dc42undefined
                        dc42 administrators
                        last edited by dc42

                        I just flashed the very first bootloader release on to the EXP3HC using the ICE, booted up, and verified that the bootloader version was "not available" in M122 B1. Then upgraded successfully to 2.1 over CAN.

                        So I don't know why your bootloader upgrade failed.

                        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

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

                          ok, thanks
                          might be back with questions later if I can't get the flashing to work

                          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
                          • jay_s_ukundefined
                            jay_s_uk @dc42
                            last edited by

                            @dc42 would you entertain the idea of me sending you my 3HC for reprogramming? I'm in the UK and would recover the return postage etc

                            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
                            • jay_s_ukundefined
                              jay_s_uk
                              last edited by

                              @dc42 am i ok to post my 3HC off to you tomorrow? I'm unable to program it here

                              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

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

                                @jay_s_uk said in 3.2 3HC Bootloader update - No diag led:

                                @dc42 am i ok to post my 3HC off to you tomorrow? I'm unable to program it here

                                Yes, that's fine. I'll email you my address.

                                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 1
                                • jay_s_ukundefined
                                  jay_s_uk
                                  last edited by

                                  I received my board back today from @dc42
                                  I am still having issues with it.
                                  So far, I have determined that when powered from 24v (tested with 2 different power supplies), the diag LED does not flash. All 4 LEDs are illuminated to indicate VIN, 12v, 5v and 3.3v.
                                  When powered from 12v, the diag LED does flash and all 4 LEDs illuminate.
                                  Any pointers on where I can go from here?

                                  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

                                  dc42undefined 1 Reply Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User
                                    last edited by

                                    Measure the 5V and 3.3V rail, or even better put a scope on them?
                                    No idea why they'd behave different with different input voltages unless the buck converter is somehow fubar.

                                    If supplying external 5V is an option then that might bypass the problem, but presumably its a relatively new board?

                                    jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                    • jay_s_ukundefined
                                      jay_s_uk @A Former User
                                      last edited by

                                      @bearer no, i'd had it about a year since they were released.
                                      I don't have a scope.
                                      I can try measuring the 3.3v and 5v rail but why would they work on 12v but not on 24v?

                                      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

                                      A Former User? 1 Reply Last reply Reply Quote 0
                                      • A Former User?
                                        A Former User @jay_s_uk
                                        last edited by

                                        a year already .. time flies!

                                        no idea why it'd be different, but given buck converters will have different efficiencies and operate with different input currents at different input voltages for the same load an unstable output was the only grasping-at-straws suggestion I could come up with seeing as it works with 12v.

                                        (presuming there isn't a grounding issue with the 24v supply and not with the 12v supply)

                                        jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                                        • jay_s_ukundefined
                                          jay_s_uk @A Former User
                                          last edited by

                                          @bearer said in 3.2 3HC Bootloader update - No diag led:

                                          (presuming there isn't a grounding issue with the 24v supply and not with the 12v supply)

                                          Not that I'm aware of. I've tried 3 different 24v power supplies.

                                          I'll see if I can check some voltages later

                                          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

                                          A Former User? 1 Reply Last reply Reply Quote 0
                                          • A Former User?
                                            A Former User @jay_s_uk
                                            last edited by A Former User

                                            @jay_s_uk said in 3.2 3HC Bootloader update - No diag led:

                                            I'll see if I can check some voltages later

                                            in lacking a scope, try measuring the AC (DC ripple on the 5V) as well as the DC RMS to evaluate potential instability if the DC reading looks OK.

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