Search found 242 matches

by xol
Thu Nov 11, 2010 3:10 pm
Forum: SUB-20 General Discussion
Topic: GPIO operations fail with "Bulk write failed"
Replies: 11
Views: 62029

Re: GPIO operations fail with "Bulk write failed"

HI,
There is a line

Code: Select all

#define ASYNC_OUT
in libsub.c.

Please try to comment it and rebuild library and application and run this way. Let me know the result.
by xol
Thu Nov 11, 2010 9:22 am
Forum: SUB-20 General Discussion
Topic: GPIO operations fail with "Bulk write failed"
Replies: 11
Views: 62029

Re: GPIO operations fail with "Bulk write failed"

Are GPIO connected to target?
Try to disconnect everything for the test.

If it is not working please run it with trace enabled:
export SUB_DEBUG=10
and send us a trace.
by xol
Fri Nov 05, 2010 12:53 pm
Forum: SUB-20 General Discussion
Topic: GPIO operations fail with "Bulk write failed"
Replies: 11
Views: 62029

Re: GPIO operations fail with "Bulk write failed"

What about other functions?
Do they also fail?

What Linux do you use?
by xol
Thu Nov 04, 2010 7:45 pm
Forum: SUB-20 General Discussion
Topic: Using SubTool to tranfer data through SPI
Replies: 4
Views: 11435

Re: Using SubTool to tranfer data through SPI

Hi,
I see the changing of polarity & phase on oscilloscope, but I did't see the data signal.
What signals are you looking at?
What data do you send?
Send us a screenshot of the SPI Tab and Oscilloscope diagrams.
by xol
Mon Nov 01, 2010 3:10 pm
Forum: SUB-20 General Discussion
Topic: Using SubTool to tranfer data through SPI
Replies: 4
Views: 11435

Re: Using SubTool to tranfer data through SPI

Tell us exactly what are you doing, what tool do you use, how do you run it?
If it is software send us your code.
by xol
Wed Oct 27, 2010 7:32 pm
Forum: SUB-20 General Discussion
Topic: Read input binairy value with GPIO_Read
Replies: 1
Views: 6687

Re: Read input binairy value with GPIO_Read

To get input 14:

Code: Select all

result = GPIO_read(...);
input14 = (result >> 14) & 0x01;
by xol
Sat Oct 23, 2010 5:46 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 93603

Re: SPI data transfer issue

Thanks.
Most important for us is to know that feature is working and it really helps.

All the rest (samples and screenshots) is to help other people to understand new functionality we have invented together with you.
by xol
Thu Oct 21, 2010 8:07 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 93603

Re: SPI data transfer issue

Here it is:
viewtopic.php?f=2&t=3#p353

Waiting for your feedbacks
by xol
Tue Oct 19, 2010 8:04 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 93603

Re: SPI data transfer issue

Hi, Implementation is done. You can see new API function documentation here: http://www.xdimax.com/sub20/doc/HTML/sub_spi_transfer_ess.htm I'm waiting for release build to upload it. You will need to update SUB-20 firmware. You can quick test it with sub_app using -ss=E..... option. For example: ./s...
by xol
Sat Oct 16, 2010 5:25 am
Forum: SUB-20 General Discussion
Topic: SPI data transfer issue
Replies: 43
Views: 93603

Re: SPI data transfer issue

HI,
Sorry for delay. I will make effort to finish it next week.