RGB to HDMI using a Pi Zero and a small CPLD

discuss both original and modern hardware for the bbc micro/electron
User avatar
IanB
Posts: 545
Joined: Sun Sep 04, 2011 8:28 pm
Location: South Wales
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by IanB » Sat Mar 21, 2020 3:50 pm

BeebMaster wrote:
Sat Mar 21, 2020 11:34 am
That last part is probably beyond my powers, but before having done anything yet, things have taken a turn for the worst. Now when I switch on the Beeb, D1 and D2 come on with low brightness, then D1 goes off completely, D2 goes to its usual retina-destroying intensity, flicks after a moment, and stays on for about 3 seconds then back to low brightness. There's no picture on the monitor.
Can you get a menu on the screen? If not, try holding down the menu button during reset or power up for a few seconds and you should get a coloured screen, releasing menu will allow the bootup to continue. This will force the default screen resolution.

Is the CPLD very hot to touch? This can indicate that it's damaged which can be caused by shorts on it's output pins.

Finally, do you have one of these type of USB to TTL serial port interfaces:
https://thepihut.com/products/adafruit- ... rial-cable
It can be connected to the serial debug port to work out what's going on.

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sat Mar 21, 2020 7:50 pm

There's no output to the screen at all, as in the "no signal" message stays on screen and it eventually goes into standby. I'm going to try different cables to rule that out.

I'm also going to try a new card, I can put the 16GB card currently in situ to better use, I'll replace with one of the new 8GB ones just arrived here.

The CPLD isn't particularly hot, a bit warm. I've got a serial to USB adapter I use for BeebSCSI debugging, I think that will do the trick.

I've just looked at my captures from the end of January. It seems I got it right with graphics modes, but hadn't got it quite right yet with mode 7, so something has gone very wrong since then whilst it hasn't been in use.
capture25.png
capture34.png
Image

User avatar
IanB
Posts: 545
Joined: Sun Sep 04, 2011 8:28 pm
Location: South Wales
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by IanB » Sat Mar 21, 2020 8:04 pm

BeebMaster wrote:
Sat Mar 21, 2020 7:50 pm
There's no output to the screen at all, as in the "no signal" message stays on screen and it eventually goes into standby. I'm going to try different cables to rule that out.
That sounds like it isn't even starting the Pi code.
BeebMaster wrote:
Sat Mar 21, 2020 7:50 pm
I've got a serial to USB adapter I use for BeebSCSI debugging, I think that will do the trick.
Hook it up to the serial debugging header and select 115200 baud, 8 data bits, 1 stop bit, no parity in your comms program
This is the typical output you should get:

Code: Select all

***********************RESET***********************
RGB to HDMI booted
Using PLLA as the sampling clock
PLLA: 2400.000000 ANA1 = 00144000
PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=2 PER=256 CCP2=256
PLLB: 2000.000024 ANA1 = 00144000
PLLB: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 ARM=2 SP0=256 SP1=256 SP2=256
PLLC: 2400.000000, ANA1 = 00144000
PLLC: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 CORE2=256 CORE1=256 PER=2 CORE0=2
PLLD: 2000.000024 ANA1 = 00144000
PLLD: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 DSI0=256 CORE=4 PER=4 DSI1=256
PLLH: 1314.999994 ANA1 = 00144000
PLLH: PDIV=1 NDIV=68 CTRL=00021044 FRAC=513365 AUX=256 RCAL=256 PIX=1 STS=528319
PLLA: 2400.000000 ANA1 = 00144000
PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=256 PER=4 CCP2=256
CPU speed detected as: 1000 Mhz
Keycount = 0
CPLD  Design: 6BIT_RGB
CPLD Version: 7.3
EMMC: BCM2708 controller power-cycled
Loading file /Palettes/Atom_MKII.bin
Loading file /Palettes/Atom_MKII_Full.bin
Loading file /Palettes/Atom_MKII_Plus.bin
Loading file /Palettes/Colour_Genie_N25.bin
Loading file /Palettes/Colour_Genie_S24.bin
Loading file /Palettes/Colour_Genie_S25.bin
Loading file /Palettes/Dragon-CoCo.bin
Loading file /Palettes/Dragon-CoCo_Emu.bin
Loading file /Palettes/Dragon-CoCo_Full.bin
Loading file /Palettes/MDA-Hercules.bin
Loading file /Palettes/Mono_(2_level).bin
Loading file /Palettes/Mono_(3_level).bin
Loading file /Palettes/Mono_(4_level).bin
Loading file /Palettes/Mono_(6_level).bin
Loading file /Palettes/RGB.bin
Loading file /Palettes/RGBI.bin
Loading file /Palettes/RGBI_(CGA).bin
Loading file /Palettes/RGBI_(Spectrum).bin
Loading file /Palettes/RGBrgb_(Amstrad).bin
Loading file /Palettes/RGBrgb_(Spectrum).bin
Loading file /Palettes/RrGgBb_(EGA).bin
Loading file /Palettes/Spectrum_48K_9Col.bin
FOUND RESOLUTION: 1024x600@50Hz
FOUND RESOLUTION: 1024x600@60Hz
FOUND RESOLUTION: 1024x768@50Hz
FOUND RESOLUTION: 1024x768@60Hz
FOUND RESOLUTION: 1280x1024@50Hz
FOUND RESOLUTION: 1280x1024@60Hz
FOUND RESOLUTION: 1280x720@50Hz
FOUND RESOLUTION: 1280x720@60Hz
FOUND RESOLUTION: 1280x800@50Hz
FOUND RESOLUTION: 1280x800@60Hz
FOUND RESOLUTION: 1368x768@50Hz
FOUND RESOLUTION: 1368x768@60Hz
FOUND RESOLUTION: 1600x1200@50Hz
FOUND RESOLUTION: 1600x1200@60Hz
FOUND RESOLUTION: 1920x1080@50Hz
FOUND RESOLUTION: 1920x1080@60Hz
FOUND RESOLUTION: 1920x1200@50Hz
FOUND RESOLUTION: 1920x1200@60Hz
FOUND RESOLUTION: 640x480@50Hz
FOUND RESOLUTION: 640x480@60Hz
FOUND RESOLUTION: 720x576@50Hz
FOUND RESOLUTION: 800x480@50Hz
FOUND RESOLUTION: 800x480@60Hz
FOUND RESOLUTION: 800x600@50Hz
FOUND RESOLUTION: 800x600@60Hz
FOUND RESOLUTION: Default@60Hz
Loading file /config.txt
Read resolution: 1600x1200@50Hz
Match resolution: 12 1600x1200@50Hz
Read scaling: 0
Read interface_4 = 2
Loading file: /Profiles/6BIT_RGB/Default.txt
FOUND PROFILE: Atom
FOUND PROFILE: BBC_Micro
FOUND PROFILE: BBC_Micro_24MHz
FOUND PROFILE: Camputers_Lynx
FOUND SUB-FOLDER: Colour Test
FOUND PROFILE: Colour_Genie
FOUND PROFILE: Commodore_128-80col
FOUND PROFILE: Communicator
FOUND PROFILE: Communicator_Mode7
FOUND PROFILE: Custom
FOUND PROFILE: Electron
FOUND SUB-FOLDER: Oak_OTIVGA
FOUND PROFILE: Oric
FOUND PROFILE: QL
FOUND PROFILE: Spectrum_128_+2
FOUND SUB-FOLDER: Standard_PC
FOUND PROFILE: Teletext
FOUND SUB-FOLDER: Tseng_ET3000AX
FOUND PROFILE: ZX80
Loading file /profile_6BIT_RGB.txt
Setting profile to 2
Loading file: /Profiles/6BIT_RGB/BBC_Micro_24MHz.txt
Setting subprofile to 0
Profile = BBC_Micro_24MHz
Analyze Csync: polarity unchanged (non-inverted)
Detected polarity state at startup = Comp (Separate H & V CPLD)
Keycount = 0
-----------------------LOOP------------------------
Analyze Csync: polarity unchanged (non-inverted)
Detected polarity state = 4, Comp (Separate H & V CPLD)
        clkinfo.clock = 16000000 Hz
     clkinfo.line_len = 1024
    clkinfo.clock_ppm = 5000 ppm
    Nominal 100 lines = 6400000 ns
     Actual 100 lines = 6403259 ns
          Clock error = 509 PPM
 Error adjusted clock = 15991856 Hz
 Target PLL frequency = 2302827336 Hz, prediv = 1, PER = 4
 Actual PLL frequency = 2302827336 Hz
        GPCLK Divisor = 6
      Lines per frame = 625, (625)
Actual frame time = 40020506 ns (interlaced), line time = 64032 ns
Window: H = 63712 to 64352, V = 19910202 to 20110304, S = Comp
Width or Height differ from last FB: Setting dummy 64x64 framebuffer
Overscan L=0, R=0, T=0, B=0
Initialised Framebuffer
Size: 800x600
Pitch: 800 bytes
Framebuffer address: DE000000
RAM benchmark: Main memory = 801338 ns, Screen memory = 26545315 ns
Locked

BTW there is a newer RC8 available now:
https://github.com/hoglet67/RGBtoHDMI/releases

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sat Mar 21, 2020 8:16 pm

Right, I'm back in business. New card written, but nothing happens unless I press the reset switch, then I get the four colours and the Beeb screen (still with the pixel fault I had before it went wacky). If I put the old card back in, it starts automatically. Back to the new card, and reset is the only thing that starts it. I'll do some debug next.
Image

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sat Mar 21, 2020 8:26 pm

It's gone duff again, this is still with the new card. I don't get any picture at all, even after pressing reset:

Code: Select all

