OpenCores
URL https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk

Subversion Repositories adv_debug_sys

[/] [adv_debug_sys/] [trunk/] [Software/] [adv_jtag_bridge/] [cable_parallel.c] - Diff between revs 22 and 31

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)
{
{

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.