Jump to content
IGNORED

The F18a DIY alternative with HDMI :)


Recommended Posts

4 minutes ago, Hans23 said:

The test run of my SMD version of the board arrived today, and I think it looks pretty good.  It fits into the TI-99/4A perfectly and height-wise, it might even go under the shielding, although I have removed that from all of my consoles and can't really try.  I'll actually try this on the weekend and will send a pull request as soon as I know that it works.

 

image.thumb.jpeg.c3d8abfd41521174c59b64aff3b39d5b.jpeg

image.thumb.jpeg.ced1b29f44b38ddd060c517c2b0d549c.jpeg

image.thumb.jpeg.e0135bc8573afe271dca1a4ad9b72ba4.jpeg

image.thumb.jpeg.73210110bd6145d59dcea078d9a8a306.jpeg

 

 

That is a tight fit indeed. 

Link to comment
Share on other sites

4 hours ago, Duewester said:

@retrocanada76, I've been thinking it probably has something to do with timing. The 9900 in a Ti is different from the (I think it's one)Z80 in the Nabu. I mean the data bus is only one element of the programming but if the timing is out of whack...

So I just commited a faster power on on github. Sync your repo, rebuild and reflash your unit. Other than that is having on TI99 for testing.

Link to comment
Share on other sites

16 hours ago, Hans23 said:

The test run of my SMD version of the board arrived today, and I think it looks pretty good.  It fits into the TI-99/4A perfectly and height-wise, it might even go under the shielding, although I have removed that from all of my consoles and can't really try.  I'll actually try this on the weekend and will send a pull request as soon as I know that it works.

 

image.thumb.jpeg.c3d8abfd41521174c59b64aff3b39d5b.jpeg

image.thumb.jpeg.ced1b29f44b38ddd060c517c2b0d549c.jpeg

image.thumb.jpeg.e0135bc8573afe271dca1a4ad9b72ba4.jpeg

image.thumb.jpeg.73210110bd6145d59dcea078d9a8a306.jpeg

 

 

@Hans23 wow, that's surgical precision! Try my latest push to the repo i made the power on faster.

 

Aynway if the board does not work, can you try using a scope to see if the signals are coming to the TANG ?

here the cheat sheet for the pins:

image.thumb.png.cb745627c85667652887ac99a8e0ba33.png

I need you to check if the ~CSW is actually strobing. ~CSR is used when the CPU reads from the VDP. These signals come from the LVCs, if not strobing, check both ports on them. Who knows the TI might be electrically different.

 

 

Edited by retrocanada76
Link to comment
Share on other sites

13 hours ago, retrocanada76 said:

@Duewester did you try my new code ? just pull my changes, rebuild and re-flash. it might boot faster. I was putting a half second delay to start now it's just a manner of few clocks.

Good morning. @retrocanada76. I've been away from the project (have to give family some time on occasion🙂)

I'm gonna start with your first idea and sync up my repository to yours (I hope- I'm not real good with GitHub). I'll start with that and let  you know how things are going.

Link to comment
Share on other sites

14 hours ago, retrocanada76 said:

@Duewester did you try my new code ? just pull my changes, rebuild and re-flash. it might boot faster. I was putting a half second delay to start now it's just a manner of few clocks.

OK, we're getting somewhere o9n this. When I turn on the PC with the HDMI connected, I get this boot screen.

image.thumb.png.f06363361147d03da8dae6e7c3e27fee.png

 

HOWEVER! When I turn on the PC with HDMI disconnected and then connect after a second or two - Two beeps from a remote speaker I have connected.

I get This.

image.thumb.png.9f5449641485c6559cf6c566178cb82d.png

I can press a key and I get the Select screen.

When I left everything connected and cycled power to the unit it came up working. Good news, but bad news followed.

When I tried cycling it again I got a white screen and a constant tone.

Different power cycles provided different results. Different tones, boot screen sometimes with or without tones.

But as long as I power on the PC with the HMDI disconnected, wait for the beeps, and then connect HDMI - it works.

 

 

Link to comment
Share on other sites

So maybe, wrong direction with clock cycles?

Here's part of the timing chart.

image.thumb.png.f821a2d38bfb37c3d9752b5cb6fb4dce.png

 

I'm not very good at this but looks to me time you need 6 or 7 clock cycles.

And hereimage.thumb.png.89a79dd089338900b63e608ffe863318.png

they talk about a 100 nanosecond wait for the noise to clear.

 

So, looks to me like 100 nanoseconds and 6 clock cycles are important numbers.

Link to comment
Share on other sites

Well at least some progress. The signals are getting into the board. It's is more a timing boot process.

 

So I just pushed another change to the github. Now I start gromclk and cpuclk right after the boot just like the f18a does. I was holding up on the power on reset for the rest of the board. 

 

So try now and see if it boots stand alone.

 

otherwise only a hands on with a scope to better understand what's going on.

 

if still doesn't work make sure your project is set to 25Mhz loading rate. Just open Project -> Configuration -> BitStream. Loading rate should be 25 (it's the maximum for the board)

 

image.thumb.png.8f5427bfd958fd6bc07dd52ad3945ac4.png

Link to comment
Share on other sites

Have you populated the VGA breaker ? I would like to know if it works from the VGA straight on. Also, try a different HDMI monitor if possible. Some TV or monitors keeps poking the I2C info from the HDMI sink, I don't know if this could cause any issue but you see a led blinking constantly. But hey, we are getting progress here :D. I will be off for the rest of the day returning home later. Good luck

