On 07/12/2010 04:29 a.m., Tomek CEDRO wrote:
> On Mon, Dec 6, 2010 at 7:04 PM, Gaston Rodriguez
> <[email protected]>  wrote:
>> On 03/12/2010 11:20 p.m., Mike Frysinger wrote:
>>> On Friday, December 03, 2010 17:46:29 Gaston Rodriguez wrote:
>>>> I'm using UrJtag to program/erase Actel Fpgas. With previous urjtag (rev
>>>> 1737) works fine. The ERASE file is executed in about 53 seconds. But
>>>> with latest UrJtag (rev 1868) the player reach the line 110 of the SVF
>>>> file and never finishes.
>>> please narrow it down.  use git and you can use the automated bisect.
>>> -mike
>> Ok, I think I found where the problem starts... (thanks to "git bisect",
>> what a nice tool!)
>> The last report is:
>>
>> 5c3e634a0e4daaf1cf3f6f37ca8a90833a33b046 is the first bad commit
>> commit 5c3e634a0e4daaf1cf3f6f37ca8a90833a33b046
>> Author: Jie Zhang<[email protected]>
>> Date:   Sat Feb 6 00:24:25 2010 +0000
>>
>>     Optimize TMS clocks for FT2232 cables.
> Hello Gaston, have you tried to reduce your cable clock frequency
> first? I have written driver fot FT2232H based chip with division
> clock turned off and was a bit suprised that the cable did not work...
> at first because of the of the high cloock frequency as it turned out
> later when i slowed down the cable. The Clock scheduling may be very
> helpful for increasing thruput even on a slower interfaces
> (esiepcially USB). Please try the "frequency" command after "cable" is
> selected and let us know if that helps on optimized code.
>
> Best regards,
> Tomek
>
Hi Tomek,
     it seems that you are right! Slowing down the frequency makes it 
work almost equal than with my patch. The cpu usage is high the first 
26-27 seconds, but then is low.

Actel SVF files contains the instruction:

FREQUENCY 4E6 HZ;

If I edit this line to set the frequency in 2Mhz all works ok. Also 
works if I remove this line in the SVF file and use the UrJtag 
"frequency" command before "svf", for example:

cable ft2232
usleep 10000
frequency 2000000
bsdl path ../bsdl
detect
svf erase.svf progress

Maybe the solution of my problem is simply ignore the FREQUENCY 
statement in SVF files.. Can this be selected, maybe with a flag, in the 
"svf" command?

I tried keeping the frequency in 4Mhz with several combinations of 
"ref_freq" but the results are not good.

Thanks!
Gastón.


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to