We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
'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