4D SYSTEMS FORUM HAS MOVED

Please navigate to http://forum.4dsystems.com.au

This forum is READ ONLY and is DISABLED, please use the new forum

PLEASE do not attempt to change your details. Email webmaster@4dsystems.com.au if you are having problems with the new forum

For all Tech Support, please use the Support Ticket System, from our website. http://www.4dsystems.com.au/support



4D SYSTEMS FORUM
New Posts
 
 
 


Note: This topic is locked. No new replies will be accepted.


Reply
 
Author Comment
 
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #1 
This section of FAQ for "PICASO-SGC, Related Display Modules and Software" covers all the frequently asked questions related to,
  1. PICASO-SGC processor
  2. uOLED-32024-P1(SGC)
  3. uOLED-32024-P1T(SGC)
  4. uOLED-32028-P1(SGC)
  5. uOLED-32028-P1T(SGC)
  6. uLCD-32032-P1T(SGC)
  7. DISP tool and PICASO-SGC
  8. FONT tool and PICASO-SGC
  9. FAT Controller tool and PICASO-SGC
  10. Miscellaneous                        
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #2 
Q01. What does SGC stand for?

Ans. SGC stands for Serial Graphics Controller. The PICASO processor can be configured for SGC mode by simply loading an SGC PmmC file. Now, the processor becomes a PICASO-SGC processor.

PICASO-SGC processor or PICASO-SGC modules are ideal for slave applications where the host controller sends serial commands to control them. For a complete list of Command set Refer to the Downloads tab on the PICASO-SGC product page.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #3 
Q02. Is PICASO-SGC a completely different(physically) set of device than PICASO-GFX?

Ans.PICASO , physically, is a single processor that can be configured for two modes SGC and GFX. In other words if you bought a PICASO-GFX processor and want to jump on to SGC configuration you can simply program an SGC PmmC file on the same processor to change its mode which we refer to as its "Personality".
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #4 
Q03. What is the difference between PICASO-SGC and PICASO-GFX processor?

Ans. SGC and GFX are configurations of the PICASO processor.
PICASO-SGC is designed to be a slave device where it needs serial commands from an external Host controller to operate. PICASO-SGC also have the scripting language feature which allow it to run scripts from the micro SD card.

PICASO-GFX is designed to be a standalone device. It needs 4DGL program to be loaded to the module and it works accordingly. You still get the access to the com port to communicate to the external devices serially.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #5 
Q04. What are the necessary Development/AID tools for PICASO-SGC?

Ans. Development tools are PmmC Loader, DISP Tool, Font Tool, RMPET Tool and Graphics Composer. AID tool, FAT Controller.

Note: PmmC Loader, DISP tool and FAT Controller needs the PICASO-SGC processor or PICASO-SGC Display Modules to be connected to the PC. See USB to Serial Converter section to find how you should connect the PICASO-SGC/Display module to the PC.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #6 
Q05. What is the role of 4D Workshop3 IDE as a Development/AID tools for PICASO-SGC?

Ans. 4D Workshop3 IDE is not only for 4DGL code development, it can also be used for 4DSL script development.

4DSL is a Scripting language developed to provide the SGC modules, which are labelled as Slave devices, some degree of independence. The syntax of the commands is simple and easy to use. 4DSL commands can be saved on the uSD card in the form of a File called 4DSL scripting file. The script files can be called from a host controller or they can be saved as autoexec.4DS file to run automatically on power up.

For more information refer to the latest version of PICASO-SGC-COMMAND-SIS.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #7 
Q06. What is the extension of a 4DSL script file?

Ans. You can develop your 4DSL script in 4D Workshop3 IDE. It is saved with an extension ".4DScript".

For more information refer to the latest version of PICASO-SGC-COMMAND-SIS.

4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #8 
Q07. Why are there two modes for a Script files?

Ans. There are two modes of operation for a script file, compile mode and Run mode.

Run mode is for running script lines directly from the 4D Workshop3 IDE whilst the Display module is connected to the PC. This mode is good for testing and debugging as you can Run each command Step by Step.

Compile mode allows you to not only compile the code but to download it to the module whilst the uSD card is plugged in to the module.

Compile mode produces ‘stand alone’ code, that can be copied to the uSD card and executed from there, whereas Run mode, because it is run from within the Workshop3 IDE adds extra commands that need the IDE to work (typically all the ‘macros’).  Similarly, there are some commands that are only available in compile mode (eg, SetCounter, Decrement, etc.).
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #9 
Q08. Why do i get a compile option in Run mode?

Ans.The code always needs to be compiled, ‘compile mode’ should not be confused with the act of compiling.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #10 
Q09. Why can't i see my script in the FAT Partitioned card while I have already downloaded the script on the uSD card?

Ans.You need to add #origin '' in your Script after #Compile and #include to tell the processor to save downloaded script file in the form of a file with the same name as that of the original script in the 4D Workshop.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #11 
Q10. I see a funny filename when i load a script to the uSD card using Compile and Download option on the 4D Workshop?

