Has anyone had a problem where Keil compiles with no errors then crashes when debugging. And then with the same code, different program it creates error messages? Thanks Gab.
The question is too vague. Post the code which generated the error, along with the exact text of the error message.
...with the same code, different program What's that supposed to mean? Either it's the same, or it's not. Which of these is it? That set aside, please note that software acting differently on repetitions of the same job is usually more likely to be the symptom of a hardware instability than anything else.
The title of your post, "Question" is virtually worthless - the idea is that it should give some idea of the content of your post! "a problem where Keil compiles with no errors then crashes when debugging." Do you mean that the Keil tools (uVision?) crash, or your code crashes? Note that the fact that any 'C' program compiles with any compiler is no guarantee at all that the program will actually work!! Otherwise, why would there be any need at all for debuggers?!