Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| builderpages:plasmo:t68krc_r01 [2021/09/27 14:09] – Revision from 2021-09-27 | builderpages:plasmo:t68krc_r01 [2026/06/15 13:12] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | /* Imported from Wayback Machine | ||
| + | | ||
| + | | ||
| + | | ||
| + | */ | ||
| + | |||
| + | ====== T68KRC, Tiny68K for RC2014, Rev 0.1 ====== | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | |||
| + | T68KRC derived from version 1 of [[boards: | ||
| + | |||
| + | Here is link to [[builderpages: | ||
| + | |||
| + | Figure below shows an assembled T68KRC. | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | ===== Features ===== | ||
| + | |||
| + | Motorola 68000 CPU | ||
| + | |||
| + | MC68681 DUART, port A is the console operating at 38400 baud, 8N1, with CTS/RTS hardware handshake. | ||
| + | |||
| + | Altera EPM7128 CPLD contains the glue logic: | ||
| + | |||
| + | State machine to load 32K serial flash when powered up or with a reset, | ||
| + | |||
| + | DRAM controller for the 2-megabyte DRAM, | ||
| + | |||
| + | Hidden CAS-before-RAS refresh in hardware, no software overhead required, | ||
| + | |||
| + | memory decoder, | ||
| + | |||
| + | Interrupt controller, | ||
| + | |||
| + | Bus Error watchdog timer, | ||
| + | |||
| + | 8-16 MHz oscillator. | ||
| + | |||
| + | 32Kbyte serial flash, 24C256 as the boot device. | ||
| + | |||
| + | Second 32K serial flash that can be programmed in-situ and serves as the alternate boot device with just one jumper change. | ||
| + | |||
| + | 44-pin edge connector interfaces to a low-cost IDE-CF module | ||
| + | |||
| + | HY5118164 1Mx16 DRAM | ||
| + | |||
| + | I/O expansion port compatible with RC2014 I/O bus interface. | ||
| + | |||
| + | 7-segment LED display as visual indicator of board operations. | ||
| + | |||
| + | Target for CP/M-68K ver 1.3 | ||
| + | |||
| + | 100mm x 76mm 2-layer pc board | ||
| + | |||
| + | ===== Description ===== | ||
| + | |||
| + | This is a basic 68000 single board computer with one unusual feature. The boot ROM is stored in an low-cost 256kbit serial EEPROM, 24C256. At power up or when reset button is pressed, the content of the serial EEPROM is copied into the low address of DRAM while 68000 is held in reset. When the copying operation is completed, the 68000 nRESET is released and it boots from the code in EEPROM. The design motivation is cost saving because serial EEPROM is significantly cheaper than two ROM devices; 2 meg DRAM is cheaper than the equivalent SRAM and the programmable logic required to load serial EEPROM and interface to DRAM is a low-cost, medium complexity CPLD which is needed in any case for a traditional design. Because the serial EEPROM is a small 8-pin device and the 1meg x 16 DRAM is in space-saving 44-pin SOJ package, the resulting circuit board is smaller, thus at lower cost, . The theory of operation is described in greater details below. | ||
| + | |||
| + | The CPLD is an Altera EPM7128SQC100 that contains both the serial EEPROM loader as well as the DRAM controller. To copy the content of the serial EEPROM to DRAM, there are a number of distinct operations: | ||
| + | 1. The serial EEPROM' | ||
| + | 2. After the serial EEPROM' | ||
| + | 3. The serial EEPROM loader state machine is a large counter chain consists of a 15-bit byte counter for 32K bytes of data, a bit counters for 8-bit data plus 1-bit acknowledge, | ||
| + | 4. Because 68000' | ||
| + | 5. The serial clock rate is 500KHz or 2uS per bit and there are 9 bit per byte (8 data bit plus acknowledge), | ||
| + | 6. At the end of the copying operation, the content of the serial EEPROM will reside in the lowest 32K bytes of DRAM. The base address of DRAM is at 0x0 so upon the negation of 68000 nRESET at the end of the copying operation, the 68000 will fetch valid data in DRAM just copied from the serial EEPROM. | ||
| + | |||
| + | The software development environment for the serial EEPROM is as followed:\\ | ||
| + | * EASy68K is the 68000 assembler which generates S-Record as its output.\\ | ||
| + | * EASyBIN converts the S-Record to binary format\\ | ||
| + | * a USB-based serial EEPROM programmer, CH341A, reads in the binary data and programs a serial EEPROM. This serial EEPROM becomes the boot device | ||
| + | |||
| + | ==== Memory map ==== | ||
| + | |||
| + | RAM is from 0x0 to 0x1FFFFF, | ||
| + | |||
| + | Serial Flash is from 0xFFD000-0xFFDFFF | ||
| + | |||
| + | IDE-CF is from 0xFFE000-0xFFEFFF | ||
| + | |||
| + | 68681 DUART is from 0xFFF000-0xFFFFFF | ||
| + | |||
| + | RC2014 expansion bus is from 0xFF8000-0xFF8FFF. 2 wait states access ← **verify this** | ||
| + | |||
| + | ===== Design Files ===== | ||
| + | |||
| + | Rev 0.1 [[https:// | ||
| + | |||
| + | Rev 0.1 [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | Part list | ||
| + | |||
| + | ==== Software ==== | ||
| + | |||
| + | Tiny68K [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | CP/M-68K [[https:// | ||
| + | |||
| + | CP/M-68K v1.3 distribution [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | Utility | ||
| + | |||
| + | Memory diagnostics | ||
| + | |||
| + | Clear CP/M memory area | ||
| + | |||
| + | ==== Connect to a PC ==== | ||
| + | |||
| + | A PC with terminal program such as Hyperterminal is needed to interface with Tiny68K. An USB-to-serial adapter with TTL level input/ | ||
| + | |||
| + | ==== Powering up T68KRC ==== | ||
| + | |||
| + | Apply 5V to the board via the 2.5mm power jack, the center is 5V, barrel is ground. The nominal power consumption at 8MHz system clock is 500mA. When powered is applied, the 7-segment LED will display ' | ||
| + | |||
| + | ==== Creating a new CF disk ==== | ||
| + | |||
| + | Procedure for [[builderpages: | ||
