Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This was thought to be due to an intermittent timing error from the decode chip CD74HCT139 which switches between the RAM and Flash chip but after the Z88 Hardware Investigation, it has been discovered to be a misunderstanding by both the hardware and software engineers on how to write faultlessly to the flash chip. This has only affected a few users, i.e. those who play games in RAM or who do repetitive writing to the flash card. The majority of users have not reported any problems. 

Object

Although the best solution would be a software upgrade to OZ 4.7 allowing users to update their cards, it has been decided to see if by changing the hardware the same result may be achieved. See Writing to Flash Chips for a full explanation of what needs to be fixed. NOTE: This needs to be updated with the results found here.

...

Choosing the output

Using the above truth table was difficult. Connecting the other inputs to the desired state i.esignal that we wish to control as the Enable signal, choosing which out put is used is determined by A0 and A1. In this case they are both high, which means that Y3 is used.

  • ROE to E (Pin 15)
  • Vcc to A0 (Pin 14) for A19 high
  • Vcc to A1 (Pin 13) for logic 1

...

This procedure was repeated for

  • ROE to E (Pin 15)
  • Vcc to A0 (Pin 14) for A19 high
  • GND to A1 (Pin 13) for logic 0

...


CEA19LOGIC 1ROES
256K FLASH PROTECTEDX111
256K FLASH110ROE
512K RAM00

Connection List 512K


I/O
EA0A1

PIN
No







I/O
PIN
No





FROM Z88 SE1IE110
1
000
FROM Z88 ROEIE1510
1
000
FROM Z88 MA19IA02
0
X
x
1010
FROM Z88
MA19
SE1IA014
0
X
x
1010
LOGIC 0 - 0vIA13
0
X1
x
10
11LOGIC 1 - Vcc
0
FROM Z88 MA19IA113
0
X1
x
10
1
0
1
TO RAM CEO
000

Y0

411110

O

Y0

1211110
TO FLASH CEO
001

Y1

511101

O

Y1

1111101

OY26
0
1101
Y26
1
TO FLASH ROE_SOY21011011

O
011
Y37
TO FLASH ROE_SOY39
10111
1


O
X
Y3
X
91
1
011

As all the inputs on the 2nd decoder have been tied to LOGIC 0 - GND, pin 13 was changed to GND, which moved the output (ROE_S) from pin 9 (Y3) to pin 11 (Y1).

...


Connection List 1M


I/O
PIN
No







I/O
PIN
No





FROM Z88 SE1IE110
1
000
FROM Z88 ROEIE1510
1
000
FROM Z88
A19
MA19IA02
0
X
x
1010
FROM Z88
A19
SE1IA014
0x
X1010
LOGIC 0 - 0vIA13X
0
1
x
10
11FROM Z88 SE1
0
LOGIC 0 - 0v
IA113
0
X1
x
10
11
0
TO RAM CEO

Y0

411110
TO FLASH ROE_SO

Y0

1211110
TO FLASH CEO

Y1

511101
TO FLASH ROE_S


O

Y1

1111101

OY2611011

OY21011011

OY3710111

OY3910111

Conclusion

It has been a long journey to get to this point, but we are pleased to report Further testing will be done before reporting that a hardware solution has been found.

...

  1. The chip select of the decoder remains unchanged.
    This selects the RAM Chip Enable when A19 is low and the FLASH Chip Enable when A19 is high.
  2. The FLASH chip only uses its Chip Enable when it is read, like a ROM.
    The second independent part of the decoder does a similar function to the FLASH chip like the first, by only enabling its Output Enable signal with ROE, when A19 is high and Card Enable is low. This means that when the on board RAM is accessed, or the card is no longer enabled, the FLASH chip is no longer able to write to the data bus.
  3. The extra circuitry does in effect the same thing as the chip enable, but gates the Output Enable signal. This prevents the flash chip from writing to the data bus when it is not selected.

POE & ROE

Splitting these two signals on the 512K/512K Flash/RAM card has made no difference. There are more cycles generated on the POE signal to refresh the RAM, but it was found that even Cambridge are using the ROE signal for their RAMs so it is proposed to leave ROE to Output Enable the FLASH and RAM as before.

...

https://tinyurl.com/mkdlwv4

512K Flash Modifications

Image RemovedImage Added

1M FLASH

PinPinPinInstruction
Pin




Cut track (ROE) underside from pin 24U324512K FLASH
U4131415Lift up pins DO NOT CONNECT TO PCB


U413

(SE1) CE A19 - Connect toU412
U4
14
A19 (SE1) CE - Connect toU421
U4

15ROE - Connect to U137VIA


U4
1110
ROE_S Connect toU3U12437512K FLASH OE


1M Flash Modifications

Image RemovedImage Added

13

PinPinPinInstruction
Pin




Cut track (ROE) on top going toU1371M FLASH
U4
45Lift up pins DO NOT CONNECT TO PCB


U4
1415Lift up pins DO NOT CONNECT TO PCB


U413

REMAINS ON GND


U4
14
(SE1) CE - Connect toU41U414Connect to Vcc
U4

15ROE - Connect toU324512K FLASH
U4
1112
ROE_S Connect toU1371M FLASH

...