Hi all,
I was just wondering if i can use the OLS for analysing the 1-wire protocol (as i dont hv bus pirate), i see a menu option in the OLS client s/w. Any manual or docs on how to use as a protocol analyser.
Thanks in advance
then you can turn on RLE to be able to capture more of the signal .. for e.g. here you see first 0xCC, 0x44 (skip rom, start conversion), then 0xCC, 0xBE (skip rom, read scratch pad)
Now, as you can see on the snapshot, after 0xCC, 0xBE there is a reply from DS18B20 that analyzer does not analyze properly. That's probably a bug in the client, jawi might have a look at it .. but you can decode that part yourself if you really need to.
Thanks arhi for your detailed steps, I appreciate it. Im getting lots of Bus errors on the client UI, however i know there are no errors and the device is working perfect.. I just suspect if my OLS firmware version could be old one.. how do i check the version of the OLS firmware.. Is there any 1to 1 version match required for the OLS firmware and the client software..
How do i check the version of OLS, what is the latest version and any links for it.
@sunny: with the help of arhi I've confirmed that the 1-wire decoder indeed contains a bug.
I've pushed this fix already to the main repository, but there's no official release yet. I've to fix some other bugs before I can release 0.9.5, so you either have to wait for that, or build the latest unstable version yourself...
Hi Jawi, when can i expect a new release with this fix
Jawi is pretty busy right now, and like all volunteer open source work the effort ebbs and flows. IMHO you can never expect a new release, but the source is available if you want to compile it with the fix on your own.
Edit: that is not to mean Jawi won't make a release, but that you shouldn't expect it because nobody does this development professionally on a schedule.
Hi guys, I make emulator of the ds18b20 sensor and I need 1-wire sniffer, so as sniffer I use a Arduino UNO and OLS 0.9.7.2 on OSX.
I testet it with with serial command, and it's works fine.
When I works with 1-wire I see impulses, but when I start
Tools--> 1-Wire protocol analyser it shows the nonsense!
With simple arduino sketch I send next commands:
1) reset
2) 0xCC
3) 0x44
#include "OneWire.h"
OneWire ds(10); // on pin 10 (a 4.7K resistor is necessary)
void setup(void) {}
void loop(void) {
ds.reset();
ds.write(0xCC);
ds.write(0x44);
delay(1000);
}
[attachment=1]
On
@arhi screenshot from
Thu Sep 08, 2011 7:33 am pulsations are identical to mine. But 1-Wire protocol analyser says other:
[attachment=2]
My settings:
[attachment=0]
What the problem, 1-wire analyser not works? Or its my problem?