I am using the dongle device (I2CWSD) and the NI USB-8452 device to program the ADUC7023 via I2C.
The following description is for the NI USB-8452.
I have checked the AN-806 Application Note which provide the different commands in order to erase and program the flash memory.
The erase Flash command is defined as the following picture provided by the application note :
Regarding the documentation the mass erase command is : 0x07, 0x0E, 0x06, 0x45, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB5 and it works correctly on my side.
Also I can erase the pages 0 to 4 with the following command : 0x07, 0x0E, 0x06, 0x45, 0x00, 0x00, 0x00, 0x00, 0x04, 0xB1 even if it is impossible to erase more or less than 4 pages...
Unfortunately, I don't know how to erase a specific area in the flash memory of the ADUC7023. Basically, I would like to erase only the pages 4 to 7 but it doesn't work on my side and there are not a lot of information provided in the AN-806 application note.
Do you have any idea about the command to erase a specific area in the flash memory in the ADUC7023 ?
For example, I tried the command : 0x07, 0x0E, 0x06, 0x45, 0x00, 0x00, 0x08, 0x00, 0x04, 0xE0 to erase the pages 4 to 7 but the ADUC7023 always returns a negative acknowledge (BEL) instead of a positive acknowledge (ACK).
Thanks in advance for your support !