GOLDELOX Displays (-GMD1 and –G1) and PICASO Displays (PMD2 and PMD3)

Serial platform (serial PmmC)

Graphics Composer CAN write directly to uSD card installed in display (Option 1: SLOW) using USB to serial bridge on PC COM port.

Note: "Device Info" is meaningful ONLY in this configuration. "Device" refers to the connected display, not the uSD card

Graphics Composer CAN ALSO write to SD card reader attached to PC (Option 2: FAST) as a removable drive, i.e. drive letter M:



Using the Graphics Composer software:

Step 1 Select "Device, Load Options, Com Port/Drive" and select either the COM port (Option 1 above) where the display is attached

OR

the drive letter (Option 2 above) that the uSD card reader is assigned to

Step 2 Select "Device, Load Options, Write Command Block, Yes"

Writes block of serial commands at location zero of uSD card

First 2MB of uSD card reserved for this command block

Permits AutoRUN slideshow by shorting RUN jumper

The Command Block consists of the "Cmd(XX)" lines found in the .txt file created by the Graphics Composer

Step 3 Select "Device, Load Options, Image Format, Pixel Data Only(V1)"

Step 4 Build a list of Images, Movies, Delays, Etc. using Graphics Composer

Step 5 Select "Device, Load" to create the Command Block and the raw image/video pixel data on the uSD card

Step 6 After the “Load Complete” message, remove the uSD card from the card reader and insert the uSD card into uSD socket on the display (if not already inserted).

Step 7 Install shunt on RUN jumper on the back of the display and apply power and GND to the appropriate interface pins

The Command Block executes the commands stored at location zero on the uSD card and displays the slideshow that was built in the Graphics Composer and stored on the uSD card

OR

From your host processor, send the serial DisplayImage (@I) or DisplayVideo (@V) commands, to display any of the images stored on the uSD card.

The information needed to calculate the 3 byte sector address is found in the .txt file created by the Graphics Composer

Example: Location = 0x200000(2097152) note: the first image/video will always start at location 0x2000000

The value 0x200000 above is the absolute byte address of the image. This value must be converted to the 3 byte

Sector Address (hi:mid:lo) required by the DisplayImage or DisplayVideo commands.

To compute the sector address from the byte address above, divide the byte address by 512. In HEX, using the example above, 0x200000 / 0x200 = 0x1000. The 3 byte address to use in the above commands would then be:

0x00, 0x10, 0x00






GOLDELOX Displays (-GMD1 and –G1) and PICASO Displays (-PMD2, -PMD3 and –P1 not using the FAT16 file system)

4DGL platform (4DGL PmmC)

Graphics Composer CANNOT write directly to uSD card installed in display using USB to serial bridge on PC COM port. You MUST use a uSD/SD card reader attached to your PC as a mapped drive letter and the Graphics Composer software to load image/video data for display.

Note: The Graphics Composer’s "Device Info" is meaningless in this configuration. "Device" refers to a connected display, not the uSD card/card reader.

Using the Graphics Composer software:

Step 1 Select "Device, Load Options, Com Port/Drive" and select the drive letter that the uSD card reader is assigned to

Step 2 Select "Device, Load Options, Write Command Block, No"

4DGL does not need nor can it use the command block written to the uSD card, but creating the Command Block makes it available for 4DGL programs to read and parse if wanted.

Step 3 Select "Device, Load Options, Image Format, Image & Pixel Data Only(V2)"

Step 4 Build a list of Images, Movies, Delays, Etc. using Graphics Composer

Step 5 Select "Device, Load" to raw image/video pixel data and image/video header information on the uSD card

Step 6 After the “Load Complete” message, remove the uSD card from the card reader and insert the uSD card into uSD socket on the display.

Using the 4DGL Workshop software:

Step 7 Create a 4DGL program to access and display the images stored on the uSD card. See sample 4DGL program included in 4DGL Workshop install: ImageDemo1.4dg

Example:

uSD_SetSector(0x0000, 0x1000);

uSD_Image(0, 0);

commands, to display any of the images stored on the uSD card. The description of the uSD_SetSector command follows:

uSD_SetSector(SectHiWord, SectLoWord);

Description:
Sets uSD card internal Sector address pointer for sector block access. Each sector = 512 bytes.

Parameters:
SectHiWord : specifies the high word (upper 2 bytes) of a 4 byte uSD card sector address location.
SectLoWord : specifies the low word (lower 2 bytes) of a 4 byte uSD card sector address location.

The information needed to calculate the 4 byte sector address is found in the ProjectName.txt file created by the Graphics Composer

Example: Location = 0x200000(2097152) note: the first image/video will always start at location 0x2000000

The value 0x200000 above is the absolute byte address of the image. This value must be converted to the 4 byte Sector Address (SectHiWord, SectLoWord) required by the uSD_SetSector command.

To compute the sector address from the byte address above, divide the byte address by 512. In HEX, using the example above, 0x200000 / 0x200 = 0x1000. The 4 byte address to use in the above commands would then be:

uSD_SetSector(0x0000, 0x1000);




PICASO Displays (-PMD2, -PMD3 and –P1 and using the FAT16 file system)

4DGL platform (4DGL PmmC)

When using the FAT16 file system to store images, the Graphics Composer software DOES NOT write directly to uSD card reader attached to your PC as a mapped drive letter. The Graphics Composer software creates two files on your PC that can then be copied to the uSD card installed in a card reader attached to your PC.

Note: The Graphics Composer’s "Device Info" is meaningless in this configuration. "Device" refers to a connected display, not the uSD card/card reader.

Insure that the uSD card that you are using has been formatted as FAT16 (or just “FAT” in some Windows Format dialogs), NOT FAT32 which is the default format for most new cards.

Using the Graphics Composer software:

Step 1 Select "Device, Load Options, Com Port/Drive, GCI File” from the dropdown list.

Step 2 Select "Device, Load Options, Write Command Block, Yes"

4DGL does not need nor can it use the command block written to the uSD card, but creating the Command Block makes it available for 4DGL programs to read and parse if wanted.

Step 3 Select "Device, Load Options, Image Format, Image & Pixel Data Only(V2)"

Step 4 Build a list of Images, Movies, Delays, Etc. using Graphics Composer

Step 5 Select "Device, Load" to raw image/video pixel data and image/video header information on the uSD card

Step 6 After the “Load Complete” message, copy the two files (ProjectName.gci and ProjectName.dat) to the uSD card attached to your PC (these files will be created in the \ProjectName folder along with the ProjectName.txt file). Be sure that the files are copied to the root folder of the uSD card. 4DGL does not support sub-folders.

Using the 4DGL Workshop software:

Step 7 Create a 4DGL program to load the 4DGL ImageControl and display the images stored on the uSD card. See sample 4DGL programs included in 4DGL Workshop install: TestImageControl.4dg or TestImageControlNoTouch.4dg for details on how to use the ImageControl to control image/video display.