Sat,21 Mar 2020.20:21:52.382763 ***********************RESET***********************
Sat,21 Mar 2020.20:21:52.383285 RGB to HDMI booted
Sat,21 Mar 2020.20:21:52.383441 Using PLLA as the sampling clock
Sat,21 Mar 2020.20:21:52.383579 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:21:52.383718 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=2 PER=256 CCP2=256
Sat,21 Mar 2020.20:21:52.383853 PLLB: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:21:52.383985 PLLB: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 ARM=2 SP0=256 SP1=256 SP2=256
Sat,21 Mar 2020.20:21:52.384114 PLLC: 2400.000000, ANA1 = 00144000
Sat,21 Mar 2020.20:21:52.384244 PLLC: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 CORE2=256 CORE1=256 PER=2 CORE0=2
Sat,21 Mar 2020.20:21:52.384374 PLLD: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:21:52.430836 PLLD: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 DSI0=256 CORE=4 PER=4 DSI1=256
Sat,21 Mar 2020.20:21:52.431109 PLLH: 864.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:21:52.431249 PLLH: PDIV=1 NDIV=45 CTRL=0002102d FRAC=0 AUX=4 RCAL=256 PIX=256 STS=527597
Sat,21 Mar 2020.20:21:52.431384 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:21:52.431528 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=256 PER=4 CCP2=256
Sat,21 Mar 2020.20:21:52.431690 CPU speed detected as: 1000 Mhz
Sat,21 Mar 2020.20:21:52.431837 Keycount = 0
Sat,21 Mar 2020.20:21:52.431975 CPLD  Design: Legacy_3BIT
Sat,21 Mar 2020.20:21:52.432116 CPLD Version: 2.1
Sat,21 Mar 2020.20:21:52.446721 EMMC: BCM2708 controller power-cycled
Sat,21 Mar 2020.20:21:53.120497 Loading file /Palettes/Atom_MKII.bin
Sat,21 Mar 2020.20:21:53.120617 Loading file /Palettes/Atom_MKII_Full.bin
Sat,21 Mar 2020.20:21:53.120663 Loading file /Palettes/Atom_MKII_Plus.bin
Sat,21 Mar 2020.20:21:53.120707 Loading file /Palettes/Colour_Genie_N25.bin
Sat,21 Mar 2020.20:21:53.120750 Loading file /Palettes/Colour_Genie_S24.bin
Sat,21 Mar 2020.20:21:53.120793 Loading file /Palettes/Colour_Genie_S25.bin
Sat,21 Mar 2020.20:21:53.120836 Loading file /Palettes/Dragon-CoCo.bin
Sat,21 Mar 2020.20:21:53.120879 Loading file /Palettes/Dragon-CoCo_Emu.bin
Sat,21 Mar 2020.20:21:53.120921 Loading file /Palettes/Dragon-CoCo_Full.bin
Sat,21 Mar 2020.20:21:53.120964 Loading file /Palettes/MDA-Hercules.bin
Sat,21 Mar 2020.20:21:53.121007 Loading file /Palettes/Mono_(2_level).bin
Sat,21 Mar 2020.20:21:53.194152 Loading file /Palettes/Mono_(3_level).bin
Sat,21 Mar 2020.20:21:53.194259 Loading file /Palettes/Mono_(4_level).bin
Sat,21 Mar 2020.20:21:53.194303 Loading file /Palettes/Mono_(6_level).bin
Sat,21 Mar 2020.20:21:53.194345 Loading file /Palettes/RGB.bin
Sat,21 Mar 2020.20:21:53.194388 Loading file /Palettes/RGBI.bin
Sat,21 Mar 2020.20:21:53.194430 Loading file /Palettes/RGBI_(CGA).bin
Sat,21 Mar 2020.20:21:53.194473 Loading file /Palettes/RGBI_(Spectrum).bin
Sat,21 Mar 2020.20:21:53.194516 Loading file /Palettes/RGBrgb_(Amstrad).bin
Sat,21 Mar 2020.20:21:53.194558 Loading file /Palettes/RGBrgb_(Spectrum).bin
Sat,21 Mar 2020.20:21:53.194601 Loading file /Palettes/RrGgBb_(EGA).bin
Sat,21 Mar 2020.20:21:53.194643 Loading file /Palettes/Spectrum_48K_9Col.bin
Sat,21 Mar 2020.20:21:53.194686 FOUND RESOLUTION: 1024x600@50Hz
Sat,21 Mar 2020.20:21:53.237800 FOUND RESOLUTION: 1024x600@60Hz
Sat,21 Mar 2020.20:21:53.237962 FOUND RESOLUTION: 1024x768@50Hz
Sat,21 Mar 2020.20:21:53.238010 FOUND RESOLUTION: 1024x768@60Hz
Sat,21 Mar 2020.20:21:53.238054 FOUND RESOLUTION: 1280x1024@50Hz
Sat,21 Mar 2020.20:21:53.238098 FOUND RESOLUTION: 1280x1024@60Hz
Sat,21 Mar 2020.20:21:53.238142 FOUND RESOLUTION: 1280x720@50Hz
Sat,21 Mar 2020.20:21:53.238186 FOUND RESOLUTION: 1280x720@60Hz
Sat,21 Mar 2020.20:21:53.238231 FOUND RESOLUTION: 1280x800@50Hz
Sat,21 Mar 2020.20:21:53.238277 FOUND RESOLUTION: 1280x800@60Hz
Sat,21 Mar 2020.20:21:53.238321 FOUND RESOLUTION: 1368x768@50Hz
Sat,21 Mar 2020.20:21:53.238366 FOUND RESOLUTION: 1368x768@60Hz
Sat,21 Mar 2020.20:21:53.238410 FOUND RESOLUTION: 1600x1200@50Hz
Sat,21 Mar 2020.20:21:53.238454 FOUND RESOLUTION: 1600x1200@60Hz
Sat,21 Mar 2020.20:21:53.238498 FOUND RESOLUTION: 1920x1080@50Hz
Sat,21 Mar 2020.20:21:53.238542 FOUND RESOLUTION: 1920x1080@60Hz
Sat,21 Mar 2020.20:21:53.285712 FOUND RESOLUTION: 1920x1200@50Hz
Sat,21 Mar 2020.20:21:53.286110 FOUND RESOLUTION: 1920x1200@60Hz
Sat,21 Mar 2020.20:21:53.286321 FOUND RESOLUTION: 640x480@50Hz
Sat,21 Mar 2020.20:21:53.286516 FOUND RESOLUTION: 640x480@60Hz
Sat,21 Mar 2020.20:21:53.286697 FOUND RESOLUTION: 720x576@50Hz
Sat,21 Mar 2020.20:21:53.286871 FOUND RESOLUTION: 800x600@50Hz
Sat,21 Mar 2020.20:21:53.287050 FOUND RESOLUTION: 800x600@60Hz
Sat,21 Mar 2020.20:21:53.287223 FOUND RESOLUTION: Default@60Hz
Sat,21 Mar 2020.20:21:53.287398 Loading file /config.txt
Sat,21 Mar 2020.20:21:53.287568 Read resolution: Default@60Hz
Sat,21 Mar 2020.20:21:53.287736 Read scaling: 0
Sat,21 Mar 2020.20:21:53.287908 Loading file: /Profiles/Legacy_3BIT/Default.txt
Sat,21 Mar 2020.20:21:53.335028 FOUND PROFILE: Atom_v10-v20
Sat,21 Mar 2020.20:21:53.335337 FOUND PROFILE: Atom_v21-v23
Sat,21 Mar 2020.20:21:53.335575 FOUND PROFILE: Atom_v24-v62
Sat,21 Mar 2020.20:21:53.335781 FOUND PROFILE: BBC_Micro_v10-v20
Sat,21 Mar 2020.20:21:53.336028 FOUND PROFILE: BBC_Micro_v21-v23
Sat,21 Mar 2020.20:21:53.336233 FOUND PROFILE: BBC_Micro_v24
Sat,21 Mar 2020.20:21:53.336417 FOUND PROFILE: BBC_Micro_v30-v62
Sat,21 Mar 2020.20:21:53.336612 FOUND SUB-FOLDER: Colour Test
Sat,21 Mar 2020.20:21:53.336794 Loading file /profile_Legacy_3BIT.txt
Sat,21 Mar 2020.20:21:53.336987 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
Sat,21 Mar 2020.20:21:53.337169 Setting profile to 4
Sat,21 Mar 2020.20:21:53.337351 Loading file: /Profiles/Legacy_3BIT/BBC_Micro_v21-v23.txt
Sat,21 Mar 2020.20:21:53.337533 Setting subprofile to 0
Sat,21 Mar 2020.20:21:53.337711 Profile = BBC_Micro_v21-v23
Sat,21 Mar 2020.20:21:53.350994 Detected polarity state at startup = Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:21:53.393817 Keycount = 0
Sat,21 Mar 2020.20:21:53.394134 -----------------------LOOP------------------------
Sat,21 Mar 2020.20:21:53.394357 Detected polarity state = C, Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:21:53.394516         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:21:53.394613      clkinfo.line_len = 768
Sat,21 Mar 2020.20:21:53.394746     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:21:53.436801     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:21:53.437010      Actual 100 lines = 6399996 ns
Sat,21 Mar 2020.20:21:53.437125           Clock error = 0 PPM
Sat,21 Mar 2020.20:21:53.437209  Error adjusted clock = 12000007 Hz
Sat,21 Mar 2020.20:21:53.437294  Target PLL frequency = 2304001440 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:21:53.437373  Actual PLL frequency = 2304001440 Hz
Sat,21 Mar 2020.20:21:53.437452         GPCLK Divisor = 6
Sat,21 Mar 2020.20:21:53.518828       Lines per frame = 625, (625.001)
Sat,21 Mar 2020.20:21:53.518962 Actual frame time = 40000101 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:21:53.519079 Window: H = 63680 to 64320, V = 19900050 to 20100050, S = Comp
Sat,21 Mar 2020.20:21:53.548836 Width or Height differ from last FB: Setting dummy 64x64 framebuffer
Sat,21 Mar 2020.20:21:53.578891 Initialised Framebuffer
Sat,21 Mar 2020.20:21:53.579031 Size: 1920x8192 
Sat,21 Mar 2020.20:21:53.579100 Pitch: 1920 bytes
Sat,21 Mar 2020.20:21:53.579167 Framebuffer address: DE000000
Sat,21 Mar 2020.20:21:53.610938 RAM benchmark: Main memory = 801108 ns, Screen memory = 26623058 ns
Sat,21 Mar 2020.20:22:50.855390 ***********************RESET***********************
Sat,21 Mar 2020.20:22:50.855659 RGB to HDMI booted
Sat,21 Mar 2020.20:22:50.855805 Using PLLA as the sampling clock
Sat,21 Mar 2020.20:22:50.855943 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:22:50.856169 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=2 PER=256 CCP2=256
Sat,21 Mar 2020.20:22:50.856307 PLLB: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:22:50.856440 PLLB: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 ARM=2 SP0=256 SP1=256 SP2=256
Sat,21 Mar 2020.20:22:50.856572 PLLC: 2400.000000, ANA1 = 00144000
Sat,21 Mar 2020.20:22:50.856702 PLLC: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 CORE2=256 CORE1=256 PER=2 CORE0=2
Sat,21 Mar 2020.20:22:50.856832 PLLD: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:22:50.903582 PLLD: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 DSI0=256 CORE=4 PER=4 DSI1=256
Sat,21 Mar 2020.20:22:50.903820 PLLH: 864.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:22:50.903945 PLLH: PDIV=1 NDIV=45 CTRL=0002102d FRAC=0 AUX=4 RCAL=256 PIX=256 STS=527437
Sat,21 Mar 2020.20:22:50.904072 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:22:50.904199 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=256 PER=4 CCP2=256
Sat,21 Mar 2020.20:22:50.904325 CPU speed detected as: 1000 Mhz
Sat,21 Mar 2020.20:22:50.904451 Keycount = 0
Sat,21 Mar 2020.20:22:50.904580 CPLD  Design: Legacy_3BIT
Sat,21 Mar 2020.20:22:50.904701 CPLD Version: 2.1
Sat,21 Mar 2020.20:22:50.904823 EMMC: BCM2708 controller power-cycled
Sat,21 Mar 2020.20:22:51.593177 Loading file /Palettes/Atom_MKII.bin
Sat,21 Mar 2020.20:22:51.593297 Loading file /Palettes/Atom_MKII_Full.bin
Sat,21 Mar 2020.20:22:51.593344 Loading file /Palettes/Atom_MKII_Plus.bin
Sat,21 Mar 2020.20:22:51.593388 Loading file /Palettes/Colour_Genie_N25.bin
Sat,21 Mar 2020.20:22:51.593431 Loading file /Palettes/Colour_Genie_S24.bin
Sat,21 Mar 2020.20:22:51.593475 Loading file /Palettes/Colour_Genie_S25.bin
Sat,21 Mar 2020.20:22:51.593518 Loading file /Palettes/Dragon-CoCo.bin
Sat,21 Mar 2020.20:22:51.593561 Loading file /Palettes/Dragon-CoCo_Emu.bin
Sat,21 Mar 2020.20:22:51.593604 Loading file /Palettes/Dragon-CoCo_Full.bin
Sat,21 Mar 2020.20:22:51.593647 Loading file /Palettes/MDA-Hercules.bin
Sat,21 Mar 2020.20:22:51.593690 Loading file /Palettes/Mono_(2_level).bin
Sat,21 Mar 2020.20:22:51.666834 Loading file /Palettes/Mono_(3_level).bin
Sat,21 Mar 2020.20:22:51.666947 Loading file /Palettes/Mono_(4_level).bin
Sat,21 Mar 2020.20:22:51.666992 Loading file /Palettes/Mono_(6_level).bin
Sat,21 Mar 2020.20:22:51.667035 Loading file /Palettes/RGB.bin
Sat,21 Mar 2020.20:22:51.667078 Loading file /Palettes/RGBI.bin
Sat,21 Mar 2020.20:22:51.667120 Loading file /Palettes/RGBI_(CGA).bin
Sat,21 Mar 2020.20:22:51.667163 Loading file /Palettes/RGBI_(Spectrum).bin
Sat,21 Mar 2020.20:22:51.667206 Loading file /Palettes/RGBrgb_(Amstrad).bin
Sat,21 Mar 2020.20:22:51.667248 Loading file /Palettes/RGBrgb_(Spectrum).bin
Sat,21 Mar 2020.20:22:51.667292 Loading file /Palettes/RrGgBb_(EGA).bin
Sat,21 Mar 2020.20:22:51.667334 Loading file /Palettes/Spectrum_48K_9Col.bin
Sat,21 Mar 2020.20:22:51.667377 FOUND RESOLUTION: 1024x600@50Hz
Sat,21 Mar 2020.20:22:51.710602 FOUND RESOLUTION: 1024x600@60Hz
Sat,21 Mar 2020.20:22:51.710962 FOUND RESOLUTION: 1024x768@50Hz
Sat,21 Mar 2020.20:22:51.711254 FOUND RESOLUTION: 1024x768@60Hz
Sat,21 Mar 2020.20:22:51.711508 FOUND RESOLUTION: 1280x1024@50Hz
Sat,21 Mar 2020.20:22:51.711749 FOUND RESOLUTION: 1280x1024@60Hz
Sat,21 Mar 2020.20:22:51.711970 FOUND RESOLUTION: 1280x720@50Hz
Sat,21 Mar 2020.20:22:51.712188 FOUND RESOLUTION: 1280x720@60Hz
Sat,21 Mar 2020.20:22:51.712410 FOUND RESOLUTION: 1280x800@50Hz
Sat,21 Mar 2020.20:22:51.712626 FOUND RESOLUTION: 1280x800@60Hz
Sat,21 Mar 2020.20:22:51.712840 FOUND RESOLUTION: 1368x768@50Hz
Sat,21 Mar 2020.20:22:51.713055 FOUND RESOLUTION: 1368x768@60Hz
Sat,21 Mar 2020.20:22:51.713269 FOUND RESOLUTION: 1600x1200@50Hz
Sat,21 Mar 2020.20:22:51.713491 FOUND RESOLUTION: 1600x1200@60Hz
Sat,21 Mar 2020.20:22:51.713708 FOUND RESOLUTION: 1920x1080@50Hz
Sat,21 Mar 2020.20:22:51.713921 FOUND RESOLUTION: 1920x1080@60Hz
Sat,21 Mar 2020.20:22:51.758526 FOUND RESOLUTION: 1920x1200@50Hz
Sat,21 Mar 2020.20:22:51.758858 FOUND RESOLUTION: 1920x1200@60Hz
Sat,21 Mar 2020.20:22:51.759143 FOUND RESOLUTION: 640x480@50Hz
Sat,21 Mar 2020.20:22:51.759384 FOUND RESOLUTION: 640x480@60Hz
Sat,21 Mar 2020.20:22:51.759624 FOUND RESOLUTION: 720x576@50Hz
Sat,21 Mar 2020.20:22:51.759839 FOUND RESOLUTION: 800x600@50Hz
Sat,21 Mar 2020.20:22:51.760053 FOUND RESOLUTION: 800x600@60Hz
Sat,21 Mar 2020.20:22:51.760267 FOUND RESOLUTION: Default@60Hz
Sat,21 Mar 2020.20:22:51.760483 Loading file /config.txt
Sat,21 Mar 2020.20:22:51.760702 Read resolution: Default@60Hz
Sat,21 Mar 2020.20:22:51.760910 Read scaling: 0
Sat,21 Mar 2020.20:22:51.761113 Loading file: /Profiles/Legacy_3BIT/Default.txt
Sat,21 Mar 2020.20:22:51.807713 FOUND PROFILE: Atom_v10-v20
Sat,21 Mar 2020.20:22:51.807865 FOUND PROFILE: Atom_v21-v23
Sat,21 Mar 2020.20:22:51.807934 FOUND PROFILE: Atom_v24-v62
Sat,21 Mar 2020.20:22:51.808002 FOUND PROFILE: BBC_Micro_v10-v20
Sat,21 Mar 2020.20:22:51.808070 FOUND PROFILE: BBC_Micro_v21-v23
Sat,21 Mar 2020.20:22:51.808138 FOUND PROFILE: BBC_Micro_v24
Sat,21 Mar 2020.20:22:51.808205 FOUND PROFILE: BBC_Micro_v30-v62
Sat,21 Mar 2020.20:22:51.808273 FOUND SUB-FOLDER: Colour Test
Sat,21 Mar 2020.20:22:51.808340 Loading file /profile_Legacy_3BIT.txt
Sat,21 Mar 2020.20:22:51.808408 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
Sat,21 Mar 2020.20:22:51.808475 Setting profile to 4
Sat,21 Mar 2020.20:22:51.808543 Loading file: /Profiles/Legacy_3BIT/BBC_Micro_v21-v23.txt
Sat,21 Mar 2020.20:22:51.808611 Setting subprofile to 0
Sat,21 Mar 2020.20:22:51.808679 Profile = BBC_Micro_v21-v23
Sat,21 Mar 2020.20:22:51.854692 Detected polarity state at startup = Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:22:51.854982 Keycount = 0
Sat,21 Mar 2020.20:22:51.855054 -----------------------LOOP------------------------
Sat,21 Mar 2020.20:22:51.855102 Detected polarity state = C, Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:22:51.855160         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:22:51.855208      clkinfo.line_len = 768
Sat,21 Mar 2020.20:22:51.855257     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:22:51.897515     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:22:51.897625      Actual 100 lines = 6400048 ns
Sat,21 Mar 2020.20:22:51.897670           Clock error = 7 PPM
Sat,21 Mar 2020.20:22:51.897713  Error adjusted clock = 11999910 Hz
Sat,21 Mar 2020.20:22:51.897756  Target PLL frequency = 2303982720 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:22:51.897799  Actual PLL frequency = 2303982720 Hz
Sat,21 Mar 2020.20:22:51.897842         GPCLK Divisor = 6
Sat,21 Mar 2020.20:22:51.978609       Lines per frame = 625, (625.004)
Sat,21 Mar 2020.20:22:51.978724 Actual frame time = 40000093 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:22:51.978768 Window: H = 63680 to 64318, V = 19900046 to 20100046, S = Comp
Sat,21 Mar 2020.20:22:52.009625 Width or Height differ from last FB: Setting dummy 64x64 framebuffer
Sat,21 Mar 2020.20:22:52.038693 Initialised Framebuffer
Sat,21 Mar 2020.20:22:52.038840 Size: 1920x8192 
Sat,21 Mar 2020.20:22:52.038904 Pitch: 1920 bytes
Sat,21 Mar 2020.20:22:52.038952 Framebuffer address: DE000000
Sat,21 Mar 2020.20:22:52.070723 RAM benchmark: Main memory = 800874 ns, Screen memory = 26688793 ns
Sat,21 Mar 2020.20:23:17.902791 ***********************RESET***********************
Sat,21 Mar 2020.20:23:17.903058 RGB to HDMI booted
Sat,21 Mar 2020.20:23:17.903202 Using PLLA as the sampling clock
Sat,21 Mar 2020.20:23:17.903338 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:23:17.903472 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=2 PER=256 CCP2=256
Sat,21 Mar 2020.20:23:17.903608 PLLB: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:23:17.903741 PLLB: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 ARM=2 SP0=256 SP1=256 SP2=256
Sat,21 Mar 2020.20:23:17.903871 PLLC: 2400.000000, ANA1 = 00144000
Sat,21 Mar 2020.20:23:17.904001 PLLC: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 CORE2=256 CORE1=256 PER=2 CORE0=2
Sat,21 Mar 2020.20:23:17.904131 PLLD: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:23:17.945212 PLLD: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 DSI0=256 CORE=4 PER=4 DSI1=256
Sat,21 Mar 2020.20:23:17.945482 PLLH: 864.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:23:17.945624 PLLH: PDIV=1 NDIV=45 CTRL=0002102d FRAC=0 AUX=4 RCAL=256 PIX=256 STS=527437
Sat,21 Mar 2020.20:23:17.945758 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:23:17.945891 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=256 PER=4 CCP2=256
Sat,21 Mar 2020.20:23:17.946123 CPU speed detected as: 1000 Mhz
Sat,21 Mar 2020.20:23:17.946261 Keycount = 0
Sat,21 Mar 2020.20:23:17.946391 CPLD  Design: Legacy_3BIT
Sat,21 Mar 2020.20:23:17.946522 CPLD Version: 2.1
Sat,21 Mar 2020.20:23:17.961127 EMMC: BCM2708 controller power-cycled
Sat,21 Mar 2020.20:23:18.638002 Loading file /Palettes/Atom_MKII.bin
Sat,21 Mar 2020.20:23:18.638121 Loading file /Palettes/Atom_MKII_Full.bin
Sat,21 Mar 2020.20:23:18.638167 Loading file /Palettes/Atom_MKII_Plus.bin
Sat,21 Mar 2020.20:23:18.638211 Loading file /Palettes/Colour_Genie_N25.bin
Sat,21 Mar 2020.20:23:18.638254 Loading file /Palettes/Colour_Genie_S24.bin
Sat,21 Mar 2020.20:23:18.638296 Loading file /Palettes/Colour_Genie_S25.bin
Sat,21 Mar 2020.20:23:18.638339 Loading file /Palettes/Dragon-CoCo.bin
Sat,21 Mar 2020.20:23:18.638382 Loading file /Palettes/Dragon-CoCo_Emu.bin
Sat,21 Mar 2020.20:23:18.638425 Loading file /Palettes/Dragon-CoCo_Full.bin
Sat,21 Mar 2020.20:23:18.638467 Loading file /Palettes/MDA-Hercules.bin
Sat,21 Mar 2020.20:23:18.638510 Loading file /Palettes/Mono_(2_level).bin
Sat,21 Mar 2020.20:23:18.711586 Loading file /Palettes/Mono_(3_level).bin
Sat,21 Mar 2020.20:23:18.711725 Loading file /Palettes/Mono_(4_level).bin
Sat,21 Mar 2020.20:23:18.711829 Loading file /Palettes/Mono_(6_level).bin
Sat,21 Mar 2020.20:23:18.711910 Loading file /Palettes/RGB.bin
Sat,21 Mar 2020.20:23:18.711986 Loading file /Palettes/RGBI.bin
Sat,21 Mar 2020.20:23:18.712056 Loading file /Palettes/RGBI_(CGA).bin
Sat,21 Mar 2020.20:23:18.712126 Loading file /Palettes/RGBI_(Spectrum).bin
Sat,21 Mar 2020.20:23:18.712196 Loading file /Palettes/RGBrgb_(Amstrad).bin
Sat,21 Mar 2020.20:23:18.712266 Loading file /Palettes/RGBrgb_(Spectrum).bin
Sat,21 Mar 2020.20:23:18.712336 Loading file /Palettes/RrGgBb_(EGA).bin
Sat,21 Mar 2020.20:23:18.712405 Loading file /Palettes/Spectrum_48K_9Col.bin
Sat,21 Mar 2020.20:23:18.712475 FOUND RESOLUTION: 1024x600@50Hz
Sat,21 Mar 2020.20:23:18.755226 FOUND RESOLUTION: 1024x600@60Hz
Sat,21 Mar 2020.20:23:18.755421 FOUND RESOLUTION: 1024x768@50Hz
Sat,21 Mar 2020.20:23:18.755486 FOUND RESOLUTION: 1024x768@60Hz
Sat,21 Mar 2020.20:23:18.755539 FOUND RESOLUTION: 1280x1024@50Hz
Sat,21 Mar 2020.20:23:18.755603 FOUND RESOLUTION: 1280x1024@60Hz
Sat,21 Mar 2020.20:23:18.755677 FOUND RESOLUTION: 1280x720@50Hz
Sat,21 Mar 2020.20:23:18.755748 FOUND RESOLUTION: 1280x720@60Hz
Sat,21 Mar 2020.20:23:18.755818 FOUND RESOLUTION: 1280x800@50Hz
Sat,21 Mar 2020.20:23:18.755888 FOUND RESOLUTION: 1280x800@60Hz
Sat,21 Mar 2020.20:23:18.755958 FOUND RESOLUTION: 1368x768@50Hz
Sat,21 Mar 2020.20:23:18.756067 FOUND RESOLUTION: 1368x768@60Hz
Sat,21 Mar 2020.20:23:18.756141 FOUND RESOLUTION: 1600x1200@50Hz
Sat,21 Mar 2020.20:23:18.756211 FOUND RESOLUTION: 1600x1200@60Hz
Sat,21 Mar 2020.20:23:18.756282 FOUND RESOLUTION: 1920x1080@50Hz
Sat,21 Mar 2020.20:23:18.756352 FOUND RESOLUTION: 1920x1080@60Hz
Sat,21 Mar 2020.20:23:18.803158 FOUND RESOLUTION: 1920x1200@50Hz
Sat,21 Mar 2020.20:23:18.803471 FOUND RESOLUTION: 1920x1200@60Hz
Sat,21 Mar 2020.20:23:18.803655 FOUND RESOLUTION: 640x480@50Hz
Sat,21 Mar 2020.20:23:18.803831 FOUND RESOLUTION: 640x480@60Hz
Sat,21 Mar 2020.20:23:18.804009 FOUND RESOLUTION: 720x576@50Hz
Sat,21 Mar 2020.20:23:18.804185 FOUND RESOLUTION: 800x600@50Hz
Sat,21 Mar 2020.20:23:18.804359 FOUND RESOLUTION: 800x600@60Hz
Sat,21 Mar 2020.20:23:18.804535 FOUND RESOLUTION: Default@60Hz
Sat,21 Mar 2020.20:23:18.804709 Loading file /config.txt
Sat,21 Mar 2020.20:23:18.804879 Read resolution: Default@60Hz
Sat,21 Mar 2020.20:23:18.805058 Read scaling: 0
Sat,21 Mar 2020.20:23:18.805235 Loading file: /Profiles/Legacy_3BIT/Default.txt
Sat,21 Mar 2020.20:23:18.852419 FOUND PROFILE: Atom_v10-v20
Sat,21 Mar 2020.20:23:18.852667 FOUND PROFILE: Atom_v21-v23
Sat,21 Mar 2020.20:23:18.852782 FOUND PROFILE: Atom_v24-v62
Sat,21 Mar 2020.20:23:18.852891 FOUND PROFILE: BBC_Micro_v10-v20
Sat,21 Mar 2020.20:23:18.852999 FOUND PROFILE: BBC_Micro_v21-v23
Sat,21 Mar 2020.20:23:18.853106 FOUND PROFILE: BBC_Micro_v24
Sat,21 Mar 2020.20:23:18.853213 FOUND PROFILE: BBC_Micro_v30-v62
Sat,21 Mar 2020.20:23:18.853320 FOUND SUB-FOLDER: Colour Test
Sat,21 Mar 2020.20:23:18.853426 Loading file /profile_Legacy_3BIT.txt
Sat,21 Mar 2020.20:23:18.853532 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
Sat,21 Mar 2020.20:23:18.853639 Setting profile to 4
Sat,21 Mar 2020.20:23:18.853745 Loading file: /Profiles/Legacy_3BIT/BBC_Micro_v21-v23.txt
Sat,21 Mar 2020.20:23:18.853851 Setting subprofile to 0
Sat,21 Mar 2020.20:23:18.853957 Profile = BBC_Micro_v21-v23
Sat,21 Mar 2020.20:23:18.868126 Detected polarity state at startup = Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:23:18.913132 Keycount = 0
Sat,21 Mar 2020.20:23:18.913284 -----------------------LOOP------------------------
Sat,21 Mar 2020.20:23:18.913330 Detected polarity state = C, Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:23:18.913374         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:23:18.913417      clkinfo.line_len = 768
Sat,21 Mar 2020.20:23:18.913460     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:23:18.957360     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:23:18.957861      Actual 100 lines = 6400008 ns
Sat,21 Mar 2020.20:23:18.958156           Clock error = 1 PPM
Sat,21 Mar 2020.20:23:18.958268  Error adjusted clock = 11999985 Hz
Sat,21 Mar 2020.20:23:18.958329  Target PLL frequency = 2303997120 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:23:18.958388  Actual PLL frequency = 2303997120 Hz
Sat,21 Mar 2020.20:23:18.958441         GPCLK Divisor = 6
Sat,21 Mar 2020.20:23:19.038209       Lines per frame = 625, (624.998)
Sat,21 Mar 2020.20:23:19.038318 Actual frame time = 40000021 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:23:19.038363 Window: H = 63680 to 64320, V = 19900010 to 20100010, S = Comp
Sat,21 Mar 2020.20:23:19.069230 Width or Height differ from last FB: Setting dummy 64x64 framebuffer
Sat,21 Mar 2020.20:23:19.099281 Initialised Framebuffer
Sat,21 Mar 2020.20:23:19.099424 Size: 1920x8192 
Sat,21 Mar 2020.20:23:19.099471 Pitch: 1920 bytes
Sat,21 Mar 2020.20:23:19.099515 Framebuffer address: DE000000
Sat,21 Mar 2020.20:23:19.131317 RAM benchmark: Main memory = 800919 ns, Screen memory = 26690570 ns
Sat,21 Mar 2020.20:23:34.392516 ***********************RESET***********************
Sat,21 Mar 2020.20:23:34.392787 RGB to HDMI booted
Sat,21 Mar 2020.20:23:34.392931 Using PLLA as the sampling clock
Sat,21 Mar 2020.20:23:34.393067 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:23:34.393201 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=2 PER=256 CCP2=256
Sat,21 Mar 2020.20:23:34.393334 PLLB: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:23:34.393463 PLLB: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 ARM=2 SP0=256 SP1=256 SP2=256
Sat,21 Mar 2020.20:23:34.393593 PLLC: 2400.000000, ANA1 = 00144000
Sat,21 Mar 2020.20:23:34.393721 PLLC: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 CORE2=256 CORE1=256 PER=2 CORE0=2
Sat,21 Mar 2020.20:23:34.393851 PLLD: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:23:34.440673 PLLD: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 DSI0=256 CORE=4 PER=4 DSI1=256
Sat,21 Mar 2020.20:23:34.440934 PLLH: 864.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:23:34.441052 PLLH: PDIV=1 NDIV=45 CTRL=0002102d FRAC=0 AUX=4 RCAL=256 PIX=256 STS=527437
Sat,21 Mar 2020.20:23:34.441166 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:23:34.441278 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=256 PER=4 CCP2=256
Sat,21 Mar 2020.20:23:34.441388 CPU speed detected as: 1000 Mhz
Sat,21 Mar 2020.20:23:34.441498 Keycount = 0
Sat,21 Mar 2020.20:23:34.441607 CPLD  Design: Legacy_3BIT
Sat,21 Mar 2020.20:23:34.441716 CPLD Version: 2.1
Sat,21 Mar 2020.20:23:34.456591 EMMC: BCM2708 controller power-cycled
Sat,21 Mar 2020.20:23:35.130262 Loading file /Palettes/Atom_MKII.bin
Sat,21 Mar 2020.20:23:35.130383 Loading file /Palettes/Atom_MKII_Full.bin
Sat,21 Mar 2020.20:23:35.130430 Loading file /Palettes/Atom_MKII_Plus.bin
Sat,21 Mar 2020.20:23:35.130475 Loading file /Palettes/Colour_Genie_N25.bin
Sat,21 Mar 2020.20:23:35.130518 Loading file /Palettes/Colour_Genie_S24.bin
Sat,21 Mar 2020.20:23:35.130561 Loading file /Palettes/Colour_Genie_S25.bin
Sat,21 Mar 2020.20:23:35.130604 Loading file /Palettes/Dragon-CoCo.bin
Sat,21 Mar 2020.20:23:35.130647 Loading file /Palettes/Dragon-CoCo_Emu.bin
Sat,21 Mar 2020.20:23:35.130690 Loading file /Palettes/Dragon-CoCo_Full.bin
Sat,21 Mar 2020.20:23:35.130733 Loading file /Palettes/MDA-Hercules.bin
Sat,21 Mar 2020.20:23:35.130775 Loading file /Palettes/Mono_(2_level).bin
Sat,21 Mar 2020.20:23:35.203906 Loading file /Palettes/Mono_(3_level).bin
Sat,21 Mar 2020.20:23:35.204019 Loading file /Palettes/Mono_(4_level).bin
Sat,21 Mar 2020.20:23:35.204064 Loading file /Palettes/Mono_(6_level).bin
Sat,21 Mar 2020.20:23:35.204106 Loading file /Palettes/RGB.bin
Sat,21 Mar 2020.20:23:35.204150 Loading file /Palettes/RGBI.bin
Sat,21 Mar 2020.20:23:35.204192 Loading file /Palettes/RGBI_(CGA).bin
Sat,21 Mar 2020.20:23:35.204235 Loading file /Palettes/RGBI_(Spectrum).bin
Sat,21 Mar 2020.20:23:35.204277 Loading file /Palettes/RGBrgb_(Amstrad).bin
Sat,21 Mar 2020.20:23:35.204320 Loading file /Palettes/RGBrgb_(Spectrum).bin
Sat,21 Mar 2020.20:23:35.204363 Loading file /Palettes/RrGgBb_(EGA).bin
Sat,21 Mar 2020.20:23:35.204405 Loading file /Palettes/Spectrum_48K_9Col.bin
Sat,21 Mar 2020.20:23:35.204447 FOUND RESOLUTION: 1024x600@50Hz
Sat,21 Mar 2020.20:23:35.247617 FOUND RESOLUTION: 1024x600@60Hz
Sat,21 Mar 2020.20:23:35.247861 FOUND RESOLUTION: 1024x768@50Hz
Sat,21 Mar 2020.20:23:35.247971 FOUND RESOLUTION: 1024x768@60Hz
Sat,21 Mar 2020.20:23:35.248082 FOUND RESOLUTION: 1280x1024@50Hz
Sat,21 Mar 2020.20:23:35.248190 FOUND RESOLUTION: 1280x1024@60Hz
Sat,21 Mar 2020.20:23:35.248299 FOUND RESOLUTION: 1280x720@50Hz
Sat,21 Mar 2020.20:23:35.248407 FOUND RESOLUTION: 1280x720@60Hz
Sat,21 Mar 2020.20:23:35.248515 FOUND RESOLUTION: 1280x800@50Hz
Sat,21 Mar 2020.20:23:35.248622 FOUND RESOLUTION: 1280x800@60Hz
Sat,21 Mar 2020.20:23:35.248730 FOUND RESOLUTION: 1368x768@50Hz
Sat,21 Mar 2020.20:23:35.248838 FOUND RESOLUTION: 1368x768@60Hz
Sat,21 Mar 2020.20:23:35.248946 FOUND RESOLUTION: 1600x1200@50Hz
Sat,21 Mar 2020.20:23:35.249054 FOUND RESOLUTION: 1600x1200@60Hz
Sat,21 Mar 2020.20:23:35.249161 FOUND RESOLUTION: 1920x1080@50Hz
Sat,21 Mar 2020.20:23:35.249269 FOUND RESOLUTION: 1920x1080@60Hz
Sat,21 Mar 2020.20:23:35.295544 FOUND RESOLUTION: 1920x1200@50Hz
Sat,21 Mar 2020.20:23:35.295806 FOUND RESOLUTION: 1920x1200@60Hz
Sat,21 Mar 2020.20:23:35.295926 FOUND RESOLUTION: 640x480@50Hz
Sat,21 Mar 2020.20:23:35.296115 FOUND RESOLUTION: 640x480@60Hz
Sat,21 Mar 2020.20:23:35.296230 FOUND RESOLUTION: 720x576@50Hz
Sat,21 Mar 2020.20:23:35.296343 FOUND RESOLUTION: 800x600@50Hz
Sat,21 Mar 2020.20:23:35.296454 FOUND RESOLUTION: 800x600@60Hz
Sat,21 Mar 2020.20:23:35.296563 FOUND RESOLUTION: Default@60Hz
Sat,21 Mar 2020.20:23:35.296673 Loading file /config.txt
Sat,21 Mar 2020.20:23:35.296784 Read resolution: Default@60Hz
Sat,21 Mar 2020.20:23:35.296893 Read scaling: 0
Sat,21 Mar 2020.20:23:35.297001 Loading file: /Profiles/Legacy_3BIT/Default.txt
Sat,21 Mar 2020.20:23:35.344748 FOUND PROFILE: Atom_v10-v20
Sat,21 Mar 2020.20:23:35.344932 FOUND PROFILE: Atom_v21-v23
Sat,21 Mar 2020.20:23:35.344981 FOUND PROFILE: Atom_v24-v62
Sat,21 Mar 2020.20:23:35.345027 FOUND PROFILE: BBC_Micro_v10-v20
Sat,21 Mar 2020.20:23:35.345073 FOUND PROFILE: BBC_Micro_v21-v23
Sat,21 Mar 2020.20:23:35.345119 FOUND PROFILE: BBC_Micro_v24
Sat,21 Mar 2020.20:23:35.345164 FOUND PROFILE: BBC_Micro_v30-v62
Sat,21 Mar 2020.20:23:35.345209 FOUND SUB-FOLDER: Colour Test
Sat,21 Mar 2020.20:23:35.345253 Loading file /profile_Legacy_3BIT.txt
Sat,21 Mar 2020.20:23:35.345298 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
Sat,21 Mar 2020.20:23:35.345343 Setting profile to 4
Sat,21 Mar 2020.20:23:35.345387 Loading file: /Profiles/Legacy_3BIT/BBC_Micro_v21-v23.txt
Sat,21 Mar 2020.20:23:35.345431 Setting subprofile to 0
Sat,21 Mar 2020.20:23:35.345475 Profile = BBC_Micro_v21-v23
Sat,21 Mar 2020.20:23:35.394639 Detected polarity state at startup = Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:23:35.394929 Keycount = 0
Sat,21 Mar 2020.20:23:35.395008 -----------------------LOOP------------------------
Sat,21 Mar 2020.20:23:35.395058 Detected polarity state = C, Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:23:35.395106         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:23:35.395152      clkinfo.line_len = 768
Sat,21 Mar 2020.20:23:35.395198     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:23:35.437577     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:23:35.437700      Actual 100 lines = 6400009 ns
Sat,21 Mar 2020.20:23:35.437746           Clock error = 1 PPM
Sat,21 Mar 2020.20:23:35.437790  Error adjusted clock = 11999983 Hz
Sat,21 Mar 2020.20:23:35.437834  Target PLL frequency = 2303996760 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:23:35.437877  Actual PLL frequency = 2303996760 Hz
Sat,21 Mar 2020.20:23:35.437920         GPCLK Divisor = 6
Sat,21 Mar 2020.20:23:35.518661       Lines per frame = 625, (625)
Sat,21 Mar 2020.20:23:35.518783 Actual frame time = 40000048 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:23:35.518830 Window: H = 63680 to 64320, V = 19900024 to 20100024, S = Comp
Sat,21 Mar 2020.20:23:35.548679 Width or Height differ from last FB: Setting dummy 64x64 framebuffer
Sat,21 Mar 2020.20:23:35.578746 Initialised Framebuffer
Sat,21 Mar 2020.20:23:35.578881 Size: 1920x8192 
Sat,21 Mar 2020.20:23:35.578930 Pitch: 1920 bytes
Sat,21 Mar 2020.20:23:35.578975 Framebuffer address: DE000000
Sat,21 Mar 2020.20:23:35.610765 RAM benchmark: Main memory = 801082 ns, Screen memory = 26493468 ns

