EEPROM write in Arduino 101

  1. What does it mean that Arduino 101 emulates EEPROM? When we include <EEPROM.h> and use EEPROM.write() to write to EEPROM, does the code just emulate the write and commit to flash only on reset or does it actually send a write to flash each time?
  2. Where is the flash that the above procedure writes to? Is it some embedded flash inside the Intel Curie SoC or is it the flash connected to the Curie module?
    Thanks!

Hi,
the EEPROM is emulated using the OTP flash area of the Curie chip, otherwise unused. It emulates also the typical EEPROM "byte addressability" .
To use the external 2MB flash chip, you need to use "CurieSerialFlash" library which implements some higher-level, filesystem-like operations