Z80 ERROR: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
(→‎MV1C: Replaced with MV1B which matches the next sentence)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
A generic error message that occurs when the [[68k]] doesn't receive a reply from the [[Z80]] in time.
[[File:error_z80.png|thumb|Simple as that.]]


Command byte $01 is sent to the Z80 when its program ROM needs to be changed, such as at power-on (switch from onboard [[SM1]] to cart [[M1 ROM]]) or when switching the active slot (changing which cart M1 ROM is selected). This command mutes [[YM2610]] audio and jumps to an infinite loop in RAM where it is then safe to switch the Z80 program ROM.  The Z80 sends the 68k $01 right before jumping to signal that it is safe to switch. If the $01 byte is never received, "Z80 ERROR" is displayed and the system locks up.
=Causes=


==Testing==
The {{Chipname|68k}} didn't receive a reply to command $01 from the {{Chipname|Z80}} in time. The Z80 doesn't test the [[SM1]] ROM, its [[Z80 RAM|RAM]] nor the {{Chipname|YM2610}} but if any of those components are bad, they can prevent the Z80 from being able to reply which will then cause the error.


The Z80 doesn't test [[SM1]], its RAM or the [[YM2610]]. This error only covers bad [[68k/Z80 communication]], but if any of those components are bad, it can stop the Z80 from being able to reply which will then cause the error to be displayed.
=Repair suggestions=


==MV-1C==
On [[MV1F]] boards, this error seems common due to trace cuts caused by a [[corrosion|leaking battery]]. A few [[trace patching|wires]] can solve the problem.


This board displays this error with no cart inserted since it has no SM1 to control the Z80.
* Check Z80 +5V supply, reset and [[clock]] signals
* Check connectivity to Z80 work RAM
* Check connectivity to SM1 ROM or cartridge's M1 ROM
* Check {{Chipname|NEO-D0}} Z80 control lines
* Check Z80 data bus at {{Chipname|NEO-C1}}
* ...
 
Note: Replacement SMT Z80s can be found in some Ti calculators :)
 
=MV1B=
 
The {{PCB|MV1B}} board displays this error when no cart inserted because it has no SM1 ROM. '''This is normal'''.


[[Category:Audio system]]
[[Category:Audio system]]
[[Category:Repairs]]
[[Category:Repairs]]

Latest revision as of 00:40, 1 June 2021

Simple as that.

Causes

The 68k didn't receive a reply to command $01 from the Z80 in time. The Z80 doesn't test the SM1 ROM, its RAM nor the YM2610 but if any of those components are bad, they can prevent the Z80 from being able to reply which will then cause the error.

Repair suggestions

On MV1F boards, this error seems common due to trace cuts caused by a leaking battery. A few wires can solve the problem.

  • Check Z80 +5V supply, reset and clock signals
  • Check connectivity to Z80 work RAM
  • Check connectivity to SM1 ROM or cartridge's M1 ROM
  • Check NEO-D0 Z80 control lines
  • Check Z80 data bus at NEO-C1
  • ...

Note: Replacement SMT Z80s can be found in some Ti calculators :)

MV1B

The MV1B board displays this error when no cart inserted because it has no SM1 ROM. This is normal.