AnsweredAssumed Answered

stack problem and privilege mode

Question asked by be_senyor.ezra on Jun 16, 2011
Latest reply on Jul 4, 2011 by Clive One

i am using the STM32f103 chip and i am having all sord of problem that takes me to the Hard Fault inturpt .

when i check the SCB->CFSR register i am getting all sord of errors like :
"the processor has attempted to access a coprocessor."
"The processor has attempted to execute an undefined instruction."
i read alot and i found that i can change the privilege mode for safty reason so that the software cannot accsess importent register in the cpu i am hoping that it will help me solve the problems.

my question is how do i change that from what i can find i need to change the control register but how can i chnage that what is he called?

i found all that data here by the way: