This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Accesing external FLASH using C167CS-LM

Hi,
I am facing a problem while reading and writing to External Flash memory.

In the hardware we are using, C167-CS microcontroller is interfaced to external FLASH

(M29F200). These are the interface connections:
/CS0 of the microcontroller is connected to /OE of the FLASH
/CS3 of the microcontroller is connected to /WR of the FLASH
The chip enable(/E) of the FLASH is permanently grounded.

In the software,
BUSCON0 has been configured for read.
BUSCON3 has been configured for write.
ADDRSEL3 has been mapped to 256KB starting from address 0x80000.

I am able to write to the FLASH but unable to read.

What has to be done to read and write into the FLASH?

Please help me out.

Thanks & Regards,
Rajendra