Re: [taste-users] [cordet2] Problems with Device Drivers for Sensor/Actuators

[ Thread Index | Date Index | More lists.tuxfamily.org/taste-users Archives ]


Dear Francisco,

If you update your TASTE VM, I have committed the ACN/BlackBox device example that I built:

in ~/tool-src/testSuites/Regression_AADLv2/Demo_BlackBox


You can check/edit the ACN file by typing:
$ taste-edit-acn-model

And build the system:
$ build-script.sh

It will generate a system both with the C and Ada runtimes, and containing a caller both in C and in Ada that invokes the BB Device interface.
One parameter of this interface is in ACN, the other one in uPER.

I wasn't able to reproduce the bug you reported in any of these configurations...

Best regards
Maxime



On Fri, 30 Mar 2012 15:27:58 +0200, Francisco Ferrero Mateos <fferrero@xxxxxxx> wrote:

Dear all,

 

We are experiencing some problems when developing device drivers for sensor/actuators.  

 

1.       When declaring unprotected interfaces with the black box function, it seems that the output parameters are not decoded by the ACN decoding function (dataview-uniq.c). The calling service always receives data initialized by 0. In our case the calling interface is implemented in Ada.

2.       When using the required interface within the black box function, we have linkage problems as the reference to the extern function is undefined.

 

Regarding the first point, is it possible declaring provided interfaces in the black box function that output parameters? In the documentation about the exo-arm, the provided interface seems to accept only input parameters. Please, correct me if I am wrong.

 

Our Ocarina version is 2.0w r3731.

 

Kind regards,

 


Description: C:\Users\fffm\AppData\Roaming\Microsoft\Firmas\logo_gmv.gif

Francisco Ferrero Mateos
Jefe de proyecto /
Project Manager

GMV
Isaac Newton, 11
P.T.M. Tres Cantos
E-28760 Madrid
Tel.
+34 91 807 21 00
Fax +34 91 807 21 99
www.gmv.com

Description: C:\Users\fffm\AppData\Roaming\Microsoft\Firmas\icon_blog.gif

 

Description: C:\Users\fffm\AppData\Roaming\Microsoft\Firmas\icon_facebook.gif

 

Description: C:\Users\fffm\AppData\Roaming\Microsoft\Firmas\icon_twitter.gif

 

Description: C:\Users\fffm\AppData\Roaming\Microsoft\Firmas\icon_youtube.gif

 

 


This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it.
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener información clasificada por su emisor como confidencial en el marco de su Sistema de Gestión de Seguridad de la Información siendo para uso exclusivo del destinatario, quedando prohibida su divulgación copia o distribución a terceros sin la autorización expresa del remitente.. Si Vd. ha recibido este mensaje erróneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboración.
Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informação confidencial, de acordo com nosso Sistema de Gestão de Segurança da Informação, sendo para uso exclusivo do destinatário e estando proibida a sua divulgação, cópia ou distribuição a terceiros sem autorização expressa do remetente da mesma. Se recebeu esta mensagem por engano, por favor avise de imediato o remetente e apague-a.
Obrigado pela sua colaboração.



--
ESA - European Space Agency

Maxime Perrotin
TASTE Project manager
PROBA V - PROBA 3 Software engineer

System, Software and Technology Department

ESTEC
Keplerlaan 1, PO Box 299
NL-2200 AG Noordiwjk, The Netherlands
maxime.perrotin@xxxxxxx | www.esa.int
+31 (0)71 565 4923 | Fax +31 (0)71 565 5420

This message and any attachments are intended for the use of the addressee or addressees only. The unauthorised disclosure, use, dissemination or copying (either in whole or in part) of its content is not permitted. If you received this message in error, please notify the sender and delete it from your system. Emails can be altered and their integrity cannot be guaranteed by the sender.

Please consider the environment before printing this email.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/