Добрый день.
Я использую MK60DN512xx10. KSDK1.3
С генерировал простой проект с Processor Expert.
и хочу обратиться к регистрам внутренних модулей.
Код
int* mmfr = (int*)0x400c0040;
int tmp = *mmfr;
и при выполнении второй строки процессор попадает в прерывание.
Код
/*
** ===================================================================
** 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();
}
Подскажите, из за чего подобное происходит?
почему мк попадает в это прерывание?