Skip to content

RGBtoHDMI CPLD Quick Start Guide

solarmon edited this page Sep 20, 2021 · 16 revisions

RGBtoHDMI CPLD Quick Start Guide

Scan the following QR code to get a link to this page:

https://github.com/solarmon/RGBtoHDMI/wiki/RGBtoHDMI-CPLD-Quick-Start-Guide

Requirements

  • A Raspberry Pi Zero, one of:

    • Rasberry Pi Zero 1.3 (No Wireless, No Header)
    • Rasberry Pi Zero W (Wireless, No Header)
    • Rasberry Pi Zero WH (Wireless, Header)

Note: The RGBtoHDMI solution does not use or require wireless, but getting the WH version may be the easiest and most convenient. If there is no header, you will have to source and solder it on yourself.

  • Micro SD card

    • for use in the Raspberry Pi for the firmware and for storing screen captures. (short press the menu button to take a screen capture, in Single Button Mode)
    • The RGBtoHDMI Raspberry Pi software takes up less than 50MB of space, so most micro SD card storage sizes will be suitable.
  • Mini HDMI adapter/cable

    • The Raspberry Pi Zero has a mini HDMI connector, and this needs to be presented to the outside of the Amiga case.

Pi Orientation

Please make sure you orientate the Pi correctly on to the RGBtoHDMI boards, otherwise you may damage it.

For RGBtoHDMI Amiga Denise DIP CPLD

For RGBtoHDMI Amiga Denise CPLD FFC

FFC Flex Cable and Connector

When connecting the FFC Flex cable to the FFC connector the blue side of it must be facing up.

Preparing the micro SD card

  • Make sure the micro SD card is formatted as FAT32.

  • Download the latest Raspberry Pi stable firmware from:

https://github.com/hoglet67/RGBtoHDMI/releases

or the beta releases from:

https://github.com/IanSB/RGBtoHDMI/releases

  • Unzip the file and copy the whole contents of it to the root of the micro SD card.

Single Button Mode

There are three menu buttons (BT1, BT2, BT3) and the RGBtoHDMI CPLD firmware is in Three Button Mode by default. Each menu button requires a momentary switch and is active low (short to ground).

However, if you are using only a single menu button (BT1) you need to enable Single Button Mode for these CPLD based RGBtoHDMI boards. Otherwise, the default for CPLD boards is three button mode.

The rest of this guide is based on Single Button Mode.

  • Edit the following file on the micro SD card:

Profiles/Default.txt

set the 'single_button_mode' option to 1:

single_button_mode=1

Don't forget to save the file!

Note: In single button mode (BT1) the the following actions are:

  • With no OSD menu showing, a short button press to takes a screen capture.
  • With no OSD menu showing, a long button press displays the OSD menu.
  • Whilst in the OSD menu, a short button press moves down to the next menu items.
  • Whilst in the OSD menu, a long button press to 'select' the currently highlighted menu item.

CPLD Recovery Menu

This step is required only if the CPLD chip has not already been programmed.

If the CPLD chip has not been previously programmed, when you boot up the Pi (with HDMI connected) you should see the CPLD Recovery screen appear.

Note: Sometimes the recovery menu does not appear (screen is blank) you need to reboot again until it does appear. However, sometimes it can still stay blank even after a reboot. BUT you can still program it by doing the button menu actions blindly.

• You should see the CPLD Recovery screen.

  • Use short button presses to highlight 6-12_BIT_RGB_CPLD_v92 (or 6-12_BIT_RGB_CPLD_v94 in newer versions)
  • Long button press to select 6-12_BIT_RGB_CPLD_v92 (or 6-12_BIT_RGB_CPLD_v94 in newer versions)
  • Long button select again to confirm

It should cycle through these different actions:

  • Erasing
  • Programming
  • Verifying
  • Reboot

Once the CPLD chip is programmed, you can now proceed with the initial setup and configuration.

Profile selection

By default, the RGBtoHDMI does not have the right profile for use in an Amiga. You need to make sure the Amiga profile is used.

  • In OSD menu, short button press to got to Profile.
  • Long button press to select Profile.
  • Short button press until it changes to Amiga. (Default is Acorn Electron, so it should be the next one).
  • Long button press to go back up the OSD menu.

Auto Calibrate Video Settings

Even when the correct Amiga profile is used, it is may not be calibrated for your Amiga. An auto calibration is required.

  • In OSD menu, use short button presses until you get to "Auto Calibrate Video Settings"
  • Long button press to select it.
  • Long button press again to confirm.

Save configuration

Make sure the changes have been saved to your Raspberry Pi.

  • In OSD menu, Use short button presses until you get to "Save Configuration"
  • Long button press to select "Save Configuration"
  • Short button press to get to 'Return' and long press to exit the OSD menu.

Issues and Support

If you have any issues with the initial setup and use of this RGBtoHDMI board then please raise a ticket at:

https://github.com/solarmon/RGBtoHDMI/issues

Clone this wiki locally