I am having trouble mapping a 128KB NVRAM device into the IFC (GPCM mode) on a t1040. The NVRAM device is a 1Mb (64Kx16) device and is the CY14V101NA. The problem I am seeing is the first 64KB is being repeated, i.e. writing to offset 0 also writes to offset 0x10000.
We are using a custom vxWorks BSP which configures the IFC as follows:
I have tried changing the CSPR2 register to 0xFFDE0105 to enable x16 mode, but still see the same problem.
The device is connected as follows:
IFC_ADDR - A0
IFC_ADDR - A15
IFC_AD - DQ0
IFC_AD - DQ15
with BHE and BLE pulled low.
So my question is what have I missed?