AnsweredAssumed Answered

When accessing the register. An interrupt appears.

Question asked by Prof Programmer on Jul 25, 2017
Latest reply on Aug 8, 2017 by Daniel Chen

Hello.

I used MK60DN512.  KSDK 1.2

I want to work with the interface of the RMII.

When accessing the register MMFC

uint32_t* Data_mmfr = (uint32_t *) 0x400c0040;
uint32_t tmp = *Data_mmfr;

That program gets interrupted.

 

/*
** ===================================================================
**     Method      :  Cpu_Cpu_Interrupt (component MK60DN512LL10)
**
**     Description :
**         This ISR services an unused interrupt/exception vector.
**         This method is internal. It is used by Processor Expert only.
** ===================================================================
*/
PE_ISR(Cpu_Interrupt)
{
  /* This code can be changed using the CPU component property "Build Options / Unhandled int code" */
  PE_DEBUGHALT();
}

No possibility to read data from MMFR.

Because of what this can happen?

How to fix it?

Outcomes