Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| builderpages:plasmo:tiny68kdesign [2024/11/06 19:56] – Revision from 2024-11-06 | builderpages:plasmo:tiny68kdesign [2026/06/15 13:13] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | /* Imported from Wayback Machine | ||
| + | | ||
| + | | ||
| + | | ||
| + | */ | ||
| + | |||
| + | **Tiny68K design** | ||
| + | |||
| + | Tiny68K [[https:// | ||
| + | |||
| + | Tiny68K Altera 7128SQC100 schematic | ||
| + | |||
| + | 6/16/2017, [[https:// | ||
| + | |||
| + | ---- | ||
| + | |||
| + | 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; 16 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 16-meg DRAM is in space-saving 72-pin SIMM format, 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 | ||
