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 "GOLDELOX-SGC, Related Display Modules and Softwares" covers all the frequently asked questions related to,
  1. GOLDELOX-SGC processor
  2. uOLED-96-G1(SGC)
  3. uOLED-128-G1(SGC)
  4. uOLED-160-G1(SGC)
  5. DISP tool and GOLDELOX-SGC
  6. FONT tool and GOLDELOX-SGC
  7. FAT Controller tool and GOLDELOX-SGC
  8. Graphics Composer and GOLDELOX-SGC
  9. 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 GOLDELOX processor can be configured for SGC mode by simply loading an SGC PmmC file. Now, the processor becomes a GOLDELOX-SGC processor.

GOLDELOX-SGC processor or GOLDELOX-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 GOLDELOX-SGC product page.

4dTechSupport

Avatar / Picture

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

Ans. GOLDELOX, physically, is a single processor that can be configured for two modes SGC and GFX. In other words if you bought a GOLDELOX-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 GOLDELOX-SGC and GOLDELOX-GFX processor?

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

GOLDELOX-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 GOLDELOX-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 GOLDELOX-SGC processor or GOLDELOX-SGC Display Modules to be connected to the PC. See USB to Serial Converter section to find how you should connect the GOLDELOX-SGC/Display module to the PC.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #6 
Q05. What is a RUN Jumper and Auto-Slide-show?

Ans. Auto-slide-show is a feature exclusive to GOLDELOX-SGC based modules. To run an Auto-slide-show you need,

-to have the GOLDELOX module loaded with an SGC PmmC file.
-to have Graphics Composer to develop the slide show. 
-with "Serial Command Platform"  selected in the Load options before loading to the card.
-microSD card loaded to the module.
-Run Jumper shunt installed
-power supplied.

Run jumper activates the Auto-slide-show on Power up/Reset. It's simply a jumper (short) between IO1 pin and ground.

Note: Mark sure you use the 2.1.3.0 version of the Graphics Composer that allows to build AutoSlide shows. This version is available here.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #7 
Q06. Can I use a RUN Jumper to activate 4DSL Scripts?

Ans. Yes, just like Auto-slide-show, if you have a 4DSL script loaded to the microSD card it will be activated with the Run jumper shunt installed on Power up/Reset. If you do not want to activate the Script automatically, you can send Serial command from the host controller as well to activate it (Note: The Run jumper should not be installed in this case). For details, refer to the GOLDELOX-SGC-COMMANDS-SIS-revX.pdf.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #8 
Q07. What is the role of 4D Workshop3 IDE as a Development/AID tools for GOLDELOX-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. The image of the 4DSL commands can be written on the uSD card through the 4D Workshop3 IDE.

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

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #9 
Q08. 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.

With Run mode, script is run from within the Workshop3 IDE with 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
 #10 
Q09. 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
 #11 
Q10. I am confused with the number of extensions used with a 4DSL Script?

Ans.There are following extensions aasociated 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.

".WsScrpObj" When you compile a script a script object file is produced.

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
 #12 
Q11. How can i use a Script written on the uSD card?

Ans. You can write the script on to the uSD card in Raw form.

-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

-Make sure the module is loaded with appropriate SGC PmmC file.
-Make sure the module is connected to the PC and uSD card is plugged in to the module.
-Compile and Download the script to the uSD card .
-Now your default script start location is 0x400 which you need to refer to using @P Run Script command to start execution.

Note: If you write the script to location 00 of the uSD card, with the run jumper installed on the GOLDELOX-SGC based Display module,  it will execute automatically on power up.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #13 
Q12. Why are there two PmmCs for the uOLED-128-G1(SGC) module?

Ans. uOLED-128-G1 module was initially manufactured with UG-2828GDEDF01 display (Driver IC SSD1339). That particular display was discontinued early 2010. Therefore an equivalent display UG-2828GDEDF11 (Driver IC SSD1351) was introduced and is still in production.

uOLED-128-G1SGC-RXX.pmmc is for the Display modules with older displays (Display UG-2828GDEDF01, Driver IC: SSD1339)
uOLED-128-G1hSGC-RXX.pmmc is for the Display modules with newer displays (Display UG-2828GDEDF11, Driver IC: SSD1351)
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #14 
Q13. How would i know if i have a uOLED-128G1 or uOLED-128-G1h?

Ans. uOLED-128-G1 boards with Rev1g and below are with older displays (Display UG-2828GDEDF01, Driver IC SSD1339), while the boards with Rev1h and above are with the newer displays (Display UG-2828GDEDF11, Driver IC SSD1351).

Check the back of the board, see the board revision as shown in images attached.

Attached Images
Click image for larger version - Name: Rev1h.jpg, Views: 167, Size: 42.58 KB  Click image for larger version - Name: Rev1i.jpg, Views: 161, Size: 39.91 KB 

4dTechSupport

Avatar / Picture

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

Ans. The display used on the uLCD-144 initially was with ST7735 Driver IC which is discontinued. It was discontinued by the end of 2010. Therefore, an equivalent Driver IC ST7735R is used which has slightly different settings. That is why there are two PmmCs for uLCD-144(SGC) display module.

uLCD-144SGC-R17.PMMC  (Display Driver IC: ST7735)
uLCD-144rSGC-R17.PMMC (Display Driver IC: ST7735R)
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #16 
Q15. How would i know if i have a u uLCD-144(SGC) or a uLCD-144r(SGC)?

Ans. Check the image attached. On the warranty label there is an "R" written in Block letter to specify a uLCD-144r module. The warranty labels are pasted on top of the uSD connectors on the module.

Attached Images
Click image for larger version - Name: uLCD-144r.JPG, Views: 103, Size: 29.20 KB 

4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #17 
Q16. I received a uLCD-144(SGC) without a warranty label, How would i know if i have a uLCD-144(SGC) or a uLCD-144r(SGC)?

Ans. There is no other way to know except trying both PmmCs. There is no harm in doing that. The wrong one would only let the module display White back-light or scrambled text on the screen. The correct one would display the proper splash screen.
4dTechSupport

Avatar / Picture

Moderator
Registered: 23/02/09
Posts: 379
 #18 
Q17. 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
 #19 
Q18. 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 GOLDELOX-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
 #20 
Q19. 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
GOLDELOX-SGC-COMMAND-SIS RXX.pdf document.
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.