pavol puffler

S12XDP512 -  How to use external RAM on CS2 in conjuction with ROMHM bit

Discussion created by pavol puffler on Jul 26, 2007
Latest reply on Jul 30, 2007 by pavol puffler
Hi Forum,

we have an external RAM connected to CS2 chip select.
This select the external RAM on address $14_0000

To get an access to this memory we set the ROMHM=1
(as mentioned in DataSheet rev 2.15 p. 674)

Using this setup, it seems that this CS2 is in collision with
the internal Flash placed at address $14_4000.

How to set the ROMHM bit to get right access to this
external RAM?

How should we access the internal Flash page $4000-$7fff?

Thanks for your help

Regards
Paul





Outcomes