keropi wrote on 2021-04-24, 07:04:
really? I just assumed that the -1 eprom is the same and all you upgrade are the -2 and -3
what is in -1 that is no longer needed? any idea?
The -1 chip contains the code that is executed by your host processor (usually a 80486 for the VL edition). This ROM is accessed 8 bit at a time. The -2 and -3 chips are combined to provide 16 bit at a time and contain the code that is executed by the on-board 80186 processor (the controller firmware).
A lot of the Tekram controllers show what happens if you rush to market:
The first generation of the Tekram DC-600 controller had an 8-bit architecture (with an 188 cpu), and just a single 32K ROM chip for the controller firmware. It also contains a single 32K RAM chip for cache management data. The firmware for the DC-600 controller has been developed to these specs. The second-generation controllers have a 16 bit processor (the 80186) and an custom integrated controller chip (the ST-100AII for ISA, the ST-200AEI vor EISA or the ST-300ALI for local bus). To make up for the 16-bit bus of the the 80186, they added a second ROM and RAM chip, for 64K cache management RAM and 64K controller firmware. The hardware development team also added a small 512 byte "bootstrap" ROM for the host processor into the integrated controller chip. The controller firmware can set a control bit in the controller chip to toggle between the integrated bootstrap ROM and the dedicated host ROM (the -1 chip). The 1.x firmware for the second-generation controllers does not use the enhanced hardware capabilities of the second generation controllers: This firmware is still limited to 32K of ROM and RAM, and it does not support the bootstrap ROM, so the bootstrap ROM is disabled if you run the 1.x firmware.
The 2.x firmware for the Tekram controllers has better overall performance, provides better compatibility to IDE drivers in the host OS (most notably, the 2.x firmware implements the ATA identify command), and uses the full 64K of RAM and ROM. The complete host code (both the enhanced IDE driver and the setup program) is stored in the controller firmware ROM. The bootstrap ROM asks the firmware to deliver the 40K host code and data during the POST, and permanently installs the IDE support part into the conventional RAM (if configured that way).