Sunday, September 24th 2017, 1:31am UTC+2

You are not logged in.

  • Login
  • Register

Reply

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Message information
Message
Settings
Automatically converts internet addresses into links by adding [url] and [/url] around them.
Smiley code in your message such as :) is automatically displayed as image.
You can use BBCode to format your message, if this option is enabled.
Security measure

Please enter the letters that are shown in the picture below (without spaces, and upper or lower case can be used).

The first post

Friday, August 4th 2017, 3:32pm

by TillmannK

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