Hi @xin zhang
Start with a bare-metal "hello world" type example application from Intel that runs on the Stratix. Make sure that it runs correctly. Then just add all the ThreadX source code and ThreadX example application - keep in mind that you may have to call the same hardware initialization code in main() [the same function(s) the hello world example calls] before calling tx_kernel_enter.