cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 Simulator mode violation error !

Oahme.1
Associate III

hello ,

I have this problem when im using simulator mode , when i run through my code , first its stepping through in a very vague manner , also its giving me this on the command line

error 65 : access violation at 0x40023C00 : no 'read' permission

error 65 : access violation at 0x40023C00 : no 'write' permission

so i added a random ram location because im confused on what location to use

I added this on the command line

MAP 0x40000000,0x47FFFFFF READ WRITE

but it executes a few instruction after which im at the fault_Handler location , so im definitely doing something wrong.My controller is STM32F401CCU6 series.Also why is my target option in keil Xtal(Mhz) grayed out and what ram location should i be adding in order to get rid of this problem for my board? also my processor RAM location looks as below

0693W00000NquLpQAJ.png0693W00000NquMEQAZ.png 

Thanks,

0 REPLIES 0