Is it possible to do Intel SGX development on the older generation of Intel processor that does not have SGX support with some simulation environment?
I tried to install SGX SDK which installed correctly but could not able to install SGX PSW as supporting Intel SGX processor is a hard requirement for it.
I wanted to develop and learn simple SGX application.
You may try OpenSGX and QEMU.
OpenSGX is an experimental software that emulates Intel SGX hardware components at the instruction level and provides new system software components necessarily required for full TEE exploration. You may check some recent papers from 2016 and 2017.
You may also use the SGX SDK in Simulation mode - try the sample enclaves from the SDK directory, you don't need the SGX PSW to run them.
Apparently, Intel has an emulator (mentioned in 2015 by Microsoft) but it is not available to the public. In addition, because that emulator was not performant, Microsoft decided to create their own emulator/windows driver (that is not available neither) to implement their Haven project.