??? 05/01/07 21:04 Read: times |
#138414 - calling Winbond specialists |
I am looking at some old, inherited, Winbond stuff using the Winbond 516B. We found a flakiness and went far back in the releases and saw that it was there, just extremely rare. The frequency increased when some speedup was implemented.
i am suspicious of the auxram use. The crummy Winbond datasheet does not give any details, just a crummy example and do not even bother explaining the CHPENR SFR. anyhow the 'example' of writing to the auxram in the datasheet (of course, they had to photograph it so I have to retype) is mov CHPENR,#87h mov CHPENR,#59h mov CHPCON,#010h mov CHPENR,#0 mov r0,#012h mov a,#34h mov @r0,a now in the actual inherited code it is done as follows in the 'general' initialization routine: mov CHPENR,#87h mov CHPENR,#59h to write to the auxram orl CHPCON,#010h mov r0,#012h mov a,#34h mov @r0,a anl CHPCON,#0efh I have surmised (I hate having to do that) that the CHPENR simply is 'allow write to auxram'. now for the question will the indicated use of the SFRs give any problems (I do not care about write protect). What I am hunting is an occasional overwrite of the most crummy shared resources scheme between two processors I have ever seen. Example ALE is not connected and they share 32k of RAM, all I/O is MMIO and goes through the same crummy allocation hardware. in advance, thanx Erik PS to show how flaky this is, if I use Philips chips with the same code (the only change is a hardware deteremind different auxram access method) the thingy works. However with an istalled base in the ten thousands, I can not start wholesale replacing chips. |
Topic | Author | Date |
calling Winbond specialists | 01/01/70 00:00 | |
what datasheet do you have? | 01/01/70 00:00 | |
detailled? | 01/01/70 00:00 | |
? | 01/01/70 00:00 | |
WOM | 01/01/70 00:00 | |
Hoorah for Winbonds | 01/01/70 00:00 | |
a timing error that | 01/01/70 00:00 | |
CHPCON writes | 01/01/70 00:00 | |
other use of CHPCON | 01/01/70 00:00 | |
where is the happy-end? | 01/01/70 00:00 | |
the happy end | 01/01/70 00:00 | |
oh... | 01/01/70 00:00 | |
there was no problem | 01/01/70 00:00 | |
ah, but then... | 01/01/70 00:00 | |
an obnoxious interference | 01/01/70 00:00 | |
the goo' ol' EMI... | 01/01/70 00:00 | |
NOT EMI | 01/01/70 00:00 | |
Ah... | 01/01/70 00:00 | |
correction | 01/01/70 00:00 | |
if the customer complains...![]() | 01/01/70 00:00 |