www.jupiter-ace.co.uk

Hardware articles index > The ACF version 2


The ACF version 2


A
fter we had built the experimental ACF 1 we found that the address line were being overloaded resulting in the values floating, resulting in keyboard malfunction (address lines drive the keyboard matrix). I new design text file was written by Edwin and the experimenting continued see below. Edwin also came up with some images to help those who would like to build the ACF these images can be seen below but are not used now and were only a visual guide. There are also some images of our ACF version 2's and my ACF version 2.5 with two IDE ports, just may be we could have a Master and Slave CF drives!
During testing it was found that noise on the 5V could reset the card so pin 1 on the IDE needed to be pulled high. A 10k resistor was added between IDE pin 1 and +5V line, needed to stop electrical noise. After these prototypes we started to use Eagle Cad package to do a proper schematic drawing. I had also by this time built the 96KRAMpack as Edwin and I were both concerned about running out of memory on a standard 3K Ace, maybe both interfaces could be put on one board?


========================================
 ACF - Ace Compact Flash Interface v1.22
========================================


ACF Port Numbers
================

Decimal Hex	Description

127	07F	Data Register
383	17F	Error
639	27F	Sector Count
895	37F	Sector
1151	47F	CylLo
1407	57F	CylHi
1663	67F	Head
1919	77F	Command

========================================
 Vero Board Wiring
========================================

1) IC supply voltages
======================

Voltage	IC.Pin  description
5V	245.20  5V supply
5V	244.20  5V supply

0V	245.10  0V Supply
0V	245.10  0V supply
0V	245.19  output enable
0V	244.17  unused inputs 

Notes:
Make 0V rail/wiring at solder side and 5V wiring at
component side going underneath the ICs first.
Before soldering the ICs Recommended to use 22nF
or 47nF capacitors across the supply voltages of both ICs.
Also connect 0V and 5V to IDE header as described below 
first before the other signals.

2) IC outputs to CF-IDE adapter Wiring
=======================================

IC.pin		IDE-pin Signal
245.18		3	D7
245.17		5	D6
245.16		7	D5
245.15		9	D4
245.14		11	D3
245.13		13	D2
245.12		15	D1
245.11		17	D0
	
244.18		23	/IOWR
244.16		25	/IORD
	
244.14		33	A1
244.12 		35	A0
244.9		36	A2

0V			37	CS1 (TASK Registers, always selected)
5V			38	CS3 (Device control, not used)

5V			20	5V supply via Cable Select on the P11 IDE Board
0V			40	0V Supply


Ace to IC inputs
==========================
Ace 	IC.pin
D7		245.2
D6		245.3
D5		245.4
D4		245.5
D3		245.6
D2		245.7
D1		245.8
D0		245.9

/WR		244.2		
/RD		244.4 + 245.1   

A8		244.8
A9		244.6
A10		244.11

/IOREQ	244.15
A7		244.13


Diode Resistor OR gate
======================

       1N4148	
244.7 --->|----\__244.1 + 245.19 
244.5 --/\/\---/
       1 KOhm
	          
Testing
-------
TEST 1 - Status register test
	type in the following 
	1919 IN .
	It should print 80 on the screen.

TEST 2 - Register Test
	enter the following word
	: S CLS 8 0 DO I 256 * 127 + IN . CR LOOP ;
	It should print the following:
	x (Ignore the first byte)
	1
	1
	1
	0
	0
	0
	80

TEST 3 - Write command test
	Type the following
	144 1919 OUT

	Look at the drive activity LED when you press enter.
	You should see the LED light up for a short moment.
  


Edwins build guide images for version 2.
  
Top and bottom images of Edwins ACF version 2 built.
Note: the IDE pin 1 pullup resistor had not been added yet on this build.


  
Steves ACF version 2 top and bottom images.
The 10k pullup resistor has been added in these images.


But can we read anything from the card?

Yes! - its a bit jumbled up but here we have the CF cards content of the master boot record sector , and some error messages that relate to Windows as the card was formatted with Windows XP FAT format.


  
Steve's test ACF version 2-5 to see if we could have two IDE CF cards. By setting the P11 boards to Master and slave. At this point I had drawn up a schematic of the ACF 2 with the two IDE ports and decided to get a pcb made to test the design so far as a pcb. From now on the pcb version was ACF 3.


Valid HTML 4.01 Transitional