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

start debugging at 0x00000000.... why?

Hello, I'm starting using the uVision3 and I want to know how to start running from the address that I want.

I have a board which is similar to the Revely100ms, that's why I've created a new project and choosen the LH75401. My board has an external ROM which is located at address 0x40000000. I want to start debugging from this address, and each time I choose Start Debug Session, the pointer starts at 0x00000000 and I have to move the PC manually at 0x40000000. When I've just moved the PC at this location, and I try to execute my "helloWorld"

*** error 65: access violation at 0x4400000C : no 'write' permission
.... Then I got to open "Debug/Memory Map" window and add my external RAM too (located at 0x44000000) each time I enter in debug mode because it doesn't remember the already done settings. Ahp, I've added the memory areas in the "Options for Target 'Target1'" and in the Linker tab I've checked the item "Use Memory Layout from target dialog". What can I do?

0