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

Compiling/Building PanelDue Firmware

Scheduled Pinned Locked Moved Solved
PanelDue
5
30
1.3k
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
    R006 @R006
    last edited by 10 Apr 2023, 10:49

    @dc42 i am waiting for your reply

    undefined 1 Reply Last reply 11 Apr 2023, 12:46 Reply Quote 0
    • undefined
      dc42 administrators @R006
      last edited by dc42 4 Nov 2023, 12:48 11 Apr 2023, 12:46

      @R006 looks like you haven't defined variable ArmGccPath in Window->Preferences->C/C++->Build->Build Variables. It need to be defined as the path to the folder where the C++ compiler and related tools (including arm-none-eabi-objcopy) live. This is what mine is set to, although a more recent version of the compiler than that should also work.

      4c5fdbf3-b61a-431d-a99b-f3a17fea849a-image.png

      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

      undefined 1 Reply Last reply 12 Apr 2023, 04:15 Reply Quote 0
      • undefined
        R006 @dc42
        last edited by 12 Apr 2023, 04:15

        @dc42 it's already defined.

        undefined 1 Reply Last reply 12 Apr 2023, 12:23 Reply Quote 0
        • undefined
          dc42 administrators @R006
          last edited by dc42 12 Apr 2023, 12:23

          @R006 fba1f389-b9cf-400f-ae34-0c4bd3bb4c93-image.png

          If you look at the Command box in the above image, you can see that it tries to invoke "${ArmGccPath}/arm-none-eabi-objcopy". As it's trying to invoke"/arm-none-eabi-objcopy" according to the error message you posted, there must be something wrong with your definition of that build variable, or else the post build step command line in your system doesn't match mine.

          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

          undefined 1 Reply Last reply 13 Apr 2023, 05:31 Reply Quote 0
          • undefined
            R006 @dc42
            last edited by 13 Apr 2023, 05:31

            @dc42
            Post-build steps in my eclipse.
            "${ArmGccPath}/arm-none-eabi-objcopy" -O binary "${workspace_loc:/${ProjName}/${ConfigName}}/${BuildArtifactFileBaseName}.elf" "${workspace_loc:/${ProjName}/${ConfigName}}/${BuildArtifactFileBaseName}.bin" && cat "${ProjDirPath}/${ConfigName}/${BuildArtifactFileBaseName}.bin" "${ProjDirPath}/SplashScreens/SplashScreen-Duet3D-800x480.bin" >"${ProjDirPath}/${ConfigName}/${BuildArtifactFileBaseName}-logo.bin"

            undefined 1 Reply Last reply 13 Apr 2023, 06:08 Reply Quote 0
            • undefined
              dc42 administrators @R006
              last edited by 13 Apr 2023, 06:08

              @R006 and how have you set ArmGccPath ?

              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

              undefined 1 Reply Last reply 13 Apr 2023, 06:09 Reply Quote 1
              • undefined
                R006 @dc42
                last edited by 13 Apr 2023, 06:09

                @dc42 ArmGccPath is C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\bin

                undefined 1 Reply Last reply 13 Apr 2023, 06:16 Reply Quote 0
                • undefined
                  dc42 administrators @R006
                  last edited by 13 Apr 2023, 06:16

                  @R006 and is file arm-none-eabi-objcopy.exe in that folder?

                  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

                  undefined 1 Reply Last reply 13 Apr 2023, 06:22 Reply Quote 0
                  • undefined
                    R006 @dc42
                    last edited by R006 13 Apr 2023, 06:22

                    @dc42 yes
                    but as per error c:/program files (x86)/gnu arm embedded toolchain/10 2020-q4-major/bin/sh: /arm-none-eabi-objcopy: not found may be it's search in sh folder

                    undefined undefined 2 Replies Last reply 13 Apr 2023, 12:39 Reply Quote 0
                    • undefined
                      R006 @R006
                      last edited by 13 Apr 2023, 12:39

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • undefined
                        oliof @R006
                        last edited by oliof 13 Apr 2023, 13:14

                        @R006 remove /sh from the path

                        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                        undefined 1 Reply Last reply 14 Apr 2023, 04:15 Reply Quote 0
                        • undefined
                          R006 @oliof
                          last edited by R006 14 Apr 2023, 04:15

                          @dc42 thank you for support .
                          now i am able to build it. and generating PanelDueFirmware.bin file successfully by changing the name of ArmGccPath.

                          but after flashing successfully & restart panel, it was blank.

                          Any Suggestions?@chrishamm

                          undefined 1 Reply Last reply 14 Apr 2023, 11:51 Reply Quote 0
                          • undefined
                            R006 @R006
                            last edited by R006 14 Apr 2023, 11:51

                            @dc42 @chrishamm can any one try my build bin file of panelduefirmware & Check what's wrong in that file & check in your panel if it's working or not.
                            Firmware varsion:3.4.beta3
                            souce code of panel:https://github.com/Duet3D/PanelDueFirmware
                            bin file:68a650ee-e619-4847-8f02-267908ce9181-PanelDueFirmware-v2-7.0.bin

                            undefined 2 Replies Last reply 14 Apr 2023, 12:31 Reply Quote 0
                            • undefined
                              dc42 administrators @R006
                              last edited by dc42 14 Apr 2023, 12:31

                              @R006 where is your binary file, and which build configuration is 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

                              undefined 1 Reply Last reply 17 Apr 2023, 06:25 Reply Quote 1
                              • undefined
                                R006 @dc42
                                last edited by R006 17 Apr 2023, 06:25

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  dc42 administrators @R006
                                  last edited by 21 Apr 2023, 00:13

                                  @R006 I am away for a few days, but in any case I'm not sure I have a version 2 PanelDue board left. Perhaps @mfs12 can test your binary.

                                  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

                                  undefined 1 Reply Last reply 24 Apr 2023, 04:15 Reply Quote 0
                                  • undefined
                                    R006 @dc42
                                    last edited by 24 Apr 2023, 04:15

                                    @dc42 thank you for your support now it's working fine.

                                    1 Reply Last reply Reply Quote 0
                                    • undefined Phaedrux has marked this topic as solved 24 Apr 2023, 04:57
                                    23 out of 30
                                    • First post
                                      23/30
                                      Last post
                                    Unless otherwise noted, all forum content is licensed under CC-BY-SA