Please can anyone help me with the UART and CAN code. I am unable to fix errors. During execution I am getting an error "Address Violation at memory address 0x00000000".
http://www.keil.com/support/docs/814.htm
Not sure if it's the same.
That link seems to be related to the debugger, but I think the OP has an issue with a NULL pointer access.
But as usual, we get too little information to be able to really help.
Running on real hardware or simulating?
Simulating.
Then that would suggest that the support for simulating this part is only partial. At a guess I would say it's code attempting to relocate the vector table into RAM and remapping that. Review the start up code, and see if you can avoid that, or achieve something similar via a debugger script.
If you are a licensed Keil user, I'd suggest discussing your problem with Support. This is not an official support venue.
So did you read the article: http://www.keil.com/support/docs/814.htm
And follow the links to other articles & related posts?
yes neil. but unable to map it.
So what, exactly, did you try?
And what, exactly, were the results?
Don't try to manually re-type stuff into posts - use copy & paste.
Perhaps it is - as previously suggested - a NULL pointer...