From: Rolf <rrr.eee.27@gmail.com>
Subject: Re: Interruption Handling using zfp compilation flag
Date: Thu, 6 Dec 2012 23:45:51 -0800 (PST)
Date: 2012-12-06T23:45:51-08:00 [thread overview]
Message-ID: <5eecb2cc-086c-47c9-84c9-00dd5b90f9a1@googlegroups.com> (raw)
In-Reply-To: <71687703-4ed2-4cbb-8996-ff973474f586@googlegroups.com>
On Friday, December 7, 2012 1:41:34 AM UTC+1, Vinícius Franchini wrote:
> 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....
On Friday, December 7, 2012 1:41:34 AM UTC+1, Vinícius Franchini wrote:
> 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....
The syntax that you show is very specific for AVR microcontrollers. If that's really the case have a look at
http://sourceforge.net/p/avr-ada/wiki/Interrupts/
and at the data sheet of your controller. Consider also asking on the AVR-Ada-devel mailing list.
HTH
Rolf
next prev parent reply other threads:[~2012-12-07 7:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 0:41 Interruption Handling using zfp compilation flag Vinícius Franchini
2012-12-07 7:45 ` Rolf [this message]
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