Image

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sat Mar 21, 2020 8:33 pm

Scrap that, HDMI wasn't connected!!! Here's the debug, still reset is needed to get anything to happen; then I did an HDMI calibration (genlock failed), auto calibration, and took a picture:

Code: Select all

Sat,21 Mar 2020.20:29:55.396513 ***********************RESET***********************
Sat,21 Mar 2020.20:29:55.396994 RGB to HDMI booted
Sat,21 Mar 2020.20:29:55.397169 Using PLLA as the sampling clock
Sat,21 Mar 2020.20:29:55.397319 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:29:55.397466 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=2 PER=256 CCP2=256
Sat,21 Mar 2020.20:29:55.397613 PLLB: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:29:55.397751 PLLB: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 ARM=2 SP0=256 SP1=256 SP2=256
Sat,21 Mar 2020.20:29:55.397892 PLLC: 2400.000000, ANA1 = 00144000
Sat,21 Mar 2020.20:29:55.398031 PLLC: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 CORE2=256 CORE1=256 PER=2 CORE0=2
Sat,21 Mar 2020.20:29:55.398169 PLLD: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:29:55.445314 PLLD: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 DSI0=256 CORE=4 PER=4 DSI1=256
Sat,21 Mar 2020.20:29:55.445587 PLLH: 864.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:29:55.445744 PLLH: PDIV=1 NDIV=45 CTRL=0002102d FRAC=0 AUX=4 RCAL=256 PIX=256 STS=527437
Sat,21 Mar 2020.20:29:55.445890 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:29:55.446118 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=256 PER=4 CCP2=256
Sat,21 Mar 2020.20:29:55.446276 CPU speed detected as: 1000 Mhz
Sat,21 Mar 2020.20:29:55.446418 Keycount = 0
Sat,21 Mar 2020.20:29:55.446559 CPLD  Design: Legacy_3BIT
Sat,21 Mar 2020.20:29:55.446700 CPLD Version: 2.1
Sat,21 Mar 2020.20:29:55.446836 EMMC: BCM2708 controller power-cycled
Sat,21 Mar 2020.20:29:56.134347 Loading file /Palettes/Atom_MKII.bin
Sat,21 Mar 2020.20:29:56.134472 Loading file /Palettes/Atom_MKII_Full.bin
Sat,21 Mar 2020.20:29:56.134524 Loading file /Palettes/Atom_MKII_Plus.bin
Sat,21 Mar 2020.20:29:56.134573 Loading file /Palettes/Colour_Genie_N25.bin
Sat,21 Mar 2020.20:29:56.134621 Loading file /Palettes/Colour_Genie_S24.bin
Sat,21 Mar 2020.20:29:56.134668 Loading file /Palettes/Colour_Genie_S25.bin
Sat,21 Mar 2020.20:29:56.134713 Loading file /Palettes/Dragon-CoCo.bin
Sat,21 Mar 2020.20:29:56.134759 Loading file /Palettes/Dragon-CoCo_Emu.bin
Sat,21 Mar 2020.20:29:56.134804 Loading file /Palettes/Dragon-CoCo_Full.bin
Sat,21 Mar 2020.20:29:56.134849 Loading file /Palettes/MDA-Hercules.bin
Sat,21 Mar 2020.20:29:56.134895 Loading file /Palettes/Mono_(2_level).bin
Sat,21 Mar 2020.20:29:56.207951 Loading file /Palettes/Mono_(3_level).bin
Sat,21 Mar 2020.20:29:56.208058 Loading file /Palettes/Mono_(4_level).bin
Sat,21 Mar 2020.20:29:56.208107 Loading file /Palettes/Mono_(6_level).bin
Sat,21 Mar 2020.20:29:56.208154 Loading file /Palettes/RGB.bin
Sat,21 Mar 2020.20:29:56.208200 Loading file /Palettes/RGBI.bin
Sat,21 Mar 2020.20:29:56.208246 Loading file /Palettes/RGBI_(CGA).bin
Sat,21 Mar 2020.20:29:56.208291 Loading file /Palettes/RGBI_(Spectrum).bin
Sat,21 Mar 2020.20:29:56.208337 Loading file /Palettes/RGBrgb_(Amstrad).bin
Sat,21 Mar 2020.20:29:56.208382 Loading file /Palettes/RGBrgb_(Spectrum).bin
Sat,21 Mar 2020.20:29:56.208427 Loading file /Palettes/RrGgBb_(EGA).bin
Sat,21 Mar 2020.20:29:56.208473 Loading file /Palettes/Spectrum_48K_9Col.bin
Sat,21 Mar 2020.20:29:56.208518 FOUND RESOLUTION: 1024x600@50Hz
Sat,21 Mar 2020.20:29:56.251651 FOUND RESOLUTION: 1024x600@60Hz
Sat,21 Mar 2020.20:29:56.251828 FOUND RESOLUTION: 1024x768@50Hz
Sat,21 Mar 2020.20:29:56.251882 FOUND RESOLUTION: 1024x768@60Hz
Sat,21 Mar 2020.20:29:56.251931 FOUND RESOLUTION: 1280x1024@50Hz
Sat,21 Mar 2020.20:29:56.251978 FOUND RESOLUTION: 1280x1024@60Hz
Sat,21 Mar 2020.20:29:56.252025 FOUND RESOLUTION: 1280x720@50Hz
Sat,21 Mar 2020.20:29:56.252072 FOUND RESOLUTION: 1280x720@60Hz
Sat,21 Mar 2020.20:29:56.252118 FOUND RESOLUTION: 1280x800@50Hz
Sat,21 Mar 2020.20:29:56.252164 FOUND RESOLUTION: 1280x800@60Hz
Sat,21 Mar 2020.20:29:56.252209 FOUND RESOLUTION: 1368x768@50Hz
Sat,21 Mar 2020.20:29:56.252255 FOUND RESOLUTION: 1368x768@60Hz
Sat,21 Mar 2020.20:29:56.252300 FOUND RESOLUTION: 1600x1200@50Hz
Sat,21 Mar 2020.20:29:56.252345 FOUND RESOLUTION: 1600x1200@60Hz
Sat,21 Mar 2020.20:29:56.252390 FOUND RESOLUTION: 1920x1080@50Hz
Sat,21 Mar 2020.20:29:56.252436 FOUND RESOLUTION: 1920x1080@60Hz
Sat,21 Mar 2020.20:29:56.299049 FOUND RESOLUTION: 1920x1200@50Hz
Sat,21 Mar 2020.20:29:56.299298 FOUND RESOLUTION: 1920x1200@60Hz
Sat,21 Mar 2020.20:29:56.299423 FOUND RESOLUTION: 640x480@50Hz
Sat,21 Mar 2020.20:29:56.299547 FOUND RESOLUTION: 640x480@60Hz
Sat,21 Mar 2020.20:29:56.299672 FOUND RESOLUTION: 720x576@50Hz
Sat,21 Mar 2020.20:29:56.299801 FOUND RESOLUTION: 800x600@50Hz
Sat,21 Mar 2020.20:29:56.299952 FOUND RESOLUTION: 800x600@60Hz
Sat,21 Mar 2020.20:29:56.300065 FOUND RESOLUTION: Default@60Hz
Sat,21 Mar 2020.20:29:56.300175 Loading file /config.txt
Sat,21 Mar 2020.20:29:56.300287 Read resolution: Default@60Hz
Sat,21 Mar 2020.20:29:56.300397 Read scaling: 0
Sat,21 Mar 2020.20:29:56.300508 Loading file: /Profiles/Legacy_3BIT/Default.txt
Sat,21 Mar 2020.20:29:56.348556 FOUND PROFILE: Atom_v10-v20
Sat,21 Mar 2020.20:29:56.348888 FOUND PROFILE: Atom_v21-v23
Sat,21 Mar 2020.20:29:56.349101 FOUND PROFILE: Atom_v24-v62
Sat,21 Mar 2020.20:29:56.349305 FOUND PROFILE: BBC_Micro_v10-v20
Sat,21 Mar 2020.20:29:56.349505 FOUND PROFILE: BBC_Micro_v21-v23
Sat,21 Mar 2020.20:29:56.349691 FOUND PROFILE: BBC_Micro_v24
Sat,21 Mar 2020.20:29:56.349873 FOUND PROFILE: BBC_Micro_v30-v62
Sat,21 Mar 2020.20:29:56.350055 FOUND SUB-FOLDER: Colour Test
Sat,21 Mar 2020.20:29:56.350237 Loading file /profile_Legacy_3BIT.txt
Sat,21 Mar 2020.20:29:56.350419 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
Sat,21 Mar 2020.20:29:56.350602 Setting profile to 4
Sat,21 Mar 2020.20:29:56.350783 Loading file: /Profiles/Legacy_3BIT/BBC_Micro_v21-v23.txt
Sat,21 Mar 2020.20:29:56.350965 Setting subprofile to 0
Sat,21 Mar 2020.20:29:56.351146 Profile = BBC_Micro_v21-v23
Sat,21 Mar 2020.20:29:56.364090 Detected polarity state at startup = Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:29:56.410209 Keycount = 0
Sat,21 Mar 2020.20:29:56.410584 -----------------------LOOP------------------------
Sat,21 Mar 2020.20:29:56.410771 Detected polarity state = C, Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:29:56.410855         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:29:56.410947      clkinfo.line_len = 768
Sat,21 Mar 2020.20:29:56.411006     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:29:56.453134     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:29:56.453301      Actual 100 lines = 6400014 ns
Sat,21 Mar 2020.20:29:56.453348           Clock error = 2 PPM
Sat,21 Mar 2020.20:29:56.453393  Error adjusted clock = 11999973 Hz
Sat,21 Mar 2020.20:29:56.453437  Target PLL frequency = 2303994960 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:29:56.453482  Actual PLL frequency = 2303994960 Hz
Sat,21 Mar 2020.20:29:56.453526         GPCLK Divisor = 6
Sat,21 Mar 2020.20:29:56.535181       Lines per frame = 625, (624.998)
Sat,21 Mar 2020.20:29:56.535301 Actual frame time = 40000025 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:29:56.535348 Window: H = 63680 to 64320, V = 19900012 to 20100012, S = Comp
Sat,21 Mar 2020.20:29:56.565202 Width or Height differ from last FB: Setting dummy 64x64 framebuffer
Sat,21 Mar 2020.20:29:56.595247 Initialised Framebuffer
Sat,21 Mar 2020.20:29:56.595379 Size: 1920x8192 
Sat,21 Mar 2020.20:29:56.595425 Pitch: 1920 bytes
Sat,21 Mar 2020.20:29:56.595468 Framebuffer address: DE000000
Sat,21 Mar 2020.20:29:56.627307 RAM benchmark: Main memory = 800861 ns, Screen memory = 26697750 ns
Sat,21 Mar 2020.20:30:14.070904 ***********************RESET***********************
Sat,21 Mar 2020.20:30:14.071072 RGB to HDMI booted
Sat,21 Mar 2020.20:30:14.071141 Using PLLA as the sampling clock
Sat,21 Mar 2020.20:30:14.071200 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:30:14.071254 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=2 PER=256 CCP2=256
Sat,21 Mar 2020.20:30:14.071308 PLLB: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:30:14.071359 PLLB: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 ARM=2 SP0=256 SP1=256 SP2=256
Sat,21 Mar 2020.20:30:14.071409 PLLC: 2400.000000, ANA1 = 00144000
Sat,21 Mar 2020.20:30:14.071456 PLLC: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 CORE2=256 CORE1=256 PER=2 CORE0=2
Sat,21 Mar 2020.20:30:14.071503 PLLD: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:30:14.118954 PLLD: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 DSI0=256 CORE=4 PER=4 DSI1=256
Sat,21 Mar 2020.20:30:14.119195 PLLH: 1485.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:30:14.119296 PLLH: PDIV=1 NDIV=77 CTRL=0002104d FRAC=360448 AUX=256 RCAL=256 PIX=1 STS=527567
Sat,21 Mar 2020.20:30:14.119391 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:30:14.119446 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=256 PER=4 CCP2=256
Sat,21 Mar 2020.20:30:14.119509 CPU speed detected as: 1000 Mhz
Sat,21 Mar 2020.20:30:14.119560 Keycount = 0
Sat,21 Mar 2020.20:30:14.119627 CPLD  Design: Legacy_3BIT
Sat,21 Mar 2020.20:30:14.119678 CPLD Version: 2.1
Sat,21 Mar 2020.20:30:14.134823 EMMC: BCM2708 controller power-cycled
Sat,21 Mar 2020.20:30:14.809314 Loading file /Palettes/Atom_MKII.bin
Sat,21 Mar 2020.20:30:14.809465 Loading file /Palettes/Atom_MKII_Full.bin
Sat,21 Mar 2020.20:30:14.809518 Loading file /Palettes/Atom_MKII_Plus.bin
Sat,21 Mar 2020.20:30:14.809565 Loading file /Palettes/Colour_Genie_N25.bin
Sat,21 Mar 2020.20:30:14.809609 Loading file /Palettes/Colour_Genie_S24.bin
Sat,21 Mar 2020.20:30:14.809654 Loading file /Palettes/Colour_Genie_S25.bin
Sat,21 Mar 2020.20:30:14.809699 Loading file /Palettes/Dragon-CoCo.bin
Sat,21 Mar 2020.20:30:14.809742 Loading file /Palettes/Dragon-CoCo_Emu.bin
Sat,21 Mar 2020.20:30:14.809786 Loading file /Palettes/Dragon-CoCo_Full.bin
Sat,21 Mar 2020.20:30:14.809829 Loading file /Palettes/MDA-Hercules.bin
Sat,21 Mar 2020.20:30:14.809873 Loading file /Palettes/Mono_(2_level).bin
Sat,21 Mar 2020.20:30:14.882949 Loading file /Palettes/Mono_(3_level).bin
Sat,21 Mar 2020.20:30:14.883090 Loading file /Palettes/Mono_(4_level).bin
Sat,21 Mar 2020.20:30:14.883140 Loading file /Palettes/Mono_(6_level).bin
Sat,21 Mar 2020.20:30:14.883186 Loading file /Palettes/RGB.bin
Sat,21 Mar 2020.20:30:14.883230 Loading file /Palettes/RGBI.bin
Sat,21 Mar 2020.20:30:14.883274 Loading file /Palettes/RGBI_(CGA).bin
Sat,21 Mar 2020.20:30:14.883318 Loading file /Palettes/RGBI_(Spectrum).bin
Sat,21 Mar 2020.20:30:14.883361 Loading file /Palettes/RGBrgb_(Amstrad).bin
Sat,21 Mar 2020.20:30:14.883404 Loading file /Palettes/RGBrgb_(Spectrum).bin
Sat,21 Mar 2020.20:30:14.883447 Loading file /Palettes/RrGgBb_(EGA).bin
Sat,21 Mar 2020.20:30:14.883491 Loading file /Palettes/Spectrum_48K_9Col.bin
Sat,21 Mar 2020.20:30:14.883535 FOUND RESOLUTION: 1024x600@50Hz
Sat,21 Mar 2020.20:30:14.926600 FOUND RESOLUTION: 1024x600@60Hz
Sat,21 Mar 2020.20:30:14.926777 FOUND RESOLUTION: 1024x768@50Hz
Sat,21 Mar 2020.20:30:14.926831 FOUND RESOLUTION: 1024x768@60Hz
Sat,21 Mar 2020.20:30:14.926880 FOUND RESOLUTION: 1280x1024@50Hz
Sat,21 Mar 2020.20:30:14.926926 FOUND RESOLUTION: 1280x1024@60Hz
Sat,21 Mar 2020.20:30:14.926971 FOUND RESOLUTION: 1280x720@50Hz
Sat,21 Mar 2020.20:30:14.927016 FOUND RESOLUTION: 1280x720@60Hz
Sat,21 Mar 2020.20:30:14.927063 FOUND RESOLUTION: 1280x800@50Hz
Sat,21 Mar 2020.20:30:14.927109 FOUND RESOLUTION: 1280x800@60Hz
Sat,21 Mar 2020.20:30:14.927155 FOUND RESOLUTION: 1368x768@50Hz
Sat,21 Mar 2020.20:30:14.927200 FOUND RESOLUTION: 1368x768@60Hz
Sat,21 Mar 2020.20:30:14.927245 FOUND RESOLUTION: 1600x1200@50Hz
Sat,21 Mar 2020.20:30:14.927291 FOUND RESOLUTION: 1600x1200@60Hz
Sat,21 Mar 2020.20:30:14.927335 FOUND RESOLUTION: 1920x1080@50Hz
Sat,21 Mar 2020.20:30:14.927383 FOUND RESOLUTION: 1920x1080@60Hz
Sat,21 Mar 2020.20:30:14.973705 FOUND RESOLUTION: 1920x1200@50Hz
Sat,21 Mar 2020.20:30:14.973845 FOUND RESOLUTION: 1920x1200@60Hz
Sat,21 Mar 2020.20:30:14.973894 FOUND RESOLUTION: 640x480@50Hz
Sat,21 Mar 2020.20:30:14.973951 FOUND RESOLUTION: 640x480@60Hz
Sat,21 Mar 2020.20:30:14.973996 FOUND RESOLUTION: 720x576@50Hz
Sat,21 Mar 2020.20:30:14.974040 FOUND RESOLUTION: 800x600@50Hz
Sat,21 Mar 2020.20:30:14.974083 FOUND RESOLUTION: 800x600@60Hz
Sat,21 Mar 2020.20:30:14.974126 FOUND RESOLUTION: Default@60Hz
Sat,21 Mar 2020.20:30:14.974170 Loading file /config.txt
Sat,21 Mar 2020.20:30:14.974213 Read resolution: Default@60Hz
Sat,21 Mar 2020.20:30:14.974256 Read scaling: 0
Sat,21 Mar 2020.20:30:14.974299 Loading file: /Profiles/Legacy_3BIT/Default.txt
Sat,21 Mar 2020.20:30:15.023429 FOUND PROFILE: Atom_v10-v20
Sat,21 Mar 2020.20:30:15.023583 FOUND PROFILE: Atom_v21-v23
Sat,21 Mar 2020.20:30:15.023632 FOUND PROFILE: Atom_v24-v62
Sat,21 Mar 2020.20:30:15.023678 FOUND PROFILE: BBC_Micro_v10-v20
Sat,21 Mar 2020.20:30:15.023721 FOUND PROFILE: BBC_Micro_v21-v23
Sat,21 Mar 2020.20:30:15.023764 FOUND PROFILE: BBC_Micro_v24
Sat,21 Mar 2020.20:30:15.023806 FOUND PROFILE: BBC_Micro_v30-v62
Sat,21 Mar 2020.20:30:15.023850 FOUND SUB-FOLDER: Colour Test
Sat,21 Mar 2020.20:30:15.023893 Loading file /profile_Legacy_3BIT.txt
Sat,21 Mar 2020.20:30:15.023936 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
Sat,21 Mar 2020.20:30:15.023979 Setting profile to 4
Sat,21 Mar 2020.20:30:15.024022 Loading file: /Profiles/Legacy_3BIT/BBC_Micro_v21-v23.txt
Sat,21 Mar 2020.20:30:15.024066 Setting subprofile to 0
Sat,21 Mar 2020.20:30:15.024109 Profile = BBC_Micro_v21-v23
Sat,21 Mar 2020.20:30:15.070947 Detected polarity state at startup = Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:30:15.071248 Keycount = 0
Sat,21 Mar 2020.20:30:15.071343 -----------------------LOOP------------------------
Sat,21 Mar 2020.20:30:15.071392 Detected polarity state = C, Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:30:15.071445         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:30:15.071496      clkinfo.line_len = 768
Sat,21 Mar 2020.20:30:15.071540     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:30:15.113932     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:30:15.114089      Actual 100 lines = 6400011 ns
Sat,21 Mar 2020.20:30:15.114151           Clock error = 1 PPM
Sat,21 Mar 2020.20:30:15.114198  Error adjusted clock = 11999979 Hz
Sat,21 Mar 2020.20:30:15.114244  Target PLL frequency = 2303996040 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:30:15.114287  Actual PLL frequency = 2303996040 Hz
Sat,21 Mar 2020.20:30:15.114330         GPCLK Divisor = 6
Sat,21 Mar 2020.20:30:15.194925       Lines per frame = 625, (625)
Sat,21 Mar 2020.20:30:15.195074 Actual frame time = 40000023 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:30:15.195123 Window: H = 63680 to 64320, V = 19900011 to 20100011, S = Comp
Sat,21 Mar 2020.20:30:15.224920 Width or Height differ from last FB: Setting dummy 64x64 framebuffer
Sat,21 Mar 2020.20:30:15.253059 Initialised Framebuffer
Sat,21 Mar 2020.20:30:15.253194 Size: 720x540 
Sat,21 Mar 2020.20:30:15.253293 Pitch: 368 bytes
Sat,21 Mar 2020.20:30:15.253343 Framebuffer address: DE000000
Sat,21 Mar 2020.20:30:15.285358 RAM benchmark: Main memory = 801071 ns, Screen memory = 26399169 ns
Sat,21 Mar 2020.20:30:22.012181         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:30:22.028185      clkinfo.line_len = 768
Sat,21 Mar 2020.20:30:22.028363     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:30:22.073526     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:30:22.074048      Actual 100 lines = 6399989 ns
Sat,21 Mar 2020.20:30:22.074368           Clock error = -1 PPM
Sat,21 Mar 2020.20:30:22.074550  Error adjusted clock = 12000020 Hz
Sat,21 Mar 2020.20:30:22.074671  Target PLL frequency = 2304003960 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:30:22.074749  Actual PLL frequency = 2304003960 Hz
Sat,21 Mar 2020.20:30:22.074823         GPCLK Divisor = 6
Sat,21 Mar 2020.20:30:22.149339       Lines per frame = 625, (625)
Sat,21 Mar 2020.20:30:22.149537 Actual frame time = 39999996 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:30:36.633543         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:30:36.633827      clkinfo.line_len = 768
Sat,21 Mar 2020.20:30:36.633990     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:30:36.673739     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:30:36.674018      Actual 100 lines = 6399969 ns
Sat,21 Mar 2020.20:30:36.674172           Clock error = -4 PPM
Sat,21 Mar 2020.20:30:36.674319  Error adjusted clock = 12000058 Hz
Sat,21 Mar 2020.20:30:36.674463  Target PLL frequency = 2304011160 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:30:36.674605  Actual PLL frequency = 2304011160 Hz
Sat,21 Mar 2020.20:30:36.674747         GPCLK Divisor = 6
Sat,21 Mar 2020.20:30:36.760641       Lines per frame = 625, (624.998)
Sat,21 Mar 2020.20:30:36.760750 Actual frame time = 40000001 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:30:36.760799 Calibrating mode: 7
Sat,21 Mar 2020.20:30:36.760847 INFO:                            A      B      C      D      E      F   total
Sat,21 Mar 2020.20:30:37.619633 INFO: value = 0: metrics =     685      0   2694      0   1540      0    4919
Sat,21 Mar 2020.20:30:38.499553 INFO: value = 1: metrics =     617      0    991      0    928      0    2536
Sat,21 Mar 2020.20:30:39.379484 INFO: value = 2: metrics =     251      0    423      0    521      0    1195
Sat,21 Mar 2020.20:30:40.259441 INFO: value = 3: metrics =     240      0    381      0    522      0    1143
Sat,21 Mar 2020.20:30:41.139248 INFO: value = 4: metrics =     327      0    563      0    485      0    1375
Sat,21 Mar 2020.20:30:42.019290 INFO: value = 5: metrics =     883      0   1433   2565    865     13    5759
Sat,21 Mar 2020.20:30:42.899217 INFO: value = 6: metrics =     208    135   1209      0   1017    687    3256
Sat,21 Mar 2020.20:30:43.789140 INFO: value = 7: metrics =    2552      0    639      0   1419      0    4610
Sat,21 Mar 2020.20:30:43.789408 sp_offset = 3 3 3 3 3 3; half = 0; delay = 0
Sat,21 Mar 2020.20:30:43.789564 Optimizing calibration
Sat,21 Mar 2020.20:30:44.665071 sp_offset = 3 3 3 3 4 3; half = 0; delay = 0
Sat,21 Mar 2020.20:30:44.665334 Optimization complete, errors = 1176
Sat,21 Mar 2020.20:30:44.753256 counter  0 = 214
Sat,21 Mar 2020.20:30:44.753703 counter  1 = 71
Sat,21 Mar 2020.20:30:44.753895 counter  2 = 0
Sat,21 Mar 2020.20:30:44.754002 counter  3 = 280
Sat,21 Mar 2020.20:30:44.754096 counter  4 = 324
Sat,21 Mar 2020.20:30:44.754185 counter  5 = 254
Sat,21 Mar 2020.20:30:44.754275 counter  6 = 214
Sat,21 Mar 2020.20:30:44.754362 counter  7 = 286
Sat,21 Mar 2020.20:30:44.754451 counter  8 = 287
Sat,21 Mar 2020.20:30:44.754545 counter  9 = 259
Sat,21 Mar 2020.20:30:44.754636 counter 10 = 254
Sat,21 Mar 2020.20:30:44.754716 counter 11 = 266
Sat,21 Mar 2020.20:30:44.754805 minima at index: 1
Sat,21 Mar 2020.20:30:44.754896 Characters aligned to word boundaries
Sat,21 Mar 2020.20:30:44.754991 Performing final test
Sat,21 Mar 2020.20:30:45.625055 sp_offset = 3 3 3 3 4 3; half = 0; delay = 11
Sat,21 Mar 2020.20:30:45.625287 Calibration complete, errors = 2480
Sat,21 Mar 2020.20:30:49.843513 Screen capture starting, file = /Captures/BBC_Micro_v21-v23/capture0.png
Sat,21 Mar 2020.20:30:49.843785 Scaling is 1 x 1 x=720 y=540 sx=720 sy=540 px=720 py=540
Sat,21 Mar 2020.20:30:50.163877 Screen capture PNG length = 1218, writing data...
Sat,21 Mar 2020.20:30:50.259842 Screen capture complete
Image

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sat Mar 21, 2020 8:37 pm

Here's the capture:
capture0.png
Image

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sat Mar 21, 2020 8:43 pm

For comparison, here's what happens if I revert to the original SD card. It starts without pressing reset, then I did HDMI calibration (genlock failed) and auto calibration:

Code: Select all

Sat,21 Mar 2020.20:40:46.624187 ***********************RESET***********************
Sat,21 Mar 2020.20:40:46.624655 RGB to HDMI booted
Sat,21 Mar 2020.20:40:46.624829 Using PLLA as the sampling clock
Sat,21 Mar 2020.20:40:46.624967 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:40:46.625100 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=2 PER=256 CCP2=256
Sat,21 Mar 2020.20:40:46.625225 PLLB: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:40:46.625349 PLLB: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 ARM=2 SP0=256 SP1=256 SP2=256
Sat,21 Mar 2020.20:40:46.625471 PLLC: 2400.000000, ANA1 = 00144000
Sat,21 Mar 2020.20:40:46.625586 PLLC: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 CORE2=256 CORE1=256 PER=2 CORE0=2
Sat,21 Mar 2020.20:40:46.625701 PLLD: 2000.000024 ANA1 = 00144000
Sat,21 Mar 2020.20:40:46.687802 PLLD: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 DSI0=256 CORE=4 PER=4 DSI1=256
Sat,21 Mar 2020.20:40:46.688196 PLLH: 1485.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:40:46.688361 PLLH: PDIV=1 NDIV=77 CTRL=0002104d FRAC=360448 AUX=256 RCAL=256 PIX=1 STS=527599
Sat,21 Mar 2020.20:40:46.688510 PLLA: 2400.000000 ANA1 = 00144000
Sat,21 Mar 2020.20:40:46.688655 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=256 PER=4 CCP2=256
Sat,21 Mar 2020.20:40:46.688802 CPU speed detected as: 1000 Mhz
Sat,21 Mar 2020.20:40:46.688946 Keycount = 0
Sat,21 Mar 2020.20:40:46.689085 CPLD  Design: Legacy_3BIT
Sat,21 Mar 2020.20:40:46.689224 CPLD Version: 2.1
Sat,21 Mar 2020.20:40:46.689363 EMMC: BCM2708 controller power-cycled
Sat,21 Mar 2020.20:40:47.514657 Loading file /Palettes/Atom_MKII.bin
Sat,21 Mar 2020.20:40:47.514989 Loading file /Palettes/Atom_MKII_Full.bin
Sat,21 Mar 2020.20:40:47.515146 Loading file /Palettes/Atom_MKII_Plus.bin
Sat,21 Mar 2020.20:40:47.515289 Loading file /Palettes/Colour_Genie_N25.bin
Sat,21 Mar 2020.20:40:47.558743 Loading file /Palettes/Colour_Genie_S24.bin
Sat,21 Mar 2020.20:40:47.559083 Loading file /Palettes/Colour_Genie_S25.bin
Sat,21 Mar 2020.20:40:47.559223 Loading file /Palettes/Dragon-CoCo.bin
Sat,21 Mar 2020.20:40:47.559349 Loading file /Palettes/Dragon-CoCo_Emu.bin
Sat,21 Mar 2020.20:40:47.599738 Loading file /Palettes/Dragon-CoCo_Full.bin
Sat,21 Mar 2020.20:40:47.599956 Loading file /Palettes/MDA-Hercules.bin
Sat,21 Mar 2020.20:40:47.600086 Loading file /Palettes/Mono_(2_level).bin
Sat,21 Mar 2020.20:40:47.600209 Loading file /Palettes/Mono_(3_level).bin
Sat,21 Mar 2020.20:40:47.630843 Loading file /Palettes/Mono_(4_level).bin
Sat,21 Mar 2020.20:40:47.631101 Loading file /Palettes/Mono_(6_level).bin
Sat,21 Mar 2020.20:40:47.631262 Loading file /Palettes/RGB.bin
Sat,21 Mar 2020.20:40:47.659753 Loading file /Palettes/RGBI.bin
Sat,21 Mar 2020.20:40:47.659913 Loading file /Palettes/RGBI_(CGA).bin
Sat,21 Mar 2020.20:40:47.660012 Loading file /Palettes/RGBI_(Spectrum).bin
Sat,21 Mar 2020.20:40:47.698825 Loading file /Palettes/RGBrgb_(Amstrad).bin
Sat,21 Mar 2020.20:40:47.698982 Loading file /Palettes/RGBrgb_(Spectrum).bin
Sat,21 Mar 2020.20:40:47.699039 Loading file /Palettes/RrGgBb_(EGA).bin
Sat,21 Mar 2020.20:40:47.699088 Loading file /Palettes/Spectrum_48K_9Col.bin
Sat,21 Mar 2020.20:40:47.714894 FOUND RESOLUTION: 1024x600@50Hz
Sat,21 Mar 2020.20:40:47.758422 FOUND RESOLUTION: 1024x600@60Hz
Sat,21 Mar 2020.20:40:47.758656 FOUND RESOLUTION: 1024x768@50Hz
Sat,21 Mar 2020.20:40:47.758719 FOUND RESOLUTION: 1024x768@60Hz
Sat,21 Mar 2020.20:40:47.758768 FOUND RESOLUTION: 1280x1024@50Hz
Sat,21 Mar 2020.20:40:47.758817 FOUND RESOLUTION: 1280x1024@60Hz
Sat,21 Mar 2020.20:40:47.758867 FOUND RESOLUTION: 1280x720@50Hz
Sat,21 Mar 2020.20:40:47.758914 FOUND RESOLUTION: 1280x720@60Hz
Sat,21 Mar 2020.20:40:47.758962 FOUND RESOLUTION: 1280x800@50Hz
Sat,21 Mar 2020.20:40:47.759010 FOUND RESOLUTION: 1280x800@60Hz
Sat,21 Mar 2020.20:40:47.759059 FOUND RESOLUTION: 1368x768@50Hz
Sat,21 Mar 2020.20:40:47.759108 FOUND RESOLUTION: 1368x768@60Hz
Sat,21 Mar 2020.20:40:47.759157 FOUND RESOLUTION: 1600x1200@50Hz
Sat,21 Mar 2020.20:40:47.759206 FOUND RESOLUTION: 1600x1200@60Hz
Sat,21 Mar 2020.20:40:47.759255 FOUND RESOLUTION: 1920x1080@50Hz
Sat,21 Mar 2020.20:40:47.759303 FOUND RESOLUTION: 1920x1080@60Hz
Sat,21 Mar 2020.20:40:47.804892 FOUND RESOLUTION: 1920x1200@50Hz
Sat,21 Mar 2020.20:40:47.805005 FOUND RESOLUTION: 1920x1200@60Hz
Sat,21 Mar 2020.20:40:47.805058 FOUND RESOLUTION: 640x480@50Hz
Sat,21 Mar 2020.20:40:47.805107 FOUND RESOLUTION: 640x480@60Hz
Sat,21 Mar 2020.20:40:47.805155 FOUND RESOLUTION: 720x576@50Hz
Sat,21 Mar 2020.20:40:47.805206 FOUND RESOLUTION: 800x600@50Hz
Sat,21 Mar 2020.20:40:47.805253 FOUND RESOLUTION: 800x600@60Hz
Sat,21 Mar 2020.20:40:47.805299 FOUND RESOLUTION: Default@60Hz
Sat,21 Mar 2020.20:40:47.805345 Loading file /config.txt
Sat,21 Mar 2020.20:40:47.805393 Read resolution: Default@60Hz
Sat,21 Mar 2020.20:40:47.805444 Read scaling: 0
Sat,21 Mar 2020.20:40:47.820908 Loading file: /Profiles/Legacy_3BIT/Default.txt
Sat,21 Mar 2020.20:40:47.890936 FOUND PROFILE: Atom_v10-v20
Sat,21 Mar 2020.20:40:47.891092 FOUND PROFILE: Atom_v21-v23
Sat,21 Mar 2020.20:40:47.891145 FOUND PROFILE: Atom_v24-v62
Sat,21 Mar 2020.20:40:47.891192 FOUND PROFILE: BBC_Micro_v10-v20
Sat,21 Mar 2020.20:40:47.891237 FOUND PROFILE: BBC_Micro_v21-v23
Sat,21 Mar 2020.20:40:47.891283 FOUND PROFILE: BBC_Micro_v24
Sat,21 Mar 2020.20:40:47.891329 FOUND PROFILE: BBC_Micro_v30-v62
Sat,21 Mar 2020.20:40:47.891375 FOUND SUB-FOLDER: Colour Test
Sat,21 Mar 2020.20:40:47.891422 Loading file /profile_Legacy_3BIT.txt
Sat,21 Mar 2020.20:40:47.891467 Setting profile to 4
Sat,21 Mar 2020.20:40:47.925033 Loading file: /Profiles/Legacy_3BIT/BBC_Micro_v21-v23.txt
Sat,21 Mar 2020.20:40:47.925214 Setting subprofile to 0
Sat,21 Mar 2020.20:40:47.925276 Profile = BBC_Micro_v21-v23
Sat,21 Mar 2020.20:40:47.925326 Detected polarity state at startup = Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:40:47.973201 Keycount = 0
Sat,21 Mar 2020.20:40:47.973618 -----------------------LOOP------------------------
Sat,21 Mar 2020.20:40:47.973850 Detected polarity state = C, Comp (Mixed H & V CPLD)
Sat,21 Mar 2020.20:40:47.974005         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:40:47.974106      clkinfo.line_len = 768
Sat,21 Mar 2020.20:40:47.974186     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:40:48.017057     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:40:48.017211      Actual 100 lines = 6400014 ns
Sat,21 Mar 2020.20:40:48.017263           Clock error = 2 PPM
Sat,21 Mar 2020.20:40:48.017309  Error adjusted clock = 11999973 Hz
Sat,21 Mar 2020.20:40:48.017356  Target PLL frequency = 2303994960 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:40:48.017402  Actual PLL frequency = 2303994960 Hz
Sat,21 Mar 2020.20:40:48.017449         GPCLK Divisor = 6
Sat,21 Mar 2020.20:40:48.098159       Lines per frame = 625, (624.999)
Sat,21 Mar 2020.20:40:48.098268 Actual frame time = 40000048 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:40:48.098321 Window: H = 63680 to 64320, V = 19900024 to 20100024, S = Comp
Sat,21 Mar 2020.20:40:48.129171 Width or Height differ from last FB: Setting dummy 64x64 framebuffer
Sat,21 Mar 2020.20:40:48.156209 Initialised Framebuffer
Sat,21 Mar 2020.20:40:48.156377 Size: 720x540 
Sat,21 Mar 2020.20:40:48.156432 Pitch: 368 bytes
Sat,21 Mar 2020.20:40:48.156479 Framebuffer address: DE000000
Sat,21 Mar 2020.20:40:48.188254 RAM benchmark: Main memory = 801019 ns, Screen memory = 26370435 ns
Sat,21 Mar 2020.20:40:55.876450 Locked
Sat,21 Mar 2020.20:40:55.892498 UnLock
Sat,21 Mar 2020.20:40:55.913484         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:40:55.913707      clkinfo.line_len = 768
Sat,21 Mar 2020.20:40:55.913825     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:40:55.956656     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:40:55.957087      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:40:55.957240           Clock error = 2 PPM
Sat,21 Mar 2020.20:40:55.957373  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:40:55.957505  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:40:55.957635  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:40:55.957761         GPCLK Divisor = 6
Sat,21 Mar 2020.20:40:56.032550       Lines per frame = 625, (624.996)
Sat,21 Mar 2020.20:40:56.032659 Actual frame time = 40000076 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:40:57.474142 Locked
Sat,21 Mar 2020.20:40:57.511222 UnLock
Sat,21 Mar 2020.20:40:57.511476         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:40:57.511618      clkinfo.line_len = 768
Sat,21 Mar 2020.20:40:57.511755     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:40:57.557325     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:40:57.557813      Actual 100 lines = 6400015 ns
Sat,21 Mar 2020.20:40:57.558011           Clock error = 2 PPM
Sat,21 Mar 2020.20:40:57.558169  Error adjusted clock = 11999971 Hz
Sat,21 Mar 2020.20:40:57.558325  Target PLL frequency = 2303994600 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:40:57.558475  Actual PLL frequency = 2303994600 Hz
Sat,21 Mar 2020.20:40:57.558628         GPCLK Divisor = 6
Sat,21 Mar 2020.20:40:57.633273       Lines per frame = 625, (625.003)
Sat,21 Mar 2020.20:40:57.633394 Actual frame time = 40000071 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:40:59.074823 Locked
Sat,21 Mar 2020.20:40:59.111904 UnLock
Sat,21 Mar 2020.20:40:59.112148         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:40:59.112286      clkinfo.line_len = 768
Sat,21 Mar 2020.20:40:59.112422     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:40:59.157011     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:40:59.157313      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:40:59.157458           Clock error = 2 PPM
Sat,21 Mar 2020.20:40:59.157597  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:40:59.157736  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:40:59.157871  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:40:59.158006         GPCLK Divisor = 6
Sat,21 Mar 2020.20:40:59.233044       Lines per frame = 625, (625.003)
Sat,21 Mar 2020.20:40:59.233172 Actual frame time = 40000098 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:00.674528 Locked
Sat,21 Mar 2020.20:41:00.711599 UnLock
Sat,21 Mar 2020.20:41:00.711853         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:00.711992      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:00.712127     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:00.756689     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:00.756875      Actual 100 lines = 6400076 ns
Sat,21 Mar 2020.20:41:00.756969           Clock error = 11 PPM
Sat,21 Mar 2020.20:41:00.757058  Error adjusted clock = 11999857 Hz
Sat,21 Mar 2020.20:41:00.757147  Target PLL frequency = 2303972640 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:00.757250  Actual PLL frequency = 2303972640 Hz
Sat,21 Mar 2020.20:41:00.757336         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:00.832767       Lines per frame = 625, (625.002)
Sat,21 Mar 2020.20:41:00.832992 Actual frame time = 40000063 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:02.274206 Locked
Sat,21 Mar 2020.20:41:02.311304 UnLock
Sat,21 Mar 2020.20:41:02.311552         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:02.311690      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:02.311824     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:02.357379     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:02.357575      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:41:02.357670           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:02.357760  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:41:02.357861  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:02.357950  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:41:02.358036         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:02.432371       Lines per frame = 625, (624.998)
Sat,21 Mar 2020.20:41:02.432544 Actual frame time = 40000093 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:03.873912 Locked
Sat,21 Mar 2020.20:41:03.910977 UnLock
Sat,21 Mar 2020.20:41:03.911235         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:03.911378      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:03.911518     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:03.957146     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:03.957621      Actual 100 lines = 6400069 ns
Sat,21 Mar 2020.20:41:03.957827           Clock error = 10 PPM
Sat,21 Mar 2020.20:41:03.958000  Error adjusted clock = 11999870 Hz
Sat,21 Mar 2020.20:41:03.958163  Target PLL frequency = 2303975160 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:03.958317  Actual PLL frequency = 2303975160 Hz
Sat,21 Mar 2020.20:41:03.958466         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:04.033008       Lines per frame = 625, (625.002)
Sat,21 Mar 2020.20:41:04.033116 Actual frame time = 40000068 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:05.474698 Locked
Sat,21 Mar 2020.20:41:05.526153 UnLock
Sat,21 Mar 2020.20:41:05.526397         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:05.526515      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:05.526628     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:05.556758     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:05.556986      Actual 100 lines = 6400009 ns
Sat,21 Mar 2020.20:41:05.557103           Clock error = 1 PPM
Sat,21 Mar 2020.20:41:05.557214  Error adjusted clock = 11999983 Hz
Sat,21 Mar 2020.20:41:05.557324  Target PLL frequency = 2303996760 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:05.557435  Actual PLL frequency = 2303996760 Hz
Sat,21 Mar 2020.20:41:05.557543         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:05.632689       Lines per frame = 625, (624.999)
Sat,21 Mar 2020.20:41:05.632813 Actual frame time = 40000113 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:07.074278 Locked
Sat,21 Mar 2020.20:41:07.126207 UnLock
Sat,21 Mar 2020.20:41:07.126490         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:07.126632      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:07.126768     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:07.156465     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:07.156753      Actual 100 lines = 6399998 ns
Sat,21 Mar 2020.20:41:07.156890           Clock error = 0 PPM
Sat,21 Mar 2020.20:41:07.157023  Error adjusted clock = 12000003 Hz
Sat,21 Mar 2020.20:41:07.157154  Target PLL frequency = 2304000720 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:07.157286  Actual PLL frequency = 2304000720 Hz
Sat,21 Mar 2020.20:41:07.157415         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:07.232391       Lines per frame = 625, (624.998)
Sat,21 Mar 2020.20:41:07.232516 Actual frame time = 40000073 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:08.673942 Locked
Sat,21 Mar 2020.20:41:08.711069 UnLock
Sat,21 Mar 2020.20:41:08.711330         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:08.711476      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:08.711611     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:08.757132     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:08.757422      Actual 100 lines = 6400001 ns
Sat,21 Mar 2020.20:41:08.757576           Clock error = 0 PPM
Sat,21 Mar 2020.20:41:08.757716  Error adjusted clock = 11999998 Hz
Sat,21 Mar 2020.20:41:08.757849  Target PLL frequency = 2303999640 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:08.758002  Actual PLL frequency = 2303999640 Hz
Sat,21 Mar 2020.20:41:08.758157         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:08.833360       Lines per frame = 625, (624.997)
Sat,21 Mar 2020.20:41:08.833991 Actual frame time = 40000075 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:10.274682 Locked
Sat,21 Mar 2020.20:41:10.311756 UnLock
Sat,21 Mar 2020.20:41:10.312013         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:10.312180      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:10.312328     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:10.357034     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:10.357488      Actual 100 lines = 6400008 ns
Sat,21 Mar 2020.20:41:10.357625           Clock error = 1 PPM
Sat,21 Mar 2020.20:41:10.357729  Error adjusted clock = 11999985 Hz
Sat,21 Mar 2020.20:41:10.357827  Target PLL frequency = 2303997120 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:10.357921  Actual PLL frequency = 2303997120 Hz
Sat,21 Mar 2020.20:41:10.358016         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:10.433145       Lines per frame = 625, (625.002)
Sat,21 Mar 2020.20:41:10.433513 Actual frame time = 40000028 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:11.874415 Locked
Sat,21 Mar 2020.20:41:11.911448 UnLock
Sat,21 Mar 2020.20:41:11.911697         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:11.911854      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:11.911997     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:11.956518     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:11.956842      Actual 100 lines = 6400018 ns
Sat,21 Mar 2020.20:41:11.957031           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:11.957203  Error adjusted clock = 11999966 Hz
Sat,21 Mar 2020.20:41:11.957368  Target PLL frequency = 2303993520 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:11.957522  Actual PLL frequency = 2303993520 Hz
Sat,21 Mar 2020.20:41:11.957681         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:12.032475       Lines per frame = 625, (625.003)
Sat,21 Mar 2020.20:41:12.032585 Actual frame time = 40000058 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:13.474114 Locked
Sat,21 Mar 2020.20:41:13.511160 UnLock
Sat,21 Mar 2020.20:41:13.511436         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:13.511581      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:13.511717     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:13.557268     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:13.557800      Actual 100 lines = 6400014 ns
Sat,21 Mar 2020.20:41:13.558131           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:13.558296  Error adjusted clock = 11999973 Hz
Sat,21 Mar 2020.20:41:13.558399  Target PLL frequency = 2303994960 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:13.558487  Actual PLL frequency = 2303994960 Hz
Sat,21 Mar 2020.20:41:13.558580         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:13.633180       Lines per frame = 625, (624.996)
Sat,21 Mar 2020.20:41:13.633325 Actual frame time = 40000036 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:15.074730 Locked
Sat,21 Mar 2020.20:41:15.111823 UnLock
Sat,21 Mar 2020.20:41:15.112093         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:15.112244      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:15.112388     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:15.156948     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:15.157227      Actual 100 lines = 6400008 ns
Sat,21 Mar 2020.20:41:15.157373           Clock error = 1 PPM
Sat,21 Mar 2020.20:41:15.157511  Error adjusted clock = 11999985 Hz
Sat,21 Mar 2020.20:41:15.157655  Target PLL frequency = 2303997120 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:15.157819  Actual PLL frequency = 2303997120 Hz
Sat,21 Mar 2020.20:41:15.157987         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:15.232854       Lines per frame = 625, (625.002)
Sat,21 Mar 2020.20:41:15.232965 Actual frame time = 40000026 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:16.674411 Locked
Sat,21 Mar 2020.20:41:16.711557 UnLock
Sat,21 Mar 2020.20:41:16.711816         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:16.711959      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:16.712097     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:16.756621     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:16.757011      Actual 100 lines = 6400011 ns
Sat,21 Mar 2020.20:41:16.757201           Clock error = 1 PPM
Sat,21 Mar 2020.20:41:16.757366  Error adjusted clock = 11999979 Hz
Sat,21 Mar 2020.20:41:16.757524  Target PLL frequency = 2303996040 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:16.757680  Actual PLL frequency = 2303996040 Hz
Sat,21 Mar 2020.20:41:16.757836         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:16.832544       Lines per frame = 625, (625)
Sat,21 Mar 2020.20:41:16.832653 Actual frame time = 40000038 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:17.777582 Locked
Sat,21 Mar 2020.20:41:17.793685 UnLock
Sat,21 Mar 2020.20:41:17.814768         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:17.815047      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:17.815213     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:17.856753     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:17.857053      Actual 100 lines = 6400006 ns
Sat,21 Mar 2020.20:41:17.857195           Clock error = 0 PPM
Sat,21 Mar 2020.20:41:17.857331  Error adjusted clock = 11999988 Hz
Sat,21 Mar 2020.20:41:17.857466  Target PLL frequency = 2303997840 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:17.857600  Actual PLL frequency = 2303997840 Hz
Sat,21 Mar 2020.20:41:17.857731         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:17.932866       Lines per frame = 625, (625.003)
Sat,21 Mar 2020.20:41:17.933193 Actual frame time = 40000035 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:18.877823 Locked
Sat,21 Mar 2020.20:41:18.893832 UnLock
Sat,21 Mar 2020.20:41:18.914831         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:18.915082      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:18.915230     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:18.956962     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:18.957250      Actual 100 lines = 6400009 ns
Sat,21 Mar 2020.20:41:18.957401           Clock error = 1 PPM
Sat,21 Mar 2020.20:41:18.957537  Error adjusted clock = 11999983 Hz
Sat,21 Mar 2020.20:41:18.957677  Target PLL frequency = 2303996760 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:18.957813  Actual PLL frequency = 2303996760 Hz
Sat,21 Mar 2020.20:41:18.957947         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:19.032857       Lines per frame = 625, (625.002)
Sat,21 Mar 2020.20:41:19.032967 Actual frame time = 40000018 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:20.112077         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:20.112343      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:20.112482     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:20.157165     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:20.157431      Actual 100 lines = 6400024 ns
Sat,21 Mar 2020.20:41:20.157570           Clock error = 3 PPM
Sat,21 Mar 2020.20:41:20.157703  Error adjusted clock = 11999955 Hz
Sat,21 Mar 2020.20:41:20.157834  Target PLL frequency = 2303991360 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:20.157968  Actual PLL frequency = 2303991360 Hz
Sat,21 Mar 2020.20:41:20.158098         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:20.233295       Lines per frame = 625, (624.998)
Sat,21 Mar 2020.20:41:20.233588 Actual frame time = 40000056 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:20.377245 Locked
Sat,21 Mar 2020.20:41:20.393287 UnLock
Sat,21 Mar 2020.20:41:20.414347         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:20.414534      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:20.414590     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:20.456508     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:20.456720      Actual 100 lines = 6399971 ns
Sat,21 Mar 2020.20:41:20.456803           Clock error = -4 PPM
Sat,21 Mar 2020.20:41:20.456862  Error adjusted clock = 12000054 Hz
Sat,21 Mar 2020.20:41:20.456909  Target PLL frequency = 2304010440 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:20.456961  Actual PLL frequency = 2304010440 Hz
Sat,21 Mar 2020.20:41:20.457007         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:20.532441       Lines per frame = 625, (625.005)
Sat,21 Mar 2020.20:41:20.532564 Actual frame time = 40000078 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:21.477530 Locked
Sat,21 Mar 2020.20:41:21.493541 UnLock
Sat,21 Mar 2020.20:41:21.514581         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:21.514839      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:21.514992     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:21.556680     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:21.556992      Actual 100 lines = 6400011 ns
Sat,21 Mar 2020.20:41:21.557142           Clock error = 1 PPM
Sat,21 Mar 2020.20:41:21.557281  Error adjusted clock = 11999979 Hz
Sat,21 Mar 2020.20:41:21.557418  Target PLL frequency = 2303996040 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:21.557557  Actual PLL frequency = 2303996040 Hz
Sat,21 Mar 2020.20:41:21.557704         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:21.632932       Lines per frame = 625, (624.998)
Sat,21 Mar 2020.20:41:21.633405 Actual frame time = 40000053 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:22.577625 Locked
Sat,21 Mar 2020.20:41:22.593689 UnLock
Sat,21 Mar 2020.20:41:22.614679         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:22.614894      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:22.615010     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:22.656953     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:22.657317      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:41:22.657402           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:22.657468  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:41:22.657534  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:22.657600  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:41:22.657666         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:22.732788       Lines per frame = 625, (625.002)
Sat,21 Mar 2020.20:41:22.732926 Actual frame time = 40000036 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:23.677799 Locked
Sat,21 Mar 2020.20:41:23.693879 UnLock
Sat,21 Mar 2020.20:41:23.714893         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:23.715175      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:23.715344     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:23.757001     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:23.757300      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:41:23.757449           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:23.757585  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:41:23.757718  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:23.757857  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:41:23.757993         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:23.832939       Lines per frame = 625, (625.003)
Sat,21 Mar 2020.20:41:23.833048 Actual frame time = 40000068 ns (interlaced), line time = 63999 ns
Sat,21 Mar 2020.20:41:24.777991 Locked
Sat,21 Mar 2020.20:41:24.794032 UnLock
Sat,21 Mar 2020.20:41:24.815029         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:24.815255      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:24.815388     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:24.857339     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:24.857721      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:41:24.857969           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:24.858162  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:41:24.858333  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:24.858515  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:41:24.858707         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:24.933128       Lines per frame = 625, (624.996)
Sat,21 Mar 2020.20:41:24.933243 Actual frame time = 40000040 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:25.878168 Locked
Sat,21 Mar 2020.20:41:25.894237 UnLock
Sat,21 Mar 2020.20:41:25.915240         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:25.915498      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:25.915669     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:25.957520     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:25.957986      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:41:25.958276           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:25.958464  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:41:25.958636  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:25.958826  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:41:25.958984         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:26.033417       Lines per frame = 625, (624.997)
Sat,21 Mar 2020.20:41:26.033680 Actual frame time = 40000046 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:26.978348 Locked
Sat,21 Mar 2020.20:41:26.994385 UnLock
Sat,21 Mar 2020.20:41:26.994678         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:27.015352      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:27.015564     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:27.056566     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:27.057027      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:41:27.057348           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:27.057574  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:41:27.057749  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:27.057919  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:41:27.058088         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:27.132753       Lines per frame = 625, (624.997)
Sat,21 Mar 2020.20:41:27.133195 Actual frame time = 40000054 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:28.077392 Locked
Sat,21 Mar 2020.20:41:28.093425 UnLock
Sat,21 Mar 2020.20:41:28.114502         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:28.114671      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:28.114795     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:28.156651     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:28.156871      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:41:28.156994           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:28.157057  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:41:28.157117  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:28.157172  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:41:28.157222         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:28.232571       Lines per frame = 625, (624.996)
Sat,21 Mar 2020.20:41:28.232683 Actual frame time = 40000041 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:29.177679 Locked
Sat,21 Mar 2020.20:41:29.193729 UnLock
Sat,21 Mar 2020.20:41:29.214737         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:29.215031      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:29.215189     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:29.256961     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:29.257434      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:41:29.257717           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:29.257921  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:41:29.258015  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:29.258095  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:41:29.258169         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:29.332770       Lines per frame = 625, (624.996)
Sat,21 Mar 2020.20:41:29.332907 Actual frame time = 40000040 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:30.277828 Locked
Sat,21 Mar 2020.20:41:30.293860 UnLock
Sat,21 Mar 2020.20:41:30.314894         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:30.315178      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:30.315350     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:30.357015     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:30.357312      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:41:30.357515           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:30.357685  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:41:30.357852  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:30.358010  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:41:30.358174         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:30.432917       Lines per frame = 625, (624.996)
Sat,21 Mar 2020.20:41:30.433024 Actual frame time = 40000050 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:31.378013 Locked
Sat,21 Mar 2020.20:41:31.394024 UnLock
Sat,21 Mar 2020.20:41:31.415039         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:31.415296      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:31.415485     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:31.457128     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:31.457418      Actual 100 lines = 6400016 ns
Sat,21 Mar 2020.20:41:31.457606           Clock error = 2 PPM
Sat,21 Mar 2020.20:41:31.457782  Error adjusted clock = 11999970 Hz
Sat,21 Mar 2020.20:41:31.457943  Target PLL frequency = 2303994240 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:31.458109  Actual PLL frequency = 2303994240 Hz
Sat,21 Mar 2020.20:41:31.458267         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:31.533072       Lines per frame = 625, (625)
Sat,21 Mar 2020.20:41:31.533192 Actual frame time = 40000017 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:37.154120         clkinfo.clock = 12000000 Hz
Sat,21 Mar 2020.20:41:37.154389      clkinfo.line_len = 768
Sat,21 Mar 2020.20:41:37.154552     clkinfo.clock_ppm = 5000 ppm
Sat,21 Mar 2020.20:41:37.197205     Nominal 100 lines = 6400000 ns
Sat,21 Mar 2020.20:41:37.197477      Actual 100 lines = 6399981 ns
Sat,21 Mar 2020.20:41:37.197640           Clock error = -2 PPM
Sat,21 Mar 2020.20:41:37.197796  Error adjusted clock = 12000035 Hz
Sat,21 Mar 2020.20:41:37.197942  Target PLL frequency = 2304006840 Hz, prediv = 1, PER = 4
Sat,21 Mar 2020.20:41:37.198088  Actual PLL frequency = 2304006840 Hz
Sat,21 Mar 2020.20:41:37.198232         GPCLK Divisor = 6
Sat,21 Mar 2020.20:41:37.284188       Lines per frame = 625, (624.999)
Sat,21 Mar 2020.20:41:37.284356 Actual frame time = 40000018 ns (interlaced), line time = 64000 ns
Sat,21 Mar 2020.20:41:37.284459 Calibrating mode: 7
Sat,21 Mar 2020.20:41:37.284555 INFO:                            A      B      C      D      E      F   total
Sat,21 Mar 2020.20:41:38.143153 INFO: value = 0: metrics =     557      0   1477      0   1035      0    3069
Sat,21 Mar 2020.20:41:39.023071 INFO: value = 1: metrics =     277      0    347      0    563      0    1187
Sat,21 Mar 2020.20:41:39.903023 INFO: value = 2: metrics =     255      0    339      0    562      0    1156
Sat,21 Mar 2020.20:41:40.782928 INFO: value = 3: metrics =     271      0    342      0    562      0    1175
Sat,21 Mar 2020.20:41:41.662861 INFO: value = 4: metrics =     278      0    396      0    494      0    1168
Sat,21 Mar 2020.20:41:42.542810 INFO: value = 5: metrics =     604      0   1227   1890    930    159    4810
Sat,21 Mar 2020.20:41:43.422629 INFO: value = 6: metrics =     246    328   1244    108    974    346    3246
Sat,21 Mar 2020.20:41:44.312680 INFO: value = 7: metrics =    2682      0    392      0    903      0    3977
Sat,21 Mar 2020.20:41:44.312960 sp_offset = 2 2 2 2 2 2; half = 0; delay = 0
Sat,21 Mar 2020.20:41:44.313122 Optimizing calibration
Sat,21 Mar 2020.20:41:45.188604 sp_offset = 2 2 2 2 2 2; half = 0; delay = 0
Sat,21 Mar 2020.20:41:45.188874 Optimization complete, errors = 1145
Sat,21 Mar 2020.20:41:45.276737 counter  0 = 216
Sat,21 Mar 2020.20:41:45.276983 counter  1 = 58
Sat,21 Mar 2020.20:41:45.277163 counter  2 = 2
Sat,21 Mar 2020.20:41:45.277310 counter  3 = 282
Sat,21 Mar 2020.20:41:45.277453 counter  4 = 326
Sat,21 Mar 2020.20:41:45.277593 counter  5 = 254
Sat,21 Mar 2020.20:41:45.277737 counter  6 = 216
Sat,21 Mar 2020.20:41:45.277883 counter  7 = 288
Sat,21 Mar 2020.20:41:45.278026 counter  8 = 289
Sat,21 Mar 2020.20:41:45.278181 counter  9 = 244
Sat,21 Mar 2020.20:41:45.278322 counter 10 = 256
Sat,21 Mar 2020.20:41:45.278473 counter 11 = 268
Sat,21 Mar 2020.20:41:45.278679 minima at index: 1
Sat,21 Mar 2020.20:41:45.278866 Characters aligned to word boundaries
Sat,21 Mar 2020.20:41:45.279053 Performing final test
Sat,21 Mar 2020.20:41:46.148527 sp_offset = 2 2 2 2 2 2; half = 0; delay = 11
Sat,21 Mar 2020.20:41:46.148649 Calibration complete, errors = 2747
Image

User avatar
BigEd
Posts: 2999
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BigEd » Sat Mar 21, 2020 9:21 pm

Is it right to say, then, that with one SD card the power-on reset doesn't happen, and with the other it does? I'd wonder if that points to a marginal power supply issue.

User avatar
hoglet
Posts: 9110
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by hoglet » Sat Mar 21, 2020 9:25 pm

Code: Select all

Sat,21 Mar 2020.20:41:37.284459 Calibrating mode: 7
Sat,21 Mar 2020.20:41:37.284555 INFO:                            A      B      C      D      E      F   total
Sat,21 Mar 2020.20:41:38.143153 INFO: value = 0: metrics =     557      0   1477      0   1035      0    3069
Sat,21 Mar 2020.20:41:39.023071 INFO: value = 1: metrics =     277      0    347      0    563      0    1187
Sat,21 Mar 2020.20:41:39.903023 INFO: value = 2: metrics =     255      0    339      0    562      0    1156
Sat,21 Mar 2020.20:41:40.782928 INFO: value = 3: metrics =     271      0    342      0    562      0    1175
Sat,21 Mar 2020.20:41:41.662861 INFO: value = 4: metrics =     278      0    396      0    494      0    1168
Sat,21 Mar 2020.20:41:42.542810 INFO: value = 5: metrics =     604      0   1227   1890    930    159    4810
Sat,21 Mar 2020.20:41:43.422629 INFO: value = 6: metrics =     246    328   1244    108    974    346    3246
Sat,21 Mar 2020.20:41:44.312680 INFO: value = 7: metrics =    2682      0    392      0    903      0    3977
Sat,21 Mar 2020.20:41:44.312960 sp_offset = 2 2 2 2 2 2; half = 0; delay = 0
Sat,21 Mar 2020.20:41:44.313122 Optimizing calibration
Sat,21 Mar 2020.20:41:45.188604 sp_offset = 2 2 2 2 2 2; half = 0; delay = 0
Sat,21 Mar 2020.20:41:45.188874 Optimization complete, errors = 1145
The auto calibration is showing a very high number of errors. None of the 8 sampling points are even close to 0 errors.

Could you possibly try with a couple of other Beebs, just to rule out the problem being something atypical with this particular beeb?

What's the cable connecting the Beeb to the Pi look like? (how long, etc.)

Dave

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sat Mar 21, 2020 10:18 pm

BigEd wrote:
Sat Mar 21, 2020 9:21 pm
Is it right to say, then, that with one SD card the power-on reset doesn't happen, and with the other it does? I'd wonder if that points to a marginal power supply issue.
Yes indeed, that's right. Here's a picture:
SDCards.jpg
The Philips one on the right is the original card I'd been using since January. Actually it was my previous BeebSCSI card, so it has BeebSCSI directories in it, and then when I went for a 32GB card for BeebSCSI, I used it as the firmware-update card (because it's FAT formatted whereas my new one is ex-FAT for extra speed) so it also has a copy of all the firmware files in a separate directory and I move to the root & rename to BEEBSCSI.BIN whichever version I want to flash & test). All I did was drop the contents of the Pi RGBtoHDMI firmware zip into the root and leave everything else there. I was short of cards at the time, but have stockpiled them shamelessly since. That card still works (after the unexplained blip earlier where nothing worked) straight off without pressing anything.

The 8GB Kingston card on the left is the one I've opened new from the packet this evening to use (hopefully) as the RGB to HDMI card from now on. I put the 10/3/2020 firmware files on it, there's nothing else there. This card doesn't do anything unless you press reset.

