Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I am searching errors in our ECU code. Allegedly the ECU crashes every once in a while. I have created some diagnostic source, which I would like to test. Therefore I want to let the ECU crash.
Is there an (easy) way to let the ECU crash explicitly?
(Division by zero didn't work -> "inf". How about pagefaults?)
Best regards and thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am searching errors in our ECU code. Allegedly the ECU crashes every once in a while. I have created some diagnostic source, which I would like to test. Therefore I want to let the ECU crash.
Is there an (easy) way to let the ECU crash explicitly?
(Division by zero didn't work -> "inf". How about pagefaults?)
Best regards and thanks in advance
This worked for me:
Or one line less:
That didn't work for me...