Ok, it's (maybe) finished. i salvaged the 47pF Caps from my old 65C02 SBC (ironically USB on that SBC still works perfectly fine without them), there are still 2 bypass caps missing but it should be fine for now.
first of all, an image of the whole board:
Attachment:
20220810_190943.jpg [ 2.9 MiB | Viewed 921 times ]
There is already a botch wire, between the 2 SRAM ICs, because U6 was so tilted that the top left pin wasn't making contact at all no matter how much solder i threw at it, so i just added a small bridge to the IC next to it, since it goes to the same connection. i also checked it with a multimeter to make sure the bridge wasn't making contact with the pins next to it.
So, power on. the LM340T does get really really hot with all ICs in place. i only have small heat sink i can put on it for now, but i'll order some actual TO-220 ones for it later. (any tips for cooling? active/passive? is a voltage closer to 5V better for avoiding heat? i did use a 12V DC Adpater but i have an adjustable one that i can set to 7.5V or 6V for example)
Checking the clock circuit it appears to be working right. the slowest DIP-8 clock i have is 1.8MHz, which generates a ~900kHz GCLK and PHI1/PHI2.
but that's basically where the good things end, the CPU seems to be stuck in a reset loop for random amounts of time. i checked VPB with my scope and it's constantly going until it randomly decides to stop.
welp, turns out i left the BE pin floating... well frick, i'm gonna have to connect it to 5V via a resistor tomorrow.
another thing that doesn't work, USB. my PC sees that there is something plugged in but cannot figure out what, so basically it cannot communicate with the FT240X.
it is being powered correctly, i also checked the 3.3V and 1.8V outputs and they are correct as well (meaning the IC isn't fully dead). i compared the traces with my old 65C02 SBC and the USB connections are also right, the 27 Ohm Resistors have the correct (measured) value, same with the capacitors.
well well well, like with the CPU i think i found the issue while writing this post.
the datasheet for the FT240X says that RESET can be left unconnected when not needed, but the same datasheet also shows it being pulled high to 3.3V in the examples. luckly the pin is right next to a 3.3V powered pin so using a small wire i hand-bridged the pins and powered on the board... and tada it appears in device manager like nothing bad happend 5 minutes ago.
i stopped bridging the wires and power cycled it (fully unplugged for like 10s), and after power up it still works????? apparently this was just a 1 time issue where it wasn't able to properly start up itself or something because RESET was "floating", and now that it finished it's inital power up it just works everytime now?
I think i'll still solder a small bridge between the pins to always have RESET pulled up, as i don't trust this thing fixing itself like that...
but atleast it's a massive relief that the IC itself is not broken, so something good i guess?
i'll report back with more tomorrow as without any CPU signals i cannot check the rest of the system. I'm hoping that by the weekend i'll have a functional SBC so i can start writing the ROM code