17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Software Considerations<br />

When the tben_en bit is cleared, p1_tben has no effect on any<br />

pin.<br />

p0_tben When the tben_en bit is set, the ERCS_ output pin becomes the<br />

P1_TBEN output pin and it tracks the value on p0_tben. When<br />

p0_tben is 0, the P0_TBEN pin is low and when p1_tben is 1,<br />

the P0_TBEN pin is high.<br />

Software Considerations<br />

When the tben_en bit is cleared, p0_tben has no effect on any<br />

pin.<br />

Note that when tben_en is high, L2CLM_ cannot be driven by<br />

an external L2 cache controller and no External Register Set<br />

devices can be controlled.<br />

This section contains information that will be useful in programming a<br />

system that uses the Hawk.<br />

Programming ROM/Flash Devices<br />

Those who program devices to be controlled by the Hawk should make<br />

note of the address mapping that is shown in Table 3-3 and in Table 3-4.<br />

For example, when using 8-bit devices, the code will be split so that every<br />

other 4-byte segment goes in each device.<br />

Writing to the Control Registers<br />

Software should not change control register bits that affect SDRAM<br />

operation while SDRAM is being accessed. Because of pipelining,<br />

software should always make sure that the two accesses before and after<br />

the updating of critical bits are not SDRAM accesses.<br />

A possible scenario for trouble would be to execute code out of SDRAM<br />

while updating the critical SDRAM control register bits. The preferred<br />

method is to be executing code out of ROM/Flash and avoiding SDRAM<br />

accesses while updating these bits.<br />

http://www.motorola.com/computer/literature 3-75<br />

3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!