Sunday, August 20th 2017, 6:09am UTC+2

You are not logged in.

  • Login
  • Register

TillmannK

Beginner

Date of registration: Aug 2nd 2017

Posts: 1

1

Friday, August 4th 2017, 3:32pm

Cortex M0+ NoOS Port Read Active Interrupt ID

Hello
Im trying to port SystemView to the Coretex M0+ uC.

I could send Task Info and Print to the SystemView Terminal but i have Problems to monitor the Interrupts.


According to:
http://infocenter.arm.com/help/index.jsp…b/CIHFDJCA.html
4.3.3 Interrupt Control and State Register
The VECTACTIVE Part of the ICSR Register is marked as Reserved.

C/C++ Source code

1
SEGGER_SYSVIEW_GET_INTERRUPT_ID() ((*(U32 *)(0xE000ED04)) & 0x3F)

Makro Returns 0 i think.

If i try to use the SystemView Interupt Functions:

C/C++ Source code

1
2
SEGGER_SYSVIEW_RecordEnterISR();
SEGGER_SYSVIEW_RecordExitISR();


I got al lot of ISR Enter and ISR Exit Events in the Segger Systemview PC Tool (see the Attachment).

Do you have any suggestions how i could fix this?
TillmannK has attached the following image:
  • SystemView_M0_IRQ_ID_Error.png