Dear friends,
I have been learning CORTEX-M4 based microcontrollers lately, I use KEIL-5 for developing the software. But I have a problem when I am trying to debug any program (even ready programs which I have downloaded from TEXAS INSTRUMENT website or other sources). It seems that a lot of people have this problem:
*** error 65: access violation at 0xA0033000 : no 'read' permission
The solution which I found is to use memory map while debugging (or initializing ini file) to give the appropriate permissions for all the addresses which I use in my code! But actually it is not easy and not logical to read an old code and search for the used addresses and rearrange them in memory map!!!
Could anybody help me please cuz I stopped developing my apps because of this error!
regards.
I could write that for the software which I develop from the beginning. But the big problem is in the already built software I could not definitely read the whole program and write the ini file.
You're suffering from a fundamental misunderstanding there. Memory mappings are not really specific to any particular software. They're specific to a given hardware. I.e. you don't really have to know what that software does, you only have to know what hardware it runs on.