Electronic – STM32, Keil and *** error 65: access violation at 0x60000000 : no ‘write’ permission

armkeilmicrocontrollerstm32

I tried to run LCD software in Keil for STM32, but I got

*** error 65: access violation at 0x60000000 : no 'write' permission

Do you know how to solve that error ?
I saw that I can create a MAP, but it didn't work

MAP  0x00000000, 0x70000000  READ WRITE  // allow R/W access to IO space

Click for full resolution

(Click for full resolution image)

from this definition :

#define LCD_REG              (*((volatile unsigned short *) 0x60000000)) /* RS = 0 */
#define LCD_RAM              (*((volatile unsigned short *) 0x60020000)) /* RS = 1 */

Thanks for reading

I'm using simulator
enter image description here

Best Answer

Try going to:

Project -> Options for Target '<your target>' -> Debug tab

and select the debugger option. enter image description here