CSUM RESETS

9 views
Skip to first unread message

james cardona

unread,
Jan 31, 2013, 7:48:53 AM1/31/13
to fre...@googlegroups.com
Hi all,
I am having a problem where the csum check at the start of the machine fails and all my feature settings and high scores etc are rest to factory default at each power cycle.  Before you ask, yes, the batteries are installed.  I do not lose the score for the last game played before the power cycle, nor does the freewpc warning message come up.  It is only that adj_csum_failure is being called.  I have even tried this - I power on a game, open test menu and change one thing, then power cycle.  Regardless of what I change in what area it is always reset.  Also, I have tried not changing ANYTHING, but playing a game and setting a high score, after power cycling the game the high score is reset to factory default.

Now then, I have no idea why this is happening but my "know nothing" guess is that it is because I am using a 27c080 rom instead of a 27c040? 

Brian Dominy

unread,
Jan 31, 2013, 1:19:18 PM1/31/13
to fre...@googlegroups.com
On Thu, Jan 31, 2013 at 7:48 AM, james cardona <JAMES....@pseg.com> wrote:
I am having a problem where the csum check at the start of the machine fails and all my feature settings and high scores etc are rest to factory default at each power cycle. 

First off, this has to be related to RAM and not ROM.  The checksum of the ROM chip at powerup must pass else the machine won't even boot up all the way.  It would just flash the LED in a tight loop.  So it's not the ROM chip exactly.

Do you get the message "FACTORY SETTING RESTORED" when you power on?  Or do you just notice that the players are getting reset?  Note that recompiling the software with a different number of adjustments/audits/etc. will always trigger a factory reset, because the saved structures in RAM have to match what the software expects.

Checksumming is done separately for each module (see the enumeration file_type in include/filesystem.h for a list of them).  Are all of these affected or only some?

Brian

james cardona

unread,
Feb 1, 2013, 9:52:16 AM2/1/13
to fre...@googlegroups.com, br...@oddchange.com
Yes - sorry about that, I should have said RAM.

"FACTORY SETTING RESTORED" does not show up on power cycle.  Not talking about new code - only a power cycle of the machine.

Only thing is that all settings are restored to default including high scores.  I disabled the function common/high_score.c/high_score_reset once and the scores did not get reset so I know that it is in the logic.  I understand that each sub section is looked at independently and if the csum does not agree then only that section is reset.  In my case, I have tried changing options in several different ones of the subsections and they are always reset on a power cycle.  I am going to try recompiling with a 27c040 and remove all the dmd frames tonight and see if it still happens.
Reply all
Reply to author
Forward
0 new messages