Ans. The PICASO-SGC processor follow 8.3 format when it comes to filenames. If your filename is too big windows will rename it using the standard rules for converting a long filename into an 8.3 filename. Make sure your filename is less than or equal to 8 characters.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #12 
Q11. I am confused with the number of extensions used with a 4DSL Script?

Ans. There are following extensions associated with a 4DSL Script. See the details of each.

".4DScript" When you open a new file in the 4D Workshop you get some options to choose from, of which .4DScript is one. It is the extension of the source script that you write in the 4D Workshop3 IDE. You should not copy this file to the uSD card, it is not recognized by the PICASO-SGC processor.

".WsScrpObj" When you compile a script a script object file is produced which can be copied to the uSD card manually after changing the extension to .4DS. Now this object file can be called from an external host controller using @p Run Program command.

".4DS" Any scripting file that eventually gets loaded/copied to the uSD card should be in .4DS extension because this is the extension recognized by the PICASO-SGC processor.

Note: 4DSL is not an extension of a file, it's the title of the scripting language.

4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #13 
Q12. What does an autoexec.4DS file do?

Ans. Once you have produced a WsScrpObj file after compiling a script you can change its name and extension to "autoexec.4DS" and copy it to the uSD card. As soon as you will power up your module (with uSD card already plugged in), the autoexec.4DS would start running.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #14 
Q13. Can i write the script to the uSD card in raw format without using FAT Formatting?

Ans. Yes you can certainly do that. Connect the module to the PC, put the uSD Card in to the module. Set #Origin to a specific Raw address such as,

#Origin 0x400   // start on sector 2

Compile and Download the script to the uSD card. Now your default script start location is 0x400 which you need to refer to when sending @P Run Script command from your host controller to run the script.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #15 
Q14. Why are there two PmmCs for the uOLED-32028-P1T(SGC) module?

Ans. There is slight variation in the Touch panels on these displays. These displays, as available from the Display manufacturers, have basically two distinct Touch calibration values hence two PmmCs. There is physically no difference at all to distinguish one from the other. You might have to try the other if you see touch offset on one.

uOLED-32028-P1TSGC-RXX.pmmc
uOLED-32028-P1TxSGC-RXX.pmmc (The latest batches since the middle of 2010 have had Touch settings to match this PmmC)

Note: No matter which PmmC you load, if you can, you can always use DISP Tool to calibrate the Touch panel of any SGC configured Display Module.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #16 
Q15. Do I need to buy a USB to Serial converter with an SGC configured module?

Ans.You don't need to but it is highly recommended to buy one for the following reasons.

-It allows you to update the PmmC file in case an upgraded SGC PmmC file is released.
-It allows you to connect your SGC configured display module with the PC and test/debug using the
FAT Controller Software tool.
-It allows you to change the configuration from SGC to GFX by loading the appropriate (module specific) GFX PmmC file.

Note: We strongly recommend you buy one of our
USB to Serial Converters because they provide a Reset Signal which is needed as part of the PmmC programming protocol. There are third party USB to Serial Converters available but they do not provide a Reset Signal which is where users get stuck when trying to load a PmmC file.

For more details, See this FAQ section.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #17 
Q16. What can I use DISP tool for?

Ans.
DISP tool is a Display initialization software tool which can be used to do the following,

-Build a header file for a new Display (not the ones already integrated to the 4D processors in the form of display modules) and integrate it with the PICASO-SGC processor.
-Change the Display settings on an existing header file provided by 4D for the displays integrated on their Display modules. (Only adept users should attempt it)
-Change the splash screen that appears on start-up.
-Change the orientation.
-Include custom fonts developed through FONT TOOL.

Note: Before trying to download a header file on the Display module, make sure it is loaded with an SGC PmmC file.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #18 
Q17. What is the role of FONT TOOL in development with an SGC module?

Ans. FONT TOOL is used to develop a variety of fonts which can be Windows built-in fonts or even custom designed fonts. The user can embed the fonts in to the PmmC file using the DISP Software tool. For more details refer to the
PICASO-SGC-COMMAND-SIS RXX.pdf document.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #19 
Q18. I found 4 different PmmCs for uLCD-32PT(SGC), under the Downloads tab, for 4 different orientations then why are there 4 different header files for each orientation?

Ans. This is to allow the user to use the matching header file for the orientation they need and change other settings if they want. Check Q15 to see what other settings could be changed through the DISP Tool.

There are certain parameters related to the Orientation of the display on the uLCD-32PT which are not accessible from the DISP Software tool. Hence there are four different PmmC files for each orientation.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #20 
Q19. I am not sure if i got a Touch or a Non-Touch Module, How can i check it?

Ans. Please make sure you bought a Display module with a Touch. Check your invoice for the part name. If you buy it directly from us the part name should have a "T" that indicates Touch. Such as all the following modules are Touch based.
uLCD-24PT
uLCD-28PT
uLCD-32PT
uLCD-32032-P1T
uOLED-32024-P1T
uOLED-32028-P1T

Physically, you can check the 4 wires of the resistive Touch panel to confirm whether you have a Touch or a Non-Touch Display Module. See the sample images attached.

