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

acces violation

Hi,
i work on ST10F168 with 1M*16bits external RAM. I declare it in start167.A66 and in option for target/external memory. But in debug mode when i write in it with *p, an error is generate :
*** error 65: access violation: ddr=0x002F0000

RAM is declare 0x200000 to 0x300000
I think i forgot something but i don't know what...

Thanks
Regards

Parents
  • 'Access violation' is a simulator error message. Which means that you are in fact working with a simulator rather than with a real ST10F168 and external RAM.
    Anyway, if you want to prevent the simulator from giving you this error message, unprotect the memory range you are writing to. How? Read the 'Getting Started and Create Applications' as well as 'uVision 2 Debug Commands' manuals.
    I hate to say it, but judging by the questions you are asking in this forum it looks like you haven't read those manuals.

    - mike

Reply
  • 'Access violation' is a simulator error message. Which means that you are in fact working with a simulator rather than with a real ST10F168 and external RAM.
    Anyway, if you want to prevent the simulator from giving you this error message, unprotect the memory range you are writing to. How? Read the 'Getting Started and Create Applications' as well as 'uVision 2 Debug Commands' manuals.
    I hate to say it, but judging by the questions you are asking in this forum it looks like you haven't read those manuals.

    - mike

Children
No data