Tried with the 256, and it does the same, i mean it does not write everything, anyway i have to use a 512, and when i will get my sample from microchip i will test the 1025, that's because i need more than 256k :S

Note that the 64 do the same thing...

Now i've put the whole thing in PROTEUS ISIS and i'v having the same problem, but i can see the log of the eeprom:


Code:
212.727201m [RX_CMD     ]: Command received: 0xA0 (0b10100000). Device=0, Block=0x00, Address=0x0006 RD/WR=Write.
223.593601m [RX_CMD     ]: Command received: 0xA0 (0b10100000). Device=0, Block=0x00, Address=0x0007 RD/WR=Write.
234.460001m [RX_CMD     ]: Command received: 0xA0 (0b10100000). Device=0, Block=0x00, Address=0x0008 RD/WR=Write.
245.326801m [RX_CMD     ]: Command received: 0xA0 (0b10100000). Device=0, Block=0x00, Address=0x0009 RD/WR=Write.
256.192801m [RX_CMD     ]: Command received: 0xA0 (0b10100000). Device=0, Block=0x00, Address=0x000A RD/WR=Write.
Until Here it's all good, but...
Code:
256.708801m [RX_CMD     ]: Command received: 0xEE (0b11101110). Device=7, Block=0x00, Address=0x0009 RD/WR=Write.
256.708801m [RX_CMD     ]: Unknown command value (0xEE) received - command is ignored.

266.934401m [RX_CMD     ]: Command received: 0xA0 (0b10100000). Device=0, Block=0x00, Address=0x0009 RD/WR=Write.
267.134001m [RX_CMD     ]: Command received: 0x0A (0b00001010). Device=5, Block=0x00, Address=0x0026 RD/WR=Write.
267.134001m [RX_CMD     ]: Unknown command value (0x0A) received - command is ignored.

277.362001m [RX_CMD     ]: Command received: 0xEE (0b11101110). Device=7, Block=0x00, Address=0x0026 RD/WR=Write.
277.362001m [RX_CMD     ]: Unknown command value (0xEE) received - command is ignored.
Here it comes, it can't recognize the commands because for example, instead of receive this control byte:
0b10100000

it receive this:
0b00001010
or this:
0b11101110

it's like there's something missing, the eeprom don't receive the whole bytes, maybe the 10MHz OSC is not good?

Thx...

Luca