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

Addresss Range

Hi.

I am currently using the eval tools from the Pont book. I am just getting going with the Hello.c example. When I compile I keep getting the Error 65 message and a Hex display from 0x0000 to 0xFFE9. I am told that there is an access violation (error 65) at 0x0000. When I use Memory Map to correct the error, everything i type gets
"Invalid Address Range Given". I have also attempted to load the .INI file with "Memory Map 0x0000, 0xFFE9. No luck. My questions:

1) How do i tell what memory range I should be accessing. Is this in my code somewhere?

2) How do i Map it correctly so i don't get all these erors?

3) How do I ensure the memory access in in Flash memory?

Thanks in Advance.

Parents
  • Normally, all the memory mapping is handled for you and you don't need to do ANYTHING.

    Since the startup is not being resolved, that means there is no start code included in the output. Ergo, there is no code at address 0 (the reset vector) and the debugger doesn't have anything to "automatically" map.

    Have you instructed the linker to exclude modules from the library? Or, maybe you modified the startup code so much that you've changed the default segment naming conventions?

    The best thing to try is to build the hello world or any of the other examples to see how they work.

    Jon

Reply
  • Normally, all the memory mapping is handled for you and you don't need to do ANYTHING.

    Since the startup is not being resolved, that means there is no start code included in the output. Ergo, there is no code at address 0 (the reset vector) and the debugger doesn't have anything to "automatically" map.

    Have you instructed the linker to exclude modules from the library? Or, maybe you modified the startup code so much that you've changed the default segment naming conventions?

    The best thing to try is to build the hello world or any of the other examples to see how they work.

    Jon

Children