comp.lang.ada
 help / color / mirror / Atom feed
From: "Vinícius Franchini" <viniciusnf@gmail.com>
Subject: Interruption Handling using zfp compilation flag
Date: Thu, 6 Dec 2012 16:41:34 -0800 (PST)
Date: 2012-12-06T16:41:34-08:00	[thread overview]
Message-ID: <71687703-4ed2-4cbb-8996-ff973474f586@googlegroups.com> (raw)

Hi guys,
 my name is Vinícius and I'm doing a master degree. My thesis is a simplified on-board computer for an satellite. I must implement some scheduling and package analysis functions. As I need to work with a real time system, I'm using the zfp flag for compilation. I tried to implement some interruptions using sentences like this:

   procedure Receive_USART;

   -- Address the interruption handler		
   pragma Machine_Attribute (Entity => Receive_USART,
                             Attribute_Name => "signal");

   pragma Export (Convention    => C,
                  Entity        => Receive_USART,
                  External_Name => "__vector_26");    --USART0_RXC

Using Proteus (ISIS Professional 6.7 SP2), I'm debugging the algorithm. The initialization of the interruption is right, but when the interruption occur, it isn't handling to the procedure. 

Do I need to do something more to handle the procedure when the interruption occur ? Do you fellows have any other simple way to handle interruptions ?

Thanks very much for your help....



             reply	other threads:[~2012-12-07  0:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07  0:41 Vinícius Franchini [this message]
2012-12-07  7:45 ` Interruption Handling using zfp compilation flag Rolf
2012-12-07 20:24   ` Vinícius Franchini
2012-12-08 15:49     ` Rolf
2012-12-09  1:08       ` Vinícius Franchini
2012-12-09 15:57         ` R R
2012-12-09 20:34         ` Brian Drummond
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox