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

    New PanelDue 1.16beta1 firmware

    Scheduled Pinned Locked Moved
    Firmware installation
    13
    28
    4.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.
    • dc42undefined
      dc42 administrators
      last edited by

      You can find the Windows version of bossac in the Tools folder of my github RepRapFirmware repository. I don't think you need a driver if you are running Windows 10.

      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
      • Loffy770undefined
        Loffy770
        last edited by

        I have upgraded and noticed that Paneldue does often stop to read the temp while the webinterface displays temp correctly..

        1 Reply Last reply Reply Quote 0
        • celulariundefined
          celulari
          last edited by

          Thanks for the update!!! It Is possible yo add an option to turn off the screen? It's so bright on the dark 🙂

          Thanks!

          1 Reply Last reply Reply Quote 0
          • Doc_Penguundefined
            Doc_Pengu
            last edited by

            Hello David,

            Sorry if this is on wrong place. I have tried to search on forum, but not come across this problem.

            I have little problem with my 7 inch screen and PanelDue.
            Touch screen seems to be thinking thats it on portrait mode,
            so….

            When 1st cal point comes to screen to press, i need to press point where 2nd one comes (does not care if i try press in right point over the black spot) and when 2nd cal point comes, i need to press where 3rd point comes....
            Touch screen is rotated 90 degrees. End of this calibration process i get all coordinates wrong 😞

            I seems to be thinking that in original touch screen code to Arduino, there in some sort on way to turn this right ?
            What needs to be done to your code to correct touch screen rotation ?

            Is it possible to get BIN file with this already corrected ?

            I have tried to get my Eclipse installation working, i get ELF file end of compiling. BIN file goes 'missing', even it's on Post-build steps settings.

            Thanks
            Mark

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

              Where do you get your 7" TFT panel from? Are you definitely using the code for the 7" panel?

              The Eclipse project has a post-build step configured to convert the .elf file into a .bin file.

              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
              • DADIYundefined
                DADIY
                last edited by

                I managed to get the PanelDue firmware to build but there were a couple of extra steps required that were not in the instructions that I found I needed to do.

                For Eclipse I had to install the following extras under Help - Install New Software -
                Arduino C++ Tools - org.eclipse.cdt.arduino.feature.group
                C/C++ Development Tools - org.eclipse.cdt.feature.group
                C/C++ GCC Cross Compiler Support - org.eclipse.cdt.build.crossgcc.feature.group

                To get the elf file to convert to the bin file, the Post Build Steps under Project Properties -> C/C++ Build -> Settings Post Build Steps was updated to

                arm-none-eabi-objcopy -O binary ${workspace_loc:/${ProjName}/${ConfigName}}/PanelDue-7.0.elf ${workspace_loc:/${ProjName}/${ConfigName}}/PanelDue-7.0.bin

                The original used ${ProjName}-7.0.elf for the filename which was evaluating to PanelDueFirmware-7.0.elf but the output from the compile generated PanelDue-7.0.elf

                Also the Arduino 1.5.8 from arduindo.cc didn't include the tools but I already had these installed elsewhere.

                1 Reply Last reply Reply Quote 0
                • DADIYundefined
                  DADIY
                  last edited by

                  Check your makefile , at the end there is the command that converts the .elf to the bin, you may find that if you run this manually that your path in the command is slightly wrong.

                  @Doc_Pengu:

                  Hello David,

                  Sorry if this is on wrong place. I have tried to search on forum, but not come across this problem.

                  I have little problem with my 7 inch screen and PanelDue.
                  Touch screen seems to be thinking thats it on portrait mode,
                  so….

                  When 1st cal point comes to screen to press, i need to press point where 2nd one comes (does not care if i try press in right point over the black spot) and when 2nd cal point comes, i need to press where 3rd point comes....
                  Touch screen is rotated 90 degrees. End of this calibration process i get all coordinates wrong 😞

                  I seems to be thinking that in original touch screen code to Arduino, there in some sort on way to turn this right ?
                  What needs to be done to your code to correct touch screen rotation ?

                  Is it possible to get BIN file with this already corrected ?

                  I have tried to get my Eclipse installation working, i get ELF file end of compiling. BIN file goes 'missing', even it's on Post-build steps settings.

                  Thanks
                  Mark

                  1 Reply Last reply Reply Quote 0
                  • Doc_Penguundefined
                    Doc_Pengu
                    last edited by

                    @dc42:

                    Where do you get your 7" TFT panel from? Are you definitely using the code for the 7" panel?

                    The Eclipse project has a post-build step configured to convert the .elf file into a .bin file.

                    Panel I'm using is from Aliexpress, friend of my bought it while back for some Arduino project, but it was never used.
                    So I ended to have it.

                    I have tried all BIN files from github repo for 7 inch panel and all of the seems to have same 'problem' with touchscreen rotation.
                    Need to look my Eclipse settings and get BIN file conversion working.

                    Any tips what part of PanelDue code could rotate touchscreen coordinations ?

                    Mark

                    1 Reply Last reply Reply Quote 0
                    • Doc_Penguundefined
                      Doc_Pengu
                      last edited by

                      @DADIY:

                      To get the elf file to convert to the bin file, the Post Build Steps under Project Properties -> C/C++ Build -> Settings Post Build Steps was updated to

                      arm-none-eabi-objcopy -O binary ${workspace_loc:/${ProjName}/${ConfigName}}/PanelDue-7.0.elf ${workspace_loc:/${ProjName}/${ConfigName}}/PanelDue-7.0.bin

                      The original used ${ProjName}-7.0.elf for the filename which was evaluating to PanelDueFirmware-7.0.elf but the output from the compile generated PanelDue-7.0.elf

                      Thank you for the tip, that did do the job.

                      Mark

                      1 Reply Last reply Reply Quote 0
                      • Doc_Penguundefined
                        Doc_Pengu
                        last edited by

                        All sorted now, got the touchscreen working correctly.
                        All I did is swapped order witch X and Y coordinates from touchscreen is read in UTouch.cpp

                        [[language]]
                        // If the panel is touched, return the coordinates in x and y and return true; else return false
                        bool UTouch::read(uint16_t &px, uint16_t &py, uint16_t * null rawX, uint16_t * null rawY)
                        {
                        	bool ret = false;
                        	if (!portIRQ.read())			// if screen is touched
                        	{
                        		portCS.setLow();
                        		delay_us(100);				// allow the screen to settle
                        		uint16_t ty;				// <- was tx
                        		if (getTouchData(false, ty))	        // <- was tx
                        		{
                        			uint16_t tx;			// <- was ty
                        			if (getTouchData(true, tx))	// <- was ty
                        
                        

                        Thank you David for nice add on to DuetWifi

                        Mark

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