Open nkrk opened 12 years ago
Hi,
nkrk:
Also notice follow bug. In proteus it works only if I monitoring 1-wire lan with oscilloscope. If I remove oscilloscope it dosn't work again
So you have a timing problem. The probe is likely to slow down the signal, due to increased capacitance. Enough that it works.
Can anybody help me?
Look at the scope output and the 1wire timing requirements ... not much else I can say without having the hardware.
-- Matthias Urlichs
So you have a timing problem.
Actually I have changed your timings to the following, because with your timings program doesn't work atall (in proteus and in chip too) now Iam using following timing section (after comment // I wrote datasheet timings):
The probe is likely to slow down the signal, due to increased capacitance. Enough that it works.
about what capacitance you say?
ps: I use atmega8 at 16MHz. because if I use 8MHz (as you wrote in src file) 1Wire timings was wrong
Timing should now be much better. Macros are tested at 8 and 16 MHz, pulldown is in assembly code to be as fast as possible.
Hi Again Please help to me run ow slave on ATmega8
now program works in Proteus but on real chip doesn't If I connect chip with program to 1-wire lan all devices disappear :( Also notice follow bug. In proteus it works only if I monitoring 1-wire lan with oscilloscope. If I remove oscilloscope it dosn't work again
Can anybody help me?