Hi,
we have attached a FPGA to the external address bus of a RM46 controller.
We attached nCS[2,3,4] as chipselects, BA[0,1], A[0..12] as address bus and D[0..15] as databus.
We configured the memory protection unit to allow memory access to ASYNC1..4 via 16bit access.
We configured HalCoGen to enable ASYNC external access via nCS[2..4] via 16bit access.
We can see the correct nCS and nRD/nWR timing via oscilloscope on the external bus.
In a first test, we simply map all address-pins (A12..A0, BA1..BA0) to the Databus to see where the access takes place.
On different boards we see the following address.bits toggeling (and NOT toggeling):
Bit0..3 [= BA0, BA1, A0, A1]: always zero
Bit4..7 [=A2..5]: ok
Bit8..10 [=A6..8]: always zero
Bit11..14 [=A9..12]: ok
When using adresses greater than (nCS-OFFSET + 0x7fff), the memory protection unit throws a dabort.
What can I do to get correct addresses on the external addressbus?