URL
https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 22 |
Rev 31 |
Line 79... |
Line 79... |
}
|
}
|
|
|
/*-----------------------------------------[ Physical board wait function ]---*/
|
/*-----------------------------------------[ Physical board wait function ]---*/
|
void cable_parallel_phys_wait()
|
void cable_parallel_phys_wait()
|
{
|
{
|
usleep(10);
|
/* Multiple users have reported poor performance of parallel cables,
|
|
* which has been traced to usleep() sleeping much longer than
|
|
* microseconds. The same users have reported error-free functionality
|
|
* and an order of magnitude improvement in upload speed.
|
|
* If you get strange data errors while running, add this sleep back
|
|
* in, or perhaps a busy-wait delay.
|
|
*/
|
|
/* usleep(10); */
|
}
|
}
|
|
|
/*----------------------------------------------[ xpc3 specific functions ]---*/
|
/*----------------------------------------------[ xpc3 specific functions ]---*/
|
int cable_xpc3_out(uint8_t value)
|
int cable_xpc3_out(uint8_t value)
|
{
|
{
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.