Sunday, November 19th 2017, 8:47pm UTC+1

You are not logged in.

  • Login
  • Register

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.

todds

Beginner

Date of registration: Mar 11th 2013

Posts: 4

1

Friday, July 19th 2013, 12:48am

Internal OS - Interrupts Disabled Where/How-Long Characterization

I am using embOS on a ARM cortex-M0 processor. Is there a document that characterizes in what OS functions and for how long (# instructions), interrupts are disabled? I realize it would depend on optimizations and some would be not fixed (OS_PeekMail). But a general characterization with perhaps a range would be greatly beneficial. I can then concentrate on what API functions I need to be weary of.

On a processor like the M0, there is no such thing as high priority interrupts. I have a known "realtime" requirement for an external interrupt that has to be met.

Thanks,
Todd

SEGGER - Til

Super Moderator

Date of registration: Nov 14th 2007

Posts: 261

2

Friday, July 19th 2013, 8:30am

Hello Todd,

unfortunately we don't have such a document, but we measure the maximum interrupt latency caused by disabling interrupts internally.
Please contact me via our support email address and I will send you the values.

Best regards,
Til

todds

Beginner

Date of registration: Mar 11th 2013

Posts: 4

3

Friday, July 19th 2013, 4:46pm

Thanks Til, will do.

I meant to include the detail that I am uisng Keil 4.70.

Also, I would appreciate if anyone has a recommendation for any static profiling tool that would compute this kind of information.

Todd