tsp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : [Tsp-devel] PB Tsp_async_sample_read avec Rtems


From: Arquer Stephane
Subject: RE : [Tsp-devel] PB Tsp_async_sample_read avec Rtems
Date: Tue, 29 Apr 2008 16:52:46 +0200

Effectivement, j'ai modifié tsp_consummer.c en swappant les indiens et c'est 
mieux :) selon ton fichier joint et c'est bon.

J'avais essayé de le faire côté provider ds la fct 
tsp_request_async_sample_read_1_svc avec les defines 
TSP_UINT64_FROM_BE(*(uint64_t*)ret.data.data_val) mais cela ne fonctionne pas. 
Je cherche de ce côté encore.

Salutations.

sa

------------------------------------------

Linux/Debug/bin/tsp_request_generic -u leon tsp_request_async_sample_read 0
Linux/Debug/bin/tsp_request_generic: TSP provider URL is <leon>
   
Info||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/driver/tsp_consumer.c##TSP_consumer_connect_url##511:
 Trying to connect to <rpc://leon/:0>
   
Info||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/rpc/tsp_client.c##tsp_remote_open_progid##99:
 CONNECTED to server leon
   
Info||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/rpc/tsp_client.c##TSP_remote_open_server##149:
 Server opened : 'p:/bb_rtems'
TSP 
Request||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/driver/tsp_consumer.c##TSP_consumer_request_open##669:
 OPEN
Request Open successfully sent to : <rpc://leon/p:/bb_rtems:0>
Obtained channel Id : <0>
TSP 
Request||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/driver/tsp_consumer.c##TSP_consumer_request_async_sample_read##1329:
 ASYNC READ
  
Debug||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/driver/tsp_consumer.c##TSP_consumer_request_async_sample_read##1345:
 TSP consumer async read for pgi <0>

  
Debug||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/driver/tsp_consumer.c##TSP_consumer_request_async_sample_read##1348:
 async_read_result is <0x2CD6F4>

Reverse endian...
   myu.ui8[0]    = 0x00
   myu.ui8[1]    = 0x00
   myu.ui8[2]    = 0x00
   myu.ui8[3]    = 0x60
   myu.ui8[4]    = 0xA7
   myu.ui8[5]    = 0xE6
   myu.ui8[6]    = 0x79
   myu.ui8[7]    = 0x3F
         myu.a   = 0.006323
  
Debug||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/driver/tsp_consumer.c##TSP_consumer_request_async_sample_read##1375:
 async_read_result->pgi=0

  
Debug||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/driver/tsp_consumer.c##TSP_consumer_request_async_sample_read##1376:
 async_read_result->value_size=8

  
Debug||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/driver/tsp_consumer.c##TSP_consumer_request_async_sample_read##1377:
 async_read_result->data.data_val = 0x93CE650

0.006323
TSP 
Request||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/driver/tsp_consumer.c##TSP_consumer_request_close##741:
 CLOSE
  
Debug||/home/arquers/TSP/tsp-0.8.3-Source-Rtems2/src/core/driver/tsp_consumer.c##TSP_consumer_request_close##748:
 TSP_request_close(ing) channel_id=0
Request Close successfully sent to <rpc://leon/p:/bb_rtems:0>
address@hidden tsp_build_b]$




reply via email to

[Prev in Thread] Current Thread [Next in Thread]