> > From: Rick Altherr <[EMAIL PROTECTED]>
> >>> +static void output_data(void)
> >>> +{
> >>> + int i;
> >>> + *gpio_data_register = output_value ^ INVERT_BITS;
> >>> + for ( i = 0; i < 10; i++ )
> >>> + ;
> >>> }
> >>>
> >>
> >> A for loop like that can't reliably be used as a delay loop.
> >
On Dec 5, 2008, at 1:58 AM, Hiroshi Ito wrote:
From: "Øyvind Harboe" <[EMAIL PROTECTED]>
I was not able to apply this patch. Please create patch
against svn trunk and post again. Your first patch
applied fine, so do it in the same manner.
Also add yourself to the copyright at the top of ep93x
From: "Øyvind Harboe" <[EMAIL PROTECTED]>
> I was not able to apply this patch. Please create patch
> against svn trunk and post again. Your first patch
> applied fine, so do it in the same manner.
>
> Also add yourself to the copyright at the top of ep93xx.c
Sorry for late. I have been offlined
On Dec 2, 2008, at 2:48 PM, Hiroshi Ito wrote:
+static void output_data(void)
+{
+ int i;
+ *gpio_data_register = output_value ^ INVERT_BITS;
+ for ( i = 0; i < 10; i++ )
+ ;
}
A for loop like that can't reliably be used as a delay loop. First,
the speed of th
I was not able to apply this patch. Please create patch
against svn trunk and post again. Your first patch
applied fine, so do it in the same manner.
Also add yourself to the copyright at the top of ep93xx.c
Thanks!
--
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTA
I'm running openocd on EP9307(arm925t) CPU, as a HOST.
and target is EP9307 and ARM926t with EP9307 GPIO.
this patch is,
1. speed up to usable speed.
nanosleep is too slow on my machine.
(linux is running 10mS timer, and I compiled openocd with uClibc.)
2. signal logic can be inverted with co