I am working with TWR-K20D72M board. I interface CAT-25256 EEPROM with this board.
my write data in eeprom is work proper.but reading data was not working.
when i was read data at that time if breakpoint will put then reading was sucessful. if not put breakpoint than data not read proper it gives output 0x00 .
please check my code in attachment.
It would be more appreciable if any kind of suggestions will be get.
Original Attachment has been moved to: spi.txt.zip