AnsweredAssumed Answered

access violation at 0x40023800

Question asked by ANNU CHERIAN on Apr 12, 2018
Latest reply on Apr 13, 2018 by ANNU CHERIAN

I am using stm32f446zet6 and IDE keilv5 for a project . When debugging it shows the following error ,

 

*** error 65: access violation at 0x40023800 : no 'read' permission
*** error 65: access violation at 0x40023800 : no 'write' permission
*** error 65: access violation at 0x40023808 : no 'write' permission
*** error 65: access violation at 0x40023800 : no 'read' permission
*** error 65: access violation at 0x40023800 : no 'write' permission
*** error 65: access violation at 0x40023804 : no 'write' permission
*** error 65: access violation at 0x40023800 : no 'read' permission
*** error 65: access violation at 0x40023800 : no 'write' permission
*** error 65: access violation at 0x4002380C : no 'write' permission
*** error 65: access violation at 0x40023840 : no 'read' permission
*** error 65: access violation at 0x40023840 : no 'write' permission
*** error 65: access violation at 0x40023808 : no 'read' permission
*** error 65: access violation at 0x40023808 : no 'write' permission
*** error 65: access violation at 0x40007000 : no 'read' permission
*** error 65: access violation at 0x40007000 : no 'write' permission and so on...................

 

 

 

 

/***********************

// Clock addresses

RCC_CR                    0x40023800

RCC_PLLCFGR        0x40023804

RCC_CFGR              0x40023808

RCC_CIR                  0x4002380C

***********************/

 

 

 

As per the forum post http://www.keil.com/support/docs/814.htm , I have put the required MAP commands into a debugger INI file that can be entered under Project -> Options for Target -> Debug -> Initialization file   as

 

            MAP 0x40000000, 0x47FFFFFF READ WRITE              // allow R/W access to IO space

 

Then it doesn't exist the function for making external clock to 180MHz .If I use the internal clock , the same issue persists . How could I solve these issues. Any help would be greatly appreciated .

Outcomes