Announcement

Collapse
No announcement yet.

Problem mit Übertragung / Problem with transmission

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem mit Übertragung / Problem with transmission

    Hallo.
    Ich versuche mein Programm zu meinen pixxiLCD-25P4 zu übertragen.
    Leider zeigt auf dem Display kein Bild.
    Was Mach ich falsch?

    Ich habe paar Bilder gemacht.

    Mit freundlichen Grüße,
    Patrick Dreger

    --------------------------------------------------------------------------------------
    Hello.
    I am trying to transfer my program to my pixxiLCD-25P4.
    Unfortunately the display shows no picture.
    What am I doing wrong?

    I have made some pictures.

    With kind regards,
    Patrick Dreger
    Attached Files

  • #2
    Hello Patrick,

    Your code is missing a lot of things, what you have written there is insufficient to display anything, other than to change the display to Form1. That is all it is being told to do.

    I suggest you start with some Appnotes:

    https://docs.4dsystems.com.au/app-note/4D-AN-00215
    https://docs.4dsystems.com.au/app-note/4D-AN-00069

    Please follow those first, and after getting the basics with 4D-AN-00215 and move to 4D-AN-00069 to do images, then you should be in a better position to do something custom.

    Please let me know how you get on

    Regards
    James

    Comment


    • #3
      Danke für die Hilfe. Ich werde heute Abend dein Rat testen.

      -----------------------------------------------------------------------------------------------------

      Thanks for the help. I will test your advice tonight.

      Comment


      • #4
        Leider hat es nicht geholfen :-(
        Jetzt zeigt es das mein SD-Karte nicht geladen wird.
        -------------------------------------------------------------------------------
        Unfortunately it did not help :-(
        Now it shows that my SD card is not loaded.

        ------------------------------------------------------------------------------
        Mein Code
        ------------------------------------------------------------------------------
        #platform "pixxiLCD-25P4"
        #inherit "4DGL_16bitColours.fnc"
        #inherit "VisualConst.inc"
        #inherit "NoName1Const.inc"

        func main()

        putstr("Mounting...\n");
        if (!(file_Mount()))
        while(!(file_Mount()))
        putstr("Drive not mounted...");
        pause(200);
        gfx_Cls();
        pause(200);
        wend
        endif

        hndl := file_LoadImageControl("NoName1.dat", "NoName1.gci", 1);
        // Image1 1.0 generated 24.03.2021 18:06:30
        img_Show(hndl,iForm1) ;

        repeat
        forever
        endfunc
        ------------------------------------------------------------------------------

        Attached Files

        Comment


        • #5
          Mal eine andere Frage.
          Unter Kommunikationsfeld steht das ich falschen PmmC habe. Auf meinen PC steht das ich Version 1.7 habe, aber mein Display hat Firmware Version 1.6.
          Kann es daran liegen?

          -------------------------------------------------------------------

          Another question.
          Under communication field it says that I have wrong PmmC. On my PC it says that I have version 1.7, but my display has firmware version 1.6.
          Can it be because of this?

          Comment


          • #6
            Hello Patrick,

            Please can you try the attached PmmC, which is 1.8 for pixxiLCD-25P4 in uSD mode.
            I assume you have loaded the microSD card using Workshop4 from your PC, and you have the card inserted back into the Display Module?

            Please load this PmmC and try and let me know the result.

            Regards
            Attached Files
            James

            Comment


            • #7
              Ich habe die Firmware installiert.
              Jetzt habe ich alle verschiedene Einstellungen probiert. Dennoch zeigt auf dem Display aktuelle Firmware.

              Oder kommt diese Fehler Meldung:
              "FileTransfer failed, run stand alone and check produced messages.
              If using a programming cable, or an MP5 ensure the baud rate settings have been set correctly."

              Kann es sein das ich unter Einstellung etwas einstellen muss?

              -----------------------------------------------------------------------------------------------------------------------------------------------------
              I have installed the firmware.
              Now I have tried all different settings. Still shows on the display current firmware.

              Or comes this error message:

              "FileTransfer failed, run stand alone and check produced messages.
              If using a programming cable, or an MP5 ensure the baud rate settings have been set correctly."

              Can it be that I have to set something under setting?

              Comment


              • #8
                #platform "pixxiLCD-25P4"

                // Program Skeleton 1.5 generated 25.03.2021 19:12:14

                // #MODE RUNFLASH uncomment and set Destination to Flash to run from Flash, refer 4D-AN-00055

                #inherit "4DGL_16bitColours.fnc"

                #inherit "VisualConst.inc"

                var gradientRAM[29+240*2] := [-1,-1,-9999,0,0,240] ; // uncomment and replace xxx with maximum of all inherent 'media' widgets

                #inherit "TestConst.inc"

                func main()
                var hstrings ; // Handle to access uSD strings, uncomment if required
                var hFontn ; // Handle to access uSD fonts, uncomment if required and change n to font number
                // Uncomment the following if uSD images, fonts or strings used.

                // for Fat File System
                putstr("Mounting...\n");
                if (!(file_Mount()))
                while(!(file_Mount()))
                putstr("Drive not mounted...");
                pause(200);
                gfx_Cls();
                pause(200);
                wend
                endif
                // for (GCI) Flash File System
                media_Init() ; // or media_Init4(FLASH_ADDR_DEF_COMMAND) if flash > 16MB
                gfx_TransparentColour(0x0020); // uncomment if transparency required, please understand why and when you need to use this
                gfx_Transparency(ON); // uncomment if transparency required, as generally there is a performance hit when using it

                // for Fat File System
                hFontn := file_LoadImageControl("Test.dan", "Test.gcn", 1); // Open handle to access uSD fonts, uncomment if required and change n to font number dropping a and c if > 9
                hstrings := file_Open("Test.txf", 'r') ; // Open handle to access uSD strings, uncomment if required
                hndl := file_LoadImageControl("Test.dat", "Test.gci", 1);

                // Form1 1.1 generated 25.03.2021 19:13:12
                img_Show(hndl,iForm1) ;

                // label1 1.0 generated 25.03.2021 19:14:28
                img_Show(hndl,ilabel1) ;

                repeat
                forever
                endfunc

                Comment


                • #9
                  Hi Patrick

                  Please open the File Transfer tool manually so it opens as a stand alone application, this can be found in the Tools menu.
                  Select your Comm port and click Connect.
                  On the left side of the screen, Navigate and select the GCI and DAT files for your program (in your project folder for the project you are trying to load)
                  Click ">> Send file to display"
                  You should be presented with a report, and hopefully the Error. This should indicate what is wrong.
                  If its not clear what its telling you, please screenshot and show us

                  Regards
                  James

                  Comment


                  • #10
                    Hallo.
                    Ich habe die Daten per "FIle Transfer" übertragen zeigte kein Fehler. Zum Schluss habe ich ein neues Display bestellt und getestet.
                    Jetzt funktioniert es 😀.
                    Irgendwie hat mein erste pixxiLCD-25P4 eine Macke und den Neuen startet mein Code.

                    Danke für die Hilfe.

                    Grüße
                    Patrick Dreger

                    ----------------------------------------------------------------------------------------------------------------
                    Hello.
                    I have transferred the data via "FIle Transfer" showed no error. Finally I ordered a new display and tested it.
                    Now it works 😀.
                    Somehow my first pixxiLCD-25P4 has a quirk and the new one starts my code.

                    Thanks for the help.

                    Regards
                    Patrick Dreger

                    Comment

                    Working...
                    X