I was suspicious of it even before you said anything because I noticed as soon as I opened it that the Kingston logo doesn't look right. For reference in the middle of the picture is another (32GB) Kingston card. The 8GB card's logo doesn't look typeset correctly, or maybe they didn't bold the font. Also the FCC logo doesn't look quite right. Maybe it's a fake?
Image

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sat Mar 21, 2020 10:26 pm

The auto calibration is showing a very high number of errors. None of the 8 sampling points are even close to 0 errors.

Could you possibly try with a couple of other Beebs, just to rule out the problem being something atypical with this particular beeb?

What's the cable connecting the Beeb to the Pi look like? (how long, etc.)

Dave
[/quote]

I'll try with other Beebs and report back.

Here's the board, I don't think the probe on my multimeter is going to be fine enough to do any continuity/shorting testing:
RGBtoHDMI1.jpg
The cable is a home-made lash-up, but I think I did a reasonable job. I cut an old RGB-to-RGB ("Cub monitor") cable in half and intended to solder jumper pins to the wires but I couldn't for the life of me do that, so in the end I used half of a six-way jumper lead and soldered the two bits together, even putting heatshrink on instead of my usual bodge of dried up insulating tape that normally lasts about 3 days:
RGBtoHDMI2.jpg
Image

User avatar
IanB
Posts: 545
Joined: Sun Sep 04, 2011 8:28 pm
Location: South Wales
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by IanB » Sat Mar 21, 2020 10:37 pm

BeebMaster wrote:
Sat Mar 21, 2020 8:43 pm
then I did HDMI calibration (genlock failed) and auto calibration:

Code: Select all

Sat,21 Mar 2020.20:40:47.805393 Read resolution: Default@60Hz
You haven't selected a 50 Hz resolution so genlock will fail
BeebMaster wrote:
Sat Mar 21, 2020 8:43 pm

Code: Select all

Sat,21 Mar 2020.20:29:56.595247 Initialised Framebuffer
Sat,21 Mar 2020.20:29:56.595379 Size: 1920x8192 
Sat,21 Mar 2020.20:29:56.595425 Pitch: 1920 bytes
That part indicated no HDMI connection as you discovered, normally it will show:

Code: Select all

Sat,21 Mar 2020.20:40:48.156209 Initialised Framebuffer
Sat,21 Mar 2020.20:40:48.156377 Size: 720x540 
Sat,21 Mar 2020.20:40:48.156432 Pitch: 368 bytes
So we are back to the original diagnosis of 1 blue CPLD pin likely shorted and 1 green CPLD pin likely unconnected.

Don't do tests in mode 7 as the deinterlacing makes things confusing when there are bits missing or shorted.
Can you post a screencap of mode 0 and mode 1.

As mentioned, check all 12 CPLD to GPIO connections in this table:

Code: Select all

NET "quad(0)"   LOC = "P29";       # output gpio2 (R)
NET "quad(1)"   LOC = "P28";       # output gpio3 (G)
NET "quad(2)"   LOC = "P27";       # output gpio4 (B)
NET "quad(3)"   LOC = "P5";        # output gpio5 (R)
NET "quad(4)"   LOC = "P2";        # output gpio6 (G)
NET "quad(5)"   LOC = "P8";        # output gpio7 (B)
NET "quad(6)"   LOC = "P12";       # output gpio8 (R)
NET "quad(7)"   LOC = "P14";       # output gpio9 (G)
NET "quad(8)"   LOC = "P16";       # output gpio10 (B)
NET "quad(9)"   LOC = "P13";       # output gpio11 (R)
NET "quad(10)"  LOC = "P3";        # output gpio12 (G)
NET "quad(11)"  LOC = "P1";        # output gpio13 (B)
one of the four blue signals listed above in the GPIO to CPLD list is not connected or shorted.
one of the four green signals listed above is not connected.

Here is part of the PCB layout showing the GPIO connections above.
layout.png
Check them visually with a magnifying glass if you have one and resolder if required. You can use solder braid to remove shorts.
Also try pushing the pins slightly with light pressure using a needle or something similar as any movement will indicate it's not soldered.

Here's a zipped version at higher resolution.
layout.zip
(344.16 KiB) Downloaded 9 times

Here's a useful surface mount soldering tutorial:
https://www.youtube.com/watch?v=oGB7Yrbeo_Y

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sat Mar 21, 2020 11:30 pm

Pins 1 & 2 look a bit suspect, I'll see what I can do about it tomorrow.
Image

User avatar
IanB
Posts: 545
Joined: Sun Sep 04, 2011 8:28 pm
Location: South Wales
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by IanB » Sun Mar 22, 2020 10:52 am

BeebMaster wrote:
Sat Mar 21, 2020 10:18 pm
I was suspicious of it even before you said anything because I noticed as soon as I opened it that the Kingston logo doesn't look right. For reference in the middle of the picture is another (32GB) Kingston card. The 8GB card's logo doesn't look typeset correctly, or maybe they didn't bold the font. Also the FCC logo doesn't look quite right. Maybe it's a fake?
I agree that the Kingston logo doesn't look right on that 8GB card and all of mine have the logo at the top, like your 32GB card

Have you tried reformatting the card?

Do you see anything at all on the serial debug output during power up or only after a reset with the 8GB card?

BTW what software are you using for the serial comms?

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sun Mar 22, 2020 3:33 pm

I've got these cards from a reliable supplier I've been using for years, and the packaging is spot on, so maybe the printing is just a quirk of the manufacturing plant (happens to be Japan for these 8GB cards; everything else I've had from Kingston has been Taiwan or occasionally China).

Gnome Discs Util shows me a 4.2MB free space area at the beginning of the disc before the FAT partition.

Or, to put it in fdisk terminology:

Code: Select all

sudo fdisk -l /dev/sde
Disk /dev/sde: 7.2 GiB, 7744782336 bytes, 15126528 sectors
Disk model: Multi-Reader  -3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start      End  Sectors  Size Id Type
/dev/sde1        8192 15126527 15118336  7.2G  b W95 FAT32

Because I previously formatted the 16GB one, the FAT partition starts at 0 and takes up the whole card, so perhaps that's the difference. I'm reformatting (and blanking) the 8GB card now and will put the firmware back on when it's done.

I'm doing all this using Raspberry Pi 4, and I tend to set up the comms with putty and then use cat. I haven't discovered a way to send the parameters directly to cat.

Code: Select all

cat /dev/ttyUSB0 | ts "%a,%d %b %Y.%.T"
The fractional-second timestamp isn't necessary here, but I introduced that when doing debugging of BeebSCSI when it was important to know how long certain operations were taking.

With this 8GB card, I get the first tranche of output commencing with ***RESET*** at power-on (up until the next ***RESET*** where I've had to press the button) so it's doing something.

Incidentally...can I connect the debug wires directly to the GPIO pins on the Pi 4 and save myself a USB slot?
Image

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sun Mar 22, 2020 3:49 pm

None of that has helped. Here's the reformatted card:

Code: Select all

sudo fdisk -l /dev/sde
Disk /dev/sde: 7.2 GiB, 7744782336 bytes, 15126528 sectors
Disk model: Multi-Reader  -3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc83a87de

Device     Boot Start      End  Sectors  Size Id Type
/dev/sde1        2048 15126527 15124480  7.2G  c W95 FAT32 (LBA)
And what happens at power on:

Code: Select all

Sun,22 Mar 2020.15:45:15.982569 ***********************RESET***********************
Sun,22 Mar 2020.15:45:15.983097 RGB to HDMI booted
Sun,22 Mar 2020.15:45:15.983252 Using PLLA as the sampling clock
Sun,22 Mar 2020.15:45:15.983389 PLLA: 2400.000000 ANA1 = 00144000
Sun,22 Mar 2020.15:45:15.983526 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=2 PER=256 CCP2=256
Sun,22 Mar 2020.15:45:15.983664 PLLB: 2000.000024 ANA1 = 00144000
Sun,22 Mar 2020.15:45:15.983881 PLLB: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 ARM=2 SP0=256 SP1=256 SP2=256
Sun,22 Mar 2020.15:45:15.984043 PLLC: 2400.000000, ANA1 = 00144000
Sun,22 Mar 2020.15:45:15.984191 PLLC: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 CORE2=256 CORE1=256 PER=2 CORE0=2
Sun,22 Mar 2020.15:45:15.984333 PLLD: 2000.000024 ANA1 = 00144000
Sun,22 Mar 2020.15:45:16.030923 PLLD: PDIV=1 NDIV=52 CTRL=00021034 FRAC=87382 DSI0=256 CORE=4 PER=4 DSI1=256
Sun,22 Mar 2020.15:45:16.031189 PLLH: 864.000000 ANA1 = 00144000
Sun,22 Mar 2020.15:45:16.031313 PLLH: PDIV=1 NDIV=45 CTRL=0002102d FRAC=0 AUX=4 RCAL=256 PIX=256 STS=527597
Sun,22 Mar 2020.15:45:16.031429 PLLA: 2400.000000 ANA1 = 00144000
Sun,22 Mar 2020.15:45:16.031541 PLLA: PDIV=1 NDIV=62 CTRL=0002103e FRAC=524288 DSI0=256 CORE=256 PER=4 CCP2=256
Sun,22 Mar 2020.15:45:16.031652 CPU speed detected as: 1000 Mhz
Sun,22 Mar 2020.15:45:16.031761 Keycount = 0
Sun,22 Mar 2020.15:45:16.031869 CPLD  Design: Legacy_3BIT
Sun,22 Mar 2020.15:45:16.031976 CPLD Version: 2.1
Sun,22 Mar 2020.15:45:16.032085 EMMC: BCM2708 controller power-cycled
Sun,22 Mar 2020.15:45:16.759521 Loading file /Palettes/Atom_MKII.bin
Sun,22 Mar 2020.15:45:16.759643 Loading file /Palettes/Atom_MKII_Full.bin
Sun,22 Mar 2020.15:45:16.759691 Loading file /Palettes/Atom_MKII_Plus.bin
Sun,22 Mar 2020.15:45:16.759736 Loading file /Palettes/Colour_Genie_N25.bin
Sun,22 Mar 2020.15:45:16.759780 Loading file /Palettes/Colour_Genie_S24.bin
Sun,22 Mar 2020.15:45:16.853877 Loading file /Palettes/Colour_Genie_S25.bin
Sun,22 Mar 2020.15:45:16.854138 Loading file /Palettes/Dragon-CoCo.bin
Sun,22 Mar 2020.15:45:16.854277 Loading file /Palettes/Dragon-CoCo_Emu.bin
Sun,22 Mar 2020.15:45:16.854409 Loading file /Palettes/Dragon-CoCo_Full.bin
Sun,22 Mar 2020.15:45:16.854539 Loading file /Palettes/MDA-Hercules.bin
Sun,22 Mar 2020.15:45:16.854668 Loading file /Palettes/Mono_(2_level).bin
Sun,22 Mar 2020.15:45:16.854797 Loading file /Palettes/Mono_(3_level).bin
Sun,22 Mar 2020.15:45:16.854926 Loading file /Palettes/Mono_(4_level).bin
Sun,22 Mar 2020.15:45:16.855054 Loading file /Palettes/Mono_(6_level).bin
Sun,22 Mar 2020.15:45:16.855182 Loading file /Palettes/RGB.bin
Sun,22 Mar 2020.15:45:16.855311 Loading file /Palettes/RGBI.bin
Sun,22 Mar 2020.15:45:16.855438 Loading file /Palettes/RGBI_(CGA).bin
Sun,22 Mar 2020.15:45:16.899803 Loading file /Palettes/RGBI_(Spectrum).bin
Sun,22 Mar 2020.15:45:16.900083 Loading file /Palettes/RGBrgb_(Amstrad).bin
Sun,22 Mar 2020.15:45:16.900228 Loading file /Palettes/RGBrgb_(Spectrum).bin
Sun,22 Mar 2020.15:45:16.900363 Loading file /Palettes/RrGgBb_(EGA).bin
Sun,22 Mar 2020.15:45:16.900496 Loading file /Palettes/Spectrum_48K_9Col.bin
Sun,22 Mar 2020.15:45:16.943289 FOUND RESOLUTION: 1024x600@50Hz
Sun,22 Mar 2020.15:45:16.943454 FOUND RESOLUTION: 1024x600@60Hz
Sun,22 Mar 2020.15:45:16.943531 FOUND RESOLUTION: 1024x768@50Hz
Sun,22 Mar 2020.15:45:16.943599 FOUND RESOLUTION: 1024x768@60Hz
Sun,22 Mar 2020.15:45:16.943665 FOUND RESOLUTION: 1280x1024@50Hz
Sun,22 Mar 2020.15:45:16.943734 FOUND RESOLUTION: 1280x1024@60Hz
Sun,22 Mar 2020.15:45:16.943879 FOUND RESOLUTION: 1280x720@50Hz
Sun,22 Mar 2020.15:45:16.943956 FOUND RESOLUTION: 1280x720@60Hz
Sun,22 Mar 2020.15:45:16.944024 FOUND RESOLUTION: 1280x800@50Hz
Sun,22 Mar 2020.15:45:16.944090 FOUND RESOLUTION: 1280x800@60Hz
Sun,22 Mar 2020.15:45:16.944156 FOUND RESOLUTION: 1368x768@50Hz
Sun,22 Mar 2020.15:45:16.944221 FOUND RESOLUTION: 1368x768@60Hz
Sun,22 Mar 2020.15:45:16.944288 FOUND RESOLUTION: 1600x1200@50Hz
Sun,22 Mar 2020.15:45:16.944354 FOUND RESOLUTION: 1600x1200@60Hz
Sun,22 Mar 2020.15:45:16.944419 FOUND RESOLUTION: 1920x1080@50Hz
Sun,22 Mar 2020.15:45:16.998840 FOUND RESOLUTION: 1920x1080@60Hz
Sun,22 Mar 2020.15:45:16.999046 FOUND RESOLUTION: 1920x1200@50Hz
Sun,22 Mar 2020.15:45:16.999129 FOUND RESOLUTION: 1920x1200@60Hz
Sun,22 Mar 2020.15:45:16.999199 FOUND RESOLUTION: 640x480@50Hz
Sun,22 Mar 2020.15:45:16.999270 FOUND RESOLUTION: 640x480@60Hz
Sun,22 Mar 2020.15:45:16.999335 FOUND RESOLUTION: 720x576@50Hz
Sun,22 Mar 2020.15:45:16.999408 FOUND RESOLUTION: 800x600@50Hz
Sun,22 Mar 2020.15:45:16.999478 FOUND RESOLUTION: 800x600@60Hz
Sun,22 Mar 2020.15:45:16.999547 FOUND RESOLUTION: Default@60Hz
Sun,22 Mar 2020.15:45:16.999614 Loading file /config.txt
Sun,22 Mar 2020.15:45:16.999686 Read resolution: Default@60Hz
Sun,22 Mar 2020.15:45:16.999752 Read scaling: 0
Sun,22 Mar 2020.15:45:16.999822 Loading file: /Profiles/Legacy_3BIT/Default.txt
Sun,22 Mar 2020.15:45:17.059573 FOUND PROFILE: Atom_v10-v20
Sun,22 Mar 2020.15:45:17.059695 FOUND PROFILE: Atom_v21-v23
Sun,22 Mar 2020.15:45:17.059741 FOUND PROFILE: Atom_v24-v62
Sun,22 Mar 2020.15:45:17.059784 FOUND PROFILE: BBC_Micro_v10-v20
Sun,22 Mar 2020.15:45:17.059827 FOUND PROFILE: BBC_Micro_v21-v23
Sun,22 Mar 2020.15:45:17.059870 FOUND PROFILE: BBC_Micro_v24
Sun,22 Mar 2020.15:45:17.059912 FOUND PROFILE: BBC_Micro_v30-v62
Sun,22 Mar 2020.15:45:17.059955 FOUND SUB-FOLDER: Colour Test
Sun,22 Mar 2020.15:45:17.059998 Loading file /profile_Legacy_3BIT.txt
Sun,22 Mar 2020.15:45:17.060040 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
Sun,22 Mar 2020.15:45:17.060083 Setting profile to 4
Sun,22 Mar 2020.15:45:17.060126 Loading file: /Profiles/Legacy_3BIT/BBC_Micro_v21-v23.txt
Sun,22 Mar 2020.15:45:17.060169 Setting subprofile to 0
Sun,22 Mar 2020.15:45:17.060212 Profile = BBC_Micro_v21-v23
Sun,22 Mar 2020.15:45:17.113897 Detected polarity state at startup = Comp (Mixed H & V CPLD)
Sun,22 Mar 2020.15:45:17.114019 Keycount = 0
Sun,22 Mar 2020.15:45:17.114065 -----------------------LOOP------------------------
Sun,22 Mar 2020.15:45:17.114109 Detected polarity state = C, Comp (Mixed H & V CPLD)
Sun,22 Mar 2020.15:45:17.114153         clkinfo.clock = 12000000 Hz
Sun,22 Mar 2020.15:45:17.114195      clkinfo.line_len = 768
Sun,22 Mar 2020.15:45:17.114238     clkinfo.clock_ppm = 5000 ppm
Sun,22 Mar 2020.15:45:17.156916     Nominal 100 lines = 6400000 ns
Sun,22 Mar 2020.15:45:17.157034      Actual 100 lines = 6405254 ns
Sun,22 Mar 2020.15:45:17.157080           Clock error = 820 PPM
Sun,22 Mar 2020.15:45:17.157123  Error adjusted clock = 11990156 Hz
Sun,22 Mar 2020.15:45:17.157166  Target PLL frequency = 2302110096 Hz, prediv = 1, PER = 4
Sun,22 Mar 2020.15:45:17.157209  Actual PLL frequency = 2302110096 Hz
Sun,22 Mar 2020.15:45:17.157252         GPCLK Divisor = 6
Sun,22 Mar 2020.15:45:17.239016       Lines per frame = 625, (624.999)
Sun,22 Mar 2020.15:45:17.239137 Actual frame time = 40032946 ns (interlaced), line time = 64052 ns
Sun,22 Mar 2020.15:45:17.239184 Window: H = 63732 to 64372, V = 19916391 to 20116555, S = Comp
Sun,22 Mar 2020.15:45:17.269031 Width or Height differ from last FB: Setting dummy 64x64 framebuffer
Sun,22 Mar 2020.15:45:17.299120 Initialised Framebuffer
Sun,22 Mar 2020.15:45:17.299258 Size: 1920x8192 
Sun,22 Mar 2020.15:45:17.299308 Pitch: 1920 bytes
Sun,22 Mar 2020.15:45:17.299355 Framebuffer address: DE000000
Sun,22 Mar 2020.15:45:17.331134 RAM benchmark: Main memory = 800943 ns, Screen memory = 26658433 ns
Nothing else happens unless I press reset to wake it up.
Image

User avatar
BigEd
Posts: 2999
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BigEd » Sun Mar 22, 2020 3:54 pm

This is probably a red herring but what's with this file not found and another file found, with similar but not identical names:

Code: Select all

Sun,22 Mar 2020.15:45:17.059998 Loading file /profile_Legacy_3BIT.txt
Sun,22 Mar 2020.15:45:17.060040 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
Sun,22 Mar 2020.15:45:17.060083 Setting profile to 4
Sun,22 Mar 2020.15:45:17.060126 Loading file: /Profiles/Legacy_3BIT/BBC_Micro_v21-v23.txt

User avatar
hoglet
Posts: 9110
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by hoglet » Sun Mar 22, 2020 3:57 pm

For some reason, it's failing to read the profile:

Code: Select all

Sun,22 Mar 2020.15:45:17.059998 Loading file /profile_Legacy_3BIT.txt
Sun,22 Mar 2020.15:45:17.060040 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
I've never seen this happen before - it does suggest an SD Card issue.

Dave

User avatar
IanB
Posts: 545
Joined: Sun Sep 04, 2011 8:28 pm
Location: South Wales
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by IanB » Sun Mar 22, 2020 3:59 pm

BeebMaster wrote:
Sun Mar 22, 2020 3:33 pm
Incidentally...can I connect the debug wires directly to the GPIO pins on the Pi 4 and save myself a USB slot?
That should be possible, make sure you have:

Code: Select all

enable_uart=1
in your config.txt on the pi 4 which enables the mini uart
Last edited by IanB on Sun Mar 22, 2020 4:06 pm, edited 1 time in total.

User avatar
IanB
Posts: 545
Joined: Sun Sep 04, 2011 8:28 pm
Location: South Wales
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by IanB » Sun Mar 22, 2020 4:02 pm

hoglet wrote:
Sun Mar 22, 2020 3:57 pm
For some reason, it's failing to read the profile:

Code: Select all

Sun,22 Mar 2020.15:45:17.059998 Loading file /profile_Legacy_3BIT.txt
Sun,22 Mar 2020.15:45:17.060040 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
I've never seen this happen before - it does suggest an SD Card issue.

Dave
"profile_Legacy_3BIT.txt" doesn't exist by default and will only be generated if the profile is changed from the default which BeebMaster is unlikely to have done.

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sun Mar 22, 2020 4:07 pm

hoglet wrote:
Sun Mar 22, 2020 3:57 pm
For some reason, it's failing to read the profile:

Code: Select all

Sun,22 Mar 2020.15:45:17.059998 Loading file /profile_Legacy_3BIT.txt
Sun,22 Mar 2020.15:45:17.060040 WARN: Failed to open /profile_Legacy_3BIT.txt (result = 4)
I've never seen this happen before - it does suggest an SD Card issue.

Dave
I think it's looking for that file in "Profiles/Legacy_3BIT/Colour Test" but that exact file "profile_Legacy_3BIT.txt" doesn't exist anywhere in the zip. I get the same error on the working 16GB card.
Image

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sun Mar 22, 2020 4:14 pm

I've started again with another card, 16GB TDK card this time (which has a 4MB unformatted space at the start) and it boots fine and I get a screen image. So for the nonce I'm going to declare the Kingston 8GB card a rogue card, which means I potentially got 9 other rogues as well!

Back to continuity/shorting testing I think.
Image

User avatar
IanB
Posts: 545
Joined: Sun Sep 04, 2011 8:28 pm
Location: South Wales
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by IanB » Sun Mar 22, 2020 4:14 pm

BeebMaster wrote:
Sun Mar 22, 2020 3:49 pm
And what happens at power on:

Code: Select all

Sun,22 Mar 2020.15:45:16.999686 Read resolution: Default@60Hz

Sun,22 Mar 2020.15:45:17.299120 Initialised Framebuffer
Sun,22 Mar 2020.15:45:17.299258 Size: 1920x8192 
Sun,22 Mar 2020.15:45:17.299308 Pitch: 1920 bytes
Nothing else happens unless I press reset to wake it up.
Again that indicates that the HDMI connection to the monitor has not initialised properly.
It's probably a timing issue with that card taking a longer time to boot up or something like that.
Try setting the specific resolution @50Hz for your monitor from the menu.

User avatar
IanB
Posts: 545
Joined: Sun Sep 04, 2011 8:28 pm
Location: South Wales
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by IanB » Sun Mar 22, 2020 4:16 pm

BeebMaster wrote:
Sun Mar 22, 2020 4:07 pm
I think it's looking for that file in "Profiles/Legacy_3BIT/Colour Test" but that exact file "profile_Legacy_3BIT.txt" doesn't exist anywhere in the zip. I get the same error on the working 16GB card.
That's perfectly normal, it will only be created on the SD card if you start changing the profile line in the main menu

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sun Mar 22, 2020 4:42 pm

Right. The short answer is, a short.

Pins 1 & 2 are shorted, I get 0 resistance between them. Pin 1 to GPIO 13 is 0 ohm, Pin 2 to GPIO 6 is 0 ohm, which is correct but also Pin 1 to GPIO 6 and Pin 2 to GPIO 13 each give me 0 ohm as well. So I need to unshort those two pins.
Image

User avatar
hoglet
Posts: 9110
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by hoglet » Sun Mar 22, 2020 4:46 pm

BeebMaster wrote:
Sun Mar 22, 2020 4:42 pm
Right. The short answer is, a short.

Pins 1 & 2 are shorted, I get 0 resistance between them. Pin 1 to GPIO 13 is 0 ohm, Pin 2 to GPIO 6 is 0 ohm, which is correct but also Pin 1 to GPIO 6 and Pin 2 to GPIO 13 each give me 0 ohm as well. So I need to unshort those two pins.
Can you take a nice close-up photo of where you think the short is?

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sun Mar 22, 2020 4:56 pm

Fabrique Belgique!!!!!!!!!!!!
capture2.png
capture3.png
capture4.png
Image

User avatar
BeebMaster
Posts: 3234
Joined: Sun Aug 02, 2009 5:59 pm
Location: Lost in the BeebVault!
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by BeebMaster » Sun Mar 22, 2020 5:10 pm

This is a picture after I took away the short between pins 1 & 2 with solder braid, although it does look like pin 1 has lifted a bit, but it is connected and it works. I think you can see the short in earlier pictures I posted.
RGBtoHDMI3.jpg
Image

User avatar
IanB
Posts: 545
Joined: Sun Sep 04, 2011 8:28 pm
Location: South Wales
Contact:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Post by IanB » Sun Mar 22, 2020 5:19 pm

BeebMaster wrote:
Sun Mar 22, 2020 5:10 pm
This is a picture after I took away the short between pins 1 & 2 with solder braid, although it does look like pin 1 has lifted a bit, but it is connected and it works. I think you can see the short in earlier pictures I posted.
Looks good.

Don't forget to select a 50Hz resolution.

BTW if you want to update to the latest CPLD version some time you can mod the board with 4 wires so the Pi can reprogram the CPLD.
See here (no surface mount soldering required):
https://github.com/hoglet67/RGBtoHDMI/w ... rogramming

Post Reply

Return to “8-bit acorn hardware”