Skip to contentSkip to conversation

Does usbtty work on omap3?

U-Boot Charles Manning 2 participants 3 messages May 10, 2011 – May 11, 2011

lore
Share & tools
lore
#0 lore raw

Hi All

I have usbtty partially working on omap3 (overo board). Unfortunately the byte stream gets corrupted. It looks like some sort of buffer / fifo corruption or similar with old bytes being sent and some bytes being dropped.

Does anyone have this actually working reliably?

I tried to have a hunt around the code, but the musb user guides are unfortunately under NDA.

-- Charles

#1 lore raw
Quoted 9 lines · Charles Manning

Hi All

I have usbtty partially working on omap3 (overo board). Unfortunately the byte stream gets corrupted. It looks like some sort of buffer / fifo corruption or similar with old bytes being sent and some bytes being dropped.

Does anyone have this actually working reliably?

It is also not reliable for me. There was an alternative implementation, I believe originating from a combination of TI and RidgeRun, for which patches were made public, but the current upstream has data corruption in it. I'm looking into getting the issue staffed by TI, but this is a nice-to-have feature currently so it is at a low priority.

Quoted 10 lines

I tried to have a hunt around the code, but the musb user guides are unfortunately under NDA.

-- Charles
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#2 lore raw
Quoted 1 line · On Wednesday 11 May 2011 11:47:14 Jason Kridner wrote:

On Tue, May 10, 2011 at 7:23 PM, Charles Manning

Quoted 7 lines · <[email protected]>wrote:
Quoted 7 lines

Hi All

I have usbtty partially working on omap3 (overo board). Unfortunately the byte stream gets corrupted. It looks like some sort of buffer / fifo corruption or similar with old bytes being sent and some bytes being dropped.

Quoted 6 lines
Quoted 1 line

Does anyone have this actually working reliably?

It is also not reliable for me. There was an alternative implementation, I believe originating from a combination of TI and RidgeRun, for which patches were made public, but the current upstream has data corruption in it.

I hunted around for a bit but could not find those patches. Can you point me at it?

What is somewhat annoying is that the old code (~2008) actually worked well, but that was replaced with broken code from Wind River :-(.

Quoted 2 lines

I'm looking into getting the issue staffed by TI, but this is a nice-to-have feature currently so it is at a low priority.

I would argue that it is more than just nice to have. USB is an excellent way to load up data in a manufacturing jig etc and beats any other way to load up software.

Thanks

-- Charles