You encounter a very strange error. In my case, the examples attached by you, taken from our toolbox, worked perfectly.
I would suggest to delete the .mdl.autosave file.
Have you tried other examples? Do they end up with the same error?
Hope this helps,
Do you run this model in simulation? Our blocks are mainly designed to run in code generation and suppose to produce no output during simulation, because we can not simulate the e200 core and the peripherals.
Waiting for your reply,
Yes, The simulink will be abnormal terminated when I run the simulation which is including the Etimer module.
So, etimer blocks is cannot run in simulation. but the other blocks can run normally.
I always run the simulation in order to check my modeling for errors.
Because it usually takes a long time to generate code to report errors.