planetscape / the-bus-pirate

Automatically exported from code.google.com/p/the-bus-pirate
Other
0 stars 1 forks source link

add the 4096 bytes ring-buffer also on binary modes #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
The 4 byte buffer on Pic-UART is very poor, it causes very slow speed for
bulk transfers on binary modes (applications need to send 4 bytes and read
4 bytes overheading a simple bulk transfer). A great speed gain can be
performed by adding a 4096 software buffer.

Original issue reported on code.google.com by villam...@gmail.com on 29 Mar 2010 at 11:17

GoogleCodeExporter commented 8 years ago
I think this should be a topic in the development forum so the community can 
discuss
it and offer suggestions.

The main issue is how to control it. What is the use scenario? Do we just wait 
for
4096 bytes? A new protocol with large packet sizes? Bump bytes on an interrupt? 
And
if so, that about the other features that might use that ring buffer at the 
same time
(sniffers)? And what about output bytes? Do they get buffered too?

Original comment by ianles...@gmail.com on 30 Mar 2010 at 7:42