Hans,
IA-SDK also demos cache locking. But here we use it to convert L2 Cache into SRAM mainly. So we can run small applications just using NOR FLASH and internal memory (no DDR in use). See the full EtherCAT example in the protocols/ethercat_slave folder. Search for Cache_lock() API.
Regards,