Debugging noisy clock signal, part 2

Posted on Thu 29 May 2025 in MUPS16 • Tagged with debugging, analogue, clock

A couple of days ago I managed to get the clock looking much better with some capacitors and a small smoothing resistor. So, armed with my new oscilloscope, it was time to hook it back up to the rest of the system and see how things worked.

Short answer: they …


Continue reading

Debugging noisy clock signal, part 1

Posted on Tue 27 May 2025 in MUPS16 • Tagged with debugging, analogue, clock

Following on from the last investigation into the mysterious decrement bugs I decided I'd done as much debugging as I could with just my old Saleae logic analyser, and took the plunge and bought an oscilloscope. I'm surprised I've managed to get away without having one for so long.

Once …


Continue reading

Debugging decrement bugs

Posted on Thu 24 October 2024 in MUPS16 • Tagged with debugging, registers

Since I added the hacked up display module, I've noticed an issue that's cropped up a few times. Since I haven't properly implemented reading the status register from the LCD controller yet, I've had to put small delay loops between character writes to avoid sending data too quickly. These are …


Continue reading

Debugging the decode board rev. 1.2

Posted on Sun 22 September 2024 in MUPS16 • Tagged with debugging, control, pcb

Some quick notes on debugging the new revision of the decode card:

  • plugging card in prevents reset from making any progress. With the logic analyser it's clear that rst_trig is being triggered every clock cycle. This is because there's a bug in the logic for controlling the control memory daughter …

Continue reading

New issues with the MMU

Posted on Sat 03 August 2024 in MUPS16 • Tagged with debugging, mmu, pcb

I had thought the MMU was pretty solid, since I gave it a good test after its v1.1 rework, and didn't find any issues. In testing the control unit, though, I've noticed some weirdness. Mapping addresses didn't work consistently. More often than not, about half the bits were incorrect …


Continue reading

Debugging the ALU v 1.1

Posted on Wed 31 July 2024 in MUPS16 • Tagged with debugging, alu, pcb

Notes:

  • low-temperature solder paste does not flow nearly as well as original version. Maybe because it's not thermally stable, and I'm not storing it at a constant temperature?

  • short between VCC and GND after assembly and soldering. Removed 48 of 60 capacitors before finding the culprit on the 49th.

  • bug …


Continue reading

Thoughts on hardware debugging

Posted on Sun 11 September 2022 in MUPS16 • Tagged with debugging, control

The control lines are designed with a couple of common features:
  • they all have a safe or no-op state when the lines are high. For simple lines, this means that they are active-low. For encoded lines, this means that all ones is a no-op command
  • they all have pullup resistors …

Continue reading

Debugging the MMU

Posted on Wed 19 May 2021 in MUPS16 • Tagged with debugging, memory, mmu, pcb

Notes

I don't really have time to write this up properly, so these are just some notes from debugging the MMU as I go along.

20210517
  • left-hand A bus connection is misplaced by X mm (too far right)
  • set_tbl_index works
  • set_tbl_entry mostly works? Seems to set the physical page correctly …

Continue reading

Debugging the Memory Board, pt 2.

Posted on Tue 04 May 2021 in MUPS16 • Tagged with debugging, memory

Three out of four ain't bad

OK, so it took a little while (real life keeps getting in the way), but I've done a bunch more testing of the memory board. The good news is that 3 of the 4 RAM chips work perfectly. I wrote a trivial test program …


Continue reading

MMU board soldered, and debugged

Posted on Tue 01 September 2020 in MUPS16 • Tagged with debugging, memory, mmu, pcb

I finally put together the MMU, the fourth of the seven PCBs that arrived in my August batch. A couple of things were obvious right off the bat:

  1. I'd somehow screwed up the silkscreening, and all the text labels for the current MMU mode on the left of the board …

Continue reading

Reset board PCBs arrived!

Posted on Tue 18 August 2020 in MUPS16 • Tagged with debugging, memory, reset, pcb

A big batch of PCBs arrived last week from China (7 different boards!), and I decided to have a go at the reset board first. This is a straightforward conversion of my breadboard prototype, so I thought it would be quick and easy to assemble and test, and I could …


Continue reading