Attached Images
Click image for larger version - Name: Image1.jpg, Views: 128, Size: 42.87 KB  Click image for larger version - Name: Image2.jpg, Views: 103, Size: 21.31 KB 

4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #21 
Q20. I am doubtful about the Touch panel of my Module, How can i test it??

Ans. Check the Q19 and make sure you bought a Touch module. To test the Touch follow the steps below.

-Make sure you have an SGC PmmC file loaded to the display module.
-Fat format your uSD card.
-Extract the autoexec.4DS file from the ZIP folder and copy it to the uSD card.
-Load the uSD card to the module.
-Now, power up.

You would see a white crosshair, touch it and a red pixel would be drawn. There would be 5 crosshairs to test touch accuracy. This will prove the Touch is working or not.

 
Attached Files
zip autoexec.zip (309 Bytes, 271 views)

4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #22 

Q21. What are the maximum frame rates can I get from a PICASO-SGC based Display module?

Ans. Most of 4D Systems PICASO-SGC based Display modules have 240x320 resolution Displays. You can get about 11-12 fps using Display Video-Animation Clip from Card (RAW) - @56hex command with Videos/Animations saved on the uSD card in Raw format through the Graphics Composer.

For more information refer to the latest version of PICASO-SGC-COMMAND-SIS

4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #23 
Q22.  Why are there three PmmCs for the uLCD-24PT(SGC)? How do I know which one is for my uLCD-24PT(SGC) module?

Ans. There has been three variants of the uLCD-24PT(SGC) because of three variants of the Display Driver ICs. The three variants of the uLCD-24PT(SGC) can be identified by the warranty label on the back of the uSD socket.

uLCD-24PT is based on the oldest Display screen (OTM3225 Driver IC). The warranty label on the back of the uSD socket looks like the WarrantyLabel-24PT.png image attached. These modules should be loaded with the uLCD-24PTSGC-RXX.pmmc file.

uLCD-24NPT is based on the old Display screen (RM68050 Driver IC). The warranty label on the back of the uSD socket looks like the WarrantyLabel-24NPT.png image attached. These modules should be loaded with the uLCD-24PTNSGC-RXX.pmmc file.

uLCD-24PT-I is based on the new Display Screen (ILI9325 Driver IC). The warranty label on the back of the uSD socket looks like the WarrantyLabel-24PT-I.png image attached. These modules should be loaded with the uLCD-24PT-I-SGC-RXX.pmmc file.

Attached Images
Click image for larger version - Name: WarrantyLabel-24NPT.png, Views: 21, Size: 4.24 KB  Click image for larger version - Name: WarrantyLabel-24PT.png, Views: 19, Size: 3.14 KB  Click image for larger version - Name: WarrantyLabel-24PT-I.png, Views: 25, Size: 4.54 KB 

4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #24 
Q23.  Why are there two PmmCs for the uLCD-28PT(SGC)? How do I know which one is for my uLCD-28PT(SGC) module?

Ans. There has been two variants of the uLCD-28PT(SGC) because of two variants of the Display Driver ICs. The two variants of the uLCD-28PT(SGC) can be identified by the warranty label on the back of the uSD socket.

uLCD-28PT is based on the old Display screen. The warranty label on the back of the uSD socket looks like the WarrantyLabel-28PT.png image attached. These modules should be loaded with the uLCD-28PTSGC-RXX.pmmc file.

uLCD-28PT-I is based on the new Display Screen. The warranty label on the back of the uSD socket looks like the WarrantyLabel-28PT-I.png image attached. These modules should be loaded with the uLCD-28PT-I-SGC-RXX.pmmc file.

Attached Images
Click image for larger version - Name: WarrantyLabel-28PT.png, Views: 17, Size: 3.14 KB  Click image for larger version - Name: WarrantyLabel-28PT-I.png, Views: 23, Size: 4.54 KB 

4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #25 
Q24.  Why are there two PmmCs for the uLCD-32PT(SGC)? How do I know which one is for my uLCD-32PT(SGC) module?

Ans. There has been two variants of the uLCD-32PT(SGC) because of two variants of the Display Driver ICs. The two variants of the uLCD-32PT(SGC) can be identified by the warranty label on the back of the uSD socket.

uLCD-32PT is based on the old Display screen. The warranty label on the back of the uSD socket looks like the WarrantyLabel-32PT.png image attached. These modules should be loaded with the uLCD-32PTSGC-RXX.pmmc file.

uLCD-32PT-I is based on the new Display Screen. The warranty label on the back of the uSD socket looks like the WarrantyLabel-32PT-I.png image attached. These modules should be loaded with the uLCD-32PT-I-SGC-RXX.pmmc file.

Attached Images
Click image for larger version - Name: WarrantyLabel-32PT-I.png, Views: 212, Size: 4.54 KB  Click image for larger version - Name: WarrantyLabel-32PT.png, Views: 39, Size: 3.14 KB 

Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Powered by Website Toolbox - Create a Website Forum Hosting, Guestbook Hosting, or Website Chat Room for your website.