No announcement yet.

Getting Started with PICASO-GFX based 4DGL Platform Modules

  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting Started with PICASO-GFX based 4DGL Platform Modules

    Here is what you need to do:

    Step 1.

    Check for and download the latest PmmC file for your hardware platform. The latest PmmC files are available here. Select the correct file matching your platform. Use the "PmmC-Loader" software tool to update your hardware with the latest PmmC file. You'll find a brief explanation of what a PmmC is here.
    Step 2.

    Download the latest 4DGL Workshop-IDE (Integrated Development Environment). The Workshop-IDE contains the 4DGL-Editor, the 4DGL-Compiler and the 4DGL-Downloader software tools to develop complete 4DGL applications for the PICASO-GFX processor embedded in your intelligent display module. The latest Workshop-IDE is available here.

    Step 3.

    Unzip the downloaded file then launch the setup application and follow the instructions. The setup will create the required 4DGL Workshop-IDE folders and install all the required files.

    Step 4.

    The created Workshop folder will contain many files and sub-folders. Launch the "4DGLworkshop.exe" application in the main folder.

    Step 5.

    Using the pulldown menu select "File" -> "Project". Projects folder can also be selected by selecting the "Files" tab first then selecting the "Projects" tab (see WorkshopProjects1.png). This will bring up the Project window (see WorkshopProjects2.png). Select the appropriate PICASO-GFX related project under the "Project folder" section and click the "Ok" button. This will import all the 4DGL application program files from that project folder into the Workshop. You will notice the list of programs in the "Files" tab (see WorkshopFile1.png). Select one of the programs by double clicking on it. This will open up the Editor (see WorkshopEditor1.png).

    Step 6.

    Choose the appropriate platform for your module. Click on the pull down "Platform" item list on the top right hand side (see WorkshopPlatform.png). We are now ready to compile our program.

    Step 7.

    Click on the "Compile" button up the top (see WorkshopEditor1.png). If there are no errors in our program then we should see the "No Errors, code size = XXXX bytes (XXXX available)" message down the bottom message box. We are now ready to download our compiled program to the module.

    Step 8.

    At this stage you should have your display module connected to your micro-USB module (uUSB-MB5 or uUSB-CE5) which is connected to your USB port. Select the correct COM port setting (see WorkshopEditor1.png) by typing in the COM port number matching the micro-USB.
    ARGIN: 0px">Note: If you are using the uUSB-MB5 device then you should adjust the power settings. Follow the steps in this seperate link here.
    Step 9.

    Click on the "Download" button up the top (see WorkshopEditor1.png). This will open up the Downloader window (see WorkshopDownloader1.png). You will notice several selection options for redirecting our compiled program. For now we'll select the "Write to RAM" option (this should be the default). Click the "Download" button on the Downloader window which will start the downloading process. The progress bar will inform you of the download activity.

    Step 10.

    If all of the above steps have been followed and your system was setup correctly you should now have your first 4DGL application running in your embedded PICASO-GFX. We will further cover any problems in a different section.

    Happy Coding!!!!!

    Attached files