Introduction to ZDI interface

A project log for eZ80 open-source programmer

AVR-based interface to access eZ80 CPU through ZDI signals - usable as programmer/debugger

hynekhynek 02/03/2016 at 08:470 Comments

Basically, ZDI has simple read/write interface similar to I2C bus. Communication starts with START condition, 7-bit address is sent and read/write selector bit, 9-th bit is used as bit separator to allow change between input and output direction.

Unfortunately, I2C peripheral is not usable for this purpose.

To simplify initial debugging, ATmega8 interface is connected to UART, so it can be easily controlled from serial terminal.

Interface has two basic commands:

These commands should be sufficient to control all future things but for manual testing/debugging other "high-level" commands were added:

I plan to add better debugging support: setting break addresses, smart register printing (changed registers only) etc.

Now it is time to work on programming utility...