Saturday, 3 August 2013

Slow news month(s)

So, not much visible progress has been made over the last couple of months...

The laser cut case from the last video fit pretty well, as you can see them here:

I would like to tighten up the holes a little so that the board doesn't rattle around when the PCB doesn't have feet attached, but it's still a pretty good second effort. Sadly, it looks like I won't be making any more cases for a while - fizzpop moved to their own building, so no longer has access to the laser cutter I used before. There are plans to buy one in the near future, but that'll be a few months off. And besides, I seem to be too busy doing other things to actually make it along anyway!

I've been (silently) working on the FDC emulation (which I decided to do on the Atmega side) - a first version works, but it's a bit buggy. It manages to load a few demos, but it's nowhere near stable enough to release publically.

I've also been trying to get the DVI transmitter chip to work. It looks like I forgot a couple of connections to the chip, although often fixing them up I still can't get the chip to actually transmit any data. It's hard to tell where the problem lies, sadly, so it might still be some time before I get DVI output working...

So today, I decided to investigate how many shades I can coax my 2-bit DACs to produce... I'll give you a clue, it's more than 4! :) There are about 30, although quite a lot of them are difficult to discern, but it looks like there are enough shades to produce the equivalent of a 4-bit DAC. I took some pictures so I can analyse them better:

The other big news is that I've got a new job, starting in 2 weeks. I guess that might mean I get even more busy though...

Thursday, 23 May 2013

Laser cutting a new case and other news

I've mostly spent the last couple of weeks making a start on the floppy disk emulation code. I decided to move most of the complex code that dealt with the FAT filesystem away from the FPGA as the state machine was getting very large and consuming lots of resources, and instead having it running on the Atmega support processor (which is fine because it's mostly idle unless being used as a USB to FPGA bridge and I've got about 14KB of flash ROM unused).

I've now fully encapuslated the IO between the two sides with a nice reliable protocol based on SPI where the different sides switch between being master and slave so that the AVR can be woken up by interrupt when the disk starts being used but then gain control so it's can manage the data transfer so that no bytes get dropped (as they might if the FPGA was the SPI master). So, now, I have the FPGA-AVR communication code working, the AVR handling the FAT meta data, so I just need to stick the disk image format code in... :)

And tonight, I was back at fizzpop after a couple of weeks of not being able to make it along. Here's a video of me cutting a redesigned version of the case to hold the CPC2013 board:

It seems that the holes are almost in the right place this time - I'll post pictures in the morning, but the acrylic is currently out in the porch until the smell dissipates a bit...

Thursday, 2 May 2013

Prototype case

I made a prototype version of a case for the CPC2013 last night at fizzpop using the laser cutter:

It's a little too small for the PCB, the holes aren't quite in the right place and a couple of them are missing as I forgot to convert the circles into bezier paths. But hopefully, armed with the knowledge that it can actually be done I'll be able to get it right next week... :)

The case is based on the Adafruit Raspberry Pi design at thingiverse which seems suspiciously similar to one I bought on ebay! My modifications are available in my github repository...

Thursday, 28 March 2013

First of my revision 2 PCBs

Mostly working well. There's a couple of minor mistakes, but everything mostly seems to work insofar as I've tested it. Annoyingly, I ordered the wrong size oscillators after sending off the PCBs, so the wires are heading off to the master 16MHz clock. Amazingly, there doesn't seem to be any interference!

Monday, 11 March 2013

Updated revision 2 schematics

My friend reenigne suggested I have separate audio and video ground paths, so I've made that change and decided to do the same with the USB ground, even though it wasn't explicitly required.

Hopefully this will all work now, I've sent them off to be fabbed! \o/

Saturday, 9 March 2013

I think I've finished the revision 2 board layout

So, I've been VERY quiet recently. It's not that I've not been doing anything on this project. Quite the opposite...

After quite a few late nights, I think, or at least hope, I've finished my new board layout. I can't see anything obviously wrong with it, but neither did I before I found a very obvious error about an hour ago... :o

Monday, 4 March 2013

Busy doing a new layout

So, I've been pretty quiet recently apart from posting a few links. I'm actually busily routing revision 2 of my board and hoping I'll be able to send it off this week to have some made up. Hopefully this will fix all the issues I found on the previous board as well as having a lot more expansion options...

I'll post some pictures when it's finished! :)