This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

make keil debugger start from specific address

Hi
I searched the whole knowledge base discussion forums and the whole internet a thousand of time but did not find any solution for this problem.
I am writing a code for at91sam7x256.
As you flash area of memory in this chip starts from 0x100000. So all machine codes after compilation and program process will store there. Now whenever I start to debug my project, The debugger goes to address 0x000000 instead of address 0x100000. There aren't any part of my code there at address 0x000000 and there is no execute/read allowed area of memory. So I will see the famous 65 error that tells me no exec/read permission.
I know how to map memory and this is not what I want. I just want to know how to tell the debugger that IT MUST START FROM 0X100000.
Thanks for your attention guys.

Parents
  • I just started with a code from keil example blinky. I then downloaded the code into my chip and I t runs very well. So the boot loader or anything you name it must be somewhere like startup.s file.
    The chip powers on and resets and then it will go to 0x100000 of memory. but the debugger not:(
    So any other ideas?

Reply
  • I just started with a code from keil example blinky. I then downloaded the code into my chip and I t runs very well. So the boot loader or anything you name it must be somewhere like startup.s file.
    The chip powers on and resets and then it will go to 0x100000 of memory. but the debugger not:(
    So any other ideas?

Children
No data