Link to comment
Share on other sites

2 hours ago, retrocanada76 said:

Well at least some progress. The signals are getting into the board. It's is more a timing boot process.

 

So I just pushed another change to the github. Now I start gromclk and cpuclk right after the boot just like the f18a does. I was holding up on the power on reset for the rest of the board. 

 

So try now and see if it boots stand alone.

 

otherwise only a hands on with a scope to better understand what's going on.

 

if still doesn't work make sure your project is set to 25Mhz loading rate. Just open Project -> Configuration -> BitStream. Loading rate should be 25 (it's the maximum for the board)

 

image.thumb.png.8f5427bfd958fd6bc07dd52ad3945ac4.png

Loaded the changes.

Same results - Tone with eventual boot screen if plugged in while starting. Works if plugged in after pc bootup.

Verified the configuration is same as above.

Link to comment
Share on other sites

2 hours ago, retrocanada76 said:

Have you populated the VGA breaker ? I would like to know if it works from the VGA straight on. Also, try a different HDMI monitor if possible. Some TV or monitors keeps poking the I2C info from the HDMI sink, I don't know if this could cause any issue but you see a led blinking constantly. But hey, we are getting progress here :D. I will be off for the rest of the day returning home later. Good luck

I will build vga board.

I have used two TV's. One very old and one about 5 yrs old.

Tang light does not come on if hdmi is plugged in during boot.

Link to comment
Share on other sites

I assembled a VGA board.

Plugged in VGA and powered on the pc. Beep and up it came. Cycled power several times and it came up every time.

The HDMI cable is not plugged in.

Turned on PC with VGA unplugged. Beep. Plugged in VGA - screen came up.

While PC still on - Plugged HDMI and changed TV to HDMI and screen came up.

Cycled power with HDMI selected and PC came up once and then toned on subsequent turn on.

Selected VGA with HDMI still plugged in but power off to PC. Turned on PC and came right up. Selected HDMI and screen was up.

VGA on a Monitor and HDMI on TV - power on PC and Tones with eventual F18a boot screen on both .

Turn off HDMI at TV and PC but all still connected. Power up PC and VGA monitor comes on.. Select HDMI on TV and screen comes on.

 

Have to say, the colors are more brilliant on HDMI than VGA but that could be a VGA monitor tuning thing.

 

So it looks like an HDMI timing issue to me. As longs as there is no place for HDMI signal to go on bootup, it works. But if you have HDMI connected and selected (at TV) when powering up the PC, fault.

Link to comment
Share on other sites

Well I tried a New shorter HDMI to Mini HDMI cable with Adapter.

I thought we were onto something but after about three TI power cycles it was back to a long tone before the F18a boot screen.

Dangit.

I tried different HDMI ports on TV and with and without my flat cable jumper.

I do see this though, if I leave the TI off for a while (a minute or so) and then power it up with the HDMI connected- it boots up perfectly about 3 out of 5 times. The longer the power off interval, the better the chance it comes up.

Found another new HDMI cable that is short but standard size. Still no joy with boot up. At least I have a short cable now that doesn't make a mess of my workspace.

 

Scratch that 3 out of 5 thing. It's back to the same ol' same ol...

Edited by Duewester
Link to comment
Share on other sites

There is a tiny little jumper on tang 9k closer to the hdmi. See if you are capaple of shorting it. Try protecting the other components with kapton tape then you apply flux and a bit of solder. Some people commented it fixed some hdmi problems with certain TVs

 

image.thumb.png.fa5c46869cf0c303255f2e6de23cc2f2.png

Edited by retrocanada76
Link to comment
Share on other sites

Shield installed. Edges taped off. HDMI flat Cable running under Fat Board. VGA connector has to be installed after shield.

image.thumb.png.59bb010c4fe81823870f79f389348ce7.png

 

The cover fits!

image.thumb.png.3d8d5fee8aa0b71a9d559f8eceb0f4fa.png

The power board isn't in and the keyboard is disconnected but the case doesn't hev to cut open on top for the board to clear even with the HDMI adapter installed.

Link to comment
Share on other sites

42 minutes ago, retrocanada76 said:

There is a tiny little jumper on tang 9k closer to the hdmi. See if you are capaple of shorting it. Try protecting the other components with kapton tape then you apply flux and a bit of solder. Some people commented it fixed some hdmi problems with certain TVs

 

image.thumb.png.fa5c46869cf0c303255f2e6de23cc2f2.png

Ooooo that's a tiny a little jumper. I have Kapton and and needle soldering iron but if I screw this up I'm down to one Tang. I think I'll hold off till tomorrow when I'm fresh to attempt this one.

Link to comment
Share on other sites

Today, I finally tested the SMD PCBs and it seems everything is fine with them:

 

image.thumb.jpeg.1009a0b3308bfd9f643e63ef3850b4ee.jpeg

 

The HDMI output does not, however - I just see the F18A initialization screen.  I've added the bridge near the HDMI socket just for good measure, but as the monitor could display the signal just fine, that'd not make any difference.

 

Is it possible that the HDMI initialization takes more time, making the F18A miss the initialization sequence from the TI?  I'll try to think of a way to measure this to see if it is really the case.

 

I am totally stoked that this works!  Thank you @retrocanada76 for taking on this project!

  • Like 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...