BUG in libtc08usb for pico tc08 ?

 
Post new topic   Reply to topic    Pico Technology Forum Index -> Linux
Author Message
eltorio
Newbie


Joined: 16 Oct 2007
Posts: 1

PostPosted: Tue Oct 16, 2007 11:19 am    Post subject: BUG in libtc08usb for pico tc08 ? Reply with quote

Hi,
I'm testing the libtc08usb library but there is a problem while reading more than 185 GetSingle value.

If I modify the line 189 of examples/tc08test_cpp/main.cpp with
Code:
for (int conversions = 0; conversions < 1000; conversions++) {

(for getting more than 185 reading)

I got a segmentation fault caused while calling usb_bulk_write in PicoUsbDevice_Linux.cpp
Code:
Program received signal SIGSEGV, Segmentation fault.
0xb7f73f21 in PicoLinuxUsbDevice::WritePipe (this=0x804d0f8, pipeNumber=1, buf=0xbfe6a798, size=1) at shared/PicoUsbDevice_Linux.cpp:564
Back to top
ziko
Site Admin
Site Admin


Joined: 01 Dec 2006
Posts: 606
Location: St Neots

PostPosted: Thu Nov 01, 2007 11:14 am    Post subject: Reply with quote

Hi and thank you for your post.

One of our engineers is looking into this, I shall keep you informed of any updates.

Kind regards
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> Linux
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group