Search found 10 matches

by lgzco
Thu May 24, 2007 5:19 pm
Forum: IO-Warrior English
Topic: IOW56 SPI transmission: not all bytes are read
Replies: 40
Views: 75512

Hi Guido, Hi All,

Is there any new information about the bug fix? Are you definitely sure that the problem does come from the chip ?

thanks in advance !

Ligang
by lgzco
Thu Apr 26, 2007 3:07 pm
Forum: IO-Warrior English
Topic: IOW56 SPI transmission: not all bytes are read
Replies: 40
Views: 75512

Buy a USB PCI card. Almost all have OHCI host controllers. The problem seems to only surface on UHCI host controllers.
If you decide to buy such a card then insist on one with NEC chip. http://www.usbman.com recommends them.

If this PCI card is used, how about the SW complexity to control the SPI ...
by lgzco
Thu Apr 26, 2007 11:45 am
Forum: IO-Warrior English
Topic: IOW56 SPI transmission: not all bytes are read
Replies: 40
Views: 75512

Hi Eberhard, Hi Robert,

Updated: Special Mode $FF tested and it fails.
Problem seems to exist with IIC mode too.
as I understand so far, the problem is due to the IoWarrior56 itself, but not the iowkit.dll. Is my interpretation correct ?

Is there any workaround for this problem ?

Many thanks ...
by lgzco
Fri Apr 20, 2007 2:59 pm
Forum: IO-Warrior English
Topic: IOW56 SPI transmission: not all bytes are read
Replies: 40
Views: 75512

Hi Eberhard, Hi Robert,

Eclipse is a real showstopper on startup (another other one is Staroffice).
Do you still get the error when you don't do anything like the above, do you fail when your machine is "normal" operation? Yes, i still get error sometimes even when I do nothing.

What happens if ...
by lgzco
Fri Apr 20, 2007 9:23 am
Forum: IO-Warrior English
Topic: IOW56 SPI transmission: not all bytes are read
Replies: 40
Views: 75512

Hi Eberhard, Hi Robert,

many thanks for you kind reply again!
Are you using an IOWarrior56-Starterkit or a selfmade PCB?
I am using IOWarrior56-Starterkit.
Is there a hub inbetween the IOWarrior and you computer?
No.
Are you using a bad or very long cable? It is just a very normal USB cable ...
by lgzco
Wed Apr 18, 2007 10:24 am
Forum: IO-Warrior English
Topic: IOW56 SPI transmission: not all bytes are read
Replies: 40
Views: 75512

Hi Eberhard,

finally I found there is really a 500 ms timeout configuration, which is set somewhere else as my SPITransfer() function by another colleague in team. And the error code (1460) returned from GetLastError (as you recommended in your last post) is also timeout error. Sorry for my false ...
by lgzco
Tue Apr 17, 2007 5:03 pm
Forum: IO-Warrior English
Topic: IOW56 SPI transmission: not all bytes are read
Replies: 40
Views: 75512

Hi Eberhard,

Thanks a lot for your kind reply !

I haven't set any timeout for the read() call. Further the same error occurs even when no target is connected with IO-Warrior . Therefore I think the error condition is independent from which SPI slave that IO-Warrior is connected with. I hope this ...
by lgzco
Thu Apr 12, 2007 12:53 pm
Forum: IO-Warrior English
Topic: IOW56 SPI transmission: not all bytes are read
Replies: 40
Views: 75512

Hello Eberhard,

thank you for your kind answer. Because I was busy doing something else, I haven't the chance to visit this forum. Now there are relatively detailed info from my side.


The exact producer and partnumber of device you are talking about , so I could have a look at the Datasheet. (If ...
by lgzco
Tue Mar 20, 2007 3:43 pm
Forum: IO-Warrior English
Topic: IOW56 SPI transmission: not all bytes are read
Replies: 40
Views: 75512

Hi Eberhard,

thank you for your quick reply.

The device that I address is a FPGA with SPI slave interface. And the problem i reported happens with almost all possible transmission rate from 12 MHz down to 94 KHz.

Through this interface more than 100 kbytes are transferred but through many SPI ...
by lgzco
Thu Mar 15, 2007 7:54 pm
Forum: IO-Warrior English
Topic: IOW56 SPI transmission: not all bytes are read
Replies: 40
Views: 75512

IOW56 SPI transmission: not all bytes are read

Hi,

I am using IOW56 SPI to transmit data. Sometimes not all bytes are read during the transmission. This information is returned from IowKitRead(). The GetLastError() returns sometimes 0 and sometimes 5. What does it mean ? Has anyone the similar situation ?

By the way I use Python script to ...