bjarni Posted March 18, 2021 Report Share Posted March 18, 2021 Hello, I'm wondering if my problem is a software one or hardware? And what kind of issues could be causing it in each case. The system is alright when at rest, but when put to work (triggered with input) it works fine for maybe 10-20 seconds and then I get a "CPU in stop mode" message on the screen" and few second later a message about CPU error. I've removed the CPU unit and put it back on, but with no luck. Does anyone have some hint for me? Thanks, Bjarni Link to comment Share on other sites More sharing options...
dierkens Posted March 18, 2021 Report Share Posted March 18, 2021 Put some jumps around your code to narrow down what may be causing it. Narrow it down from there. You might also load one of the example programs in it and run that for a while. Thats the only way I know to determine if it’s hardware related or not. Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted March 18, 2021 MVP 2023 Report Share Posted March 18, 2021 Try to download new created project (no code) and after this load your code. Link to comment Share on other sites More sharing options...
bjarni Posted March 19, 2021 Author Report Share Posted March 19, 2021 Thanks guys for your input. I finally sorted this out. In one place in C code I forgot to use ARITHMETIC_DIV() instead of normal '/' division. This was the result Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now