Jump to content

Sign in to follow this  

Простой проект KSDK + PE

Recommended Posts

Добрый день.


Я использую 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.
** ===================================================================
  /* This code can be changed using the CPU component property "Build Options / Unhandled int code" */


Подскажите, из за чего подобное происходит?

почему мк попадает в это прерывание?



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this