We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I am simulating my code using the uVision v2.33. When I am exiting a function i get the following error: error 65: Access violation at address 0x00BA0180. and the simulator jumps to disassembly window. I have read the forum and the doc abt access violation errors but am not able to understand why I am getting the error on exiting a function? I am searching for an answer in the C166 manuals and the ST10f269 manual. But am directionless right now. If anyone is familiar or knows the problem area, please share it with me. Regards Deepak
First question, do you expect something at address 0xBA0180? Sounds like you don't or at least the simulator doesn't thinks so. I would suggest that you enable the trace option for the simulator and look to your code perhaps you have a bad pointer.