Thank you for your answer, but it seems not to resolve my problem. I analyse every register needed by the EEPROM and I did'nt find any mistakes. During my last tests, I've seen that the memory space I was considering as the eeprom memory was acting as a RAM memory. I mean, when I am executing, step by step, the command line *eepromAddress = data (as explaining in the application note), the memory area is updating with the data even if the the command was not run (with writing the ECMD register and ESTAT_CBIEF bit). When I shut down the chip power, The memory area is no longer fill with data I wrote but with random data. So I thougth it was a mapping memory error. I want the following mapping: RAM : 0x1000 to 0x2FFF EEPROM : 0x800 to 0xFFF FLASH: 0x4000 et 0x8000
As explaining in the documentation, I configure the mapping registers as followed: INITRM = 0x11; INITEE = 0x09; INITRG = 0x00;
I saw in the application note you've sent to me, that if a RAM area is at the same place as the EEPROM area, the sector is acting as a RAM memory. At reset, the ram memory is placed from 0x0000 to 0x1FFF and is masking the eeprom memory.What should I do to make the EEPROM visible.
you want to map your DG128 RAM to 1000-2fff. This is impossible since DG128 8K RAM block is "mappable to any 8K boundary". 8K boundary means $0, $2000, $4000, $6000 etc. You can't map DG128's 8K RAM to 1000-2fff. Only 0-1fff, 2000-3fff, etc