Intermittent B240 Backup Ram Error (MV2)

Hansuke

n00b
Joined
May 8, 2019
Posts
28
I get this strange backup ram B240 error on an MV2.
Write 5555, Read B240.
I'm aware that it's a common error, but it seems to be intermittent and can be induced.

I noticed that whenever I play a multicart, (161 in 1, 100 in 1, etc.) after playing some games for a while, sometimes the physical coin counter meter in the cabinet would go haywire and start counting up credits nonstop rapidly for seemingly no reason. The text on the bottom of the screen where it would usually display the "Level" and "Credit" of the current game would become all garbled and illegible. Sometimes when this error happens, the current game shuts off and then the displays the error screen with the screen filling red text saying that this cartridge is counterfeit and such.

Upon hard resetting after this error happens, even without any cartridges inserted, I am greeted with the B240 error, trying to force AES mode through the unibios just gives me a green screen error, similar to the "Exception Error Handling" error with dirty cartridge contacts.
I tried flipping all dip switches to on to clear the backup ram, but the B240 error persists and I'm unable to clear the backup ram.

I have found that removing the coin cell battery from the battery holder and waiting for a bit allows the MV2 to boot normally again without errors and plays legit cartridges normally.

I wanted to test my theory that the multicarts were causing this issue and I've noticed something new. Now when the error occurs after playing with multicarts, coin meter goes awry, Level and Credit displays get corrupted like before. However, after a hard reboot the error doesn't display a B240 anymore but instead goes into watchdog reset constantly. Even removing the battery doesn't seem to help at first, but after a longer time of being just left alone without the battery, the error goes away like before.
Now when I flip all the dip switches to on, I get the same B240 error screen as before and I can actually force AES mode now. Also, I now noticed that when gong to set the system clock after these "resets" to working order, the system clock would start counting forward rapidly fast from the default reset date/time, but would seem normal after having set the time.

I don't have this issue with my four or single slot machines when dealing with multicarts.
I've tried replacing the C1815 and A1015 transistors and the capacitor in the backup section of the MV2, but it doesn't seem to have any effect. Unsure if this is just a common issue on MV2 hardware and it doesn't do well with multicarts or maybe something else could be faulty...

I've noticed that the corruption of the Level and Credit Text along with the coin counter meter going nuts coincides when the game switches if using Pick n Mix with the 161 in 1 multicart. It doesn't happen everytime, but only sometimes it seems.
Could corroded traces cause this issue with multicarts?

I'm aware that the multicarts clear backup game data when powered on. Could that cause the issue and is there a way to prevent the B240 error from happening?
 
Last edited:

ack

Ninja Combat Warrior
15 Year Member
Joined
Apr 9, 2009
Posts
540
You have a dead output issue with the backup ram. The cpu is trying to read from the backup ram and its not putting anything on the data bus. What normally happens in that situation is the register the data was going to be put in will get filled with the next cpu instruction.

This is the code doing the read and compare for the backup ram test

Code:
     Assembly       | Byte code
--------------------------------
 move.w  (A0), D1   | 0x3210
 cmp.w   D0, D1     | 0xB240

The first instruction is trying to read a word in from backup and store it in D1 register. This read is not happening causing D1 register to get filled with 0xB240 and triggering to error.

I would start by seeing if there are any issues around the backup ram with the OE signal, which I think is coming from the 74HC32 to the top-left of the backup ram.
 

Hansuke

n00b
Joined
May 8, 2019
Posts
28
I would start by seeing if there are any issues around the backup ram with the OE signal, which I think is coming from the 74HC32 to the top-left of the backup ram.
I'm a complete amateur on these matters so if it's not too much to ask, could you please explain how to examine the OE signal and what it is?

I'm unsure what an "OE" signal is, but am aware that the 74HC32 is an "OR" gate. Is that what you meant? To check to see if the OR gate is functioning properly?

If so, then would I need to induce the error again to see if the 74HC32 is actually faulty? Would testing it when games seem to being working normally actually show any faults?
 

HeavyMachineGoob

My poontang misses Lenn Yang's wang
10 Year Member
Joined
Apr 3, 2011
Posts
5,850
Look at this picture:

62256-Pinout.jpg


Note the notch at the top and the little circle in the upper right corner, those denote the orientation so you know what pin 1 is. /OE is pin 22 and it means Output Enable. It along with /WE (write enable) and /CS (chip select) is used by surrounding control circuits in the Neo Geo to control this Static RAM chip, when it's time to read or write or not.

Now where on the board to be looking? You need to find the battery, it has an area marked off with thick white lines. Inside that white square is two of these 62256 Static RAM chips, one or both could be malfunctioning, or the 74HC32 nearby which handles the Output Enable (/OE).

So your list of things that could be the fault is as follows:

- A bad Static RAM 62256 chip in the battery area (one or both)
- a bad 74HC32 (near by)
- a corroded trace connecting pin 22 of the SRAM chips to the 74HC32 (can't remember which pin, might be pin 7 but I'd have to check)

Edit: write enable, not chip enable
 
Last edited:

Hansuke

n00b
Joined
May 8, 2019
Posts
28
So your list of things that could be the fault is as follows:

- A bad Static RAM 62256 chip in the battery area (one or both)
- a bad 74HC32 (near by)
- a corroded trace connecting pin 22 of the SRAM chips to the 74HC32 (can't remember which pin, might be pin 7 but I'd have to check)
Thanks for the detailed write up.

There aren't any marked off areas with thick white lines on an MV2. Here's a picture of an MV2 from mvs-scans. There seem to be two 74HC32's in the top left section of the board. I'm assuming that I should just look at the 74HC32 closest to the battery?
 

channelmaniac

Mr Neo Fix-it
15 Year Member
Joined
Nov 29, 2005
Posts
4,275
Generally it's related to corroded traces around the HC32 and components next to it, like the 22K ohm resistor or the transistors.
 

Hansuke

n00b
Joined
May 8, 2019
Posts
28
Generally it's related to corroded traces around the HC32 and components next to it, like the 22K ohm resistor or the transistors.
Would a corroded trace explain why the ram error seems to be intermittent? Like sometimes it works and sometimes it doesn't. Seems random.
 

maki

Edo Express Delivery Guy
Joined
Jan 1, 2022
Posts
334
Multicarts pull more power than normal carts, did you measure if the 5V are actually 5V?
Measure that on the power rail, but also on the ICs.
At 4.7V things go weird.
 
Top