AnsweredAssumed Answered

K60 FNET fnet_cpu_isr() reads register at 0xE000ED04, doesn't exist in docs

Question asked by OliverSedlacek on Jun 18, 2013
Latest reply on Jun 18, 2013 by OliverSedlacek

I'm trying to run the FNET code as found in AN4367 on my MK60FN1M0VMD120 processor. The code hangs and from what I can see it's because it's not servicing the interrupts properly. The code uses a single function called fnet_cpu_isr() for all interrupts which extracts a vector number and then calls a specific handler. The code to extract the interrupt vector is:

fnet_uint8 vector_number = (*(volatile fnet_uint8*)(0xE000ED04));

 

My problem is that I can find no documentation for any register at 0xE000ED04 or any way of extracting the vector number from the NVIC.


Can anyone explain how this is supposed to work?

Outcomes