Fernando M. Maresca schreef:
> Yes, it works. Thank you both,
Ok, I have taken a closer look to the source of picprog and think that I
have found a good solution.
Can you test if the following works for you?
In the file picport.h at 53 you find:
#if defined(__x86_64__) || defined(__i386__)
#define RDTSC_WORKS
#endif
Change this to:
//#if defined(__x86_64__) || defined(__i386__)
//#define RDTSC_WORKS
//#endif
Normally picprog use the RDTSC instruction on x86_64/i386 platforms. By
disabling this, picprog makes use of the delay-routines for platforms that
don't have this RDTSC instruction.
Maarten Blomme has test this on his slackware amd64 box and it fixes the
problem. It also fixes the problem that I have on my laptop¹.
So, I plan to create a new package with RDTSC disabled, but before doing
that I like to know if it also fix your problem.
[1]
<http://www.janw.dommel.be/nanoblogger/archives/2006/04/#e2006-04-01T13_24_44.txt>
--
Met vriendelijke groetjes - Jan Wagemakers -
- Debian GNU/Linux testing/unstable - Up : 65 days
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]