01-19-2011 12:53 PM - edited 01-19-2011 12:55 PM
OOps.. Sorry.. I should have mentionned that I am using the LinkUSB interface which emulates a DS2480B USB inteface from Dallas Semiconductor. I am not sure how different it is from the DS9490R.
01-19-2011 02:13 PM
With the DS2490 you need the DLL, ibfs32.dll.
01-19-2011 08:26 PM
Oh yes... The DS2490 is a USB to 1-wire bridge chip..
Can you not setup the Mode Command (hex) with the appropriate number of bytes for the state registers and send it over serial?
I'm just curious..
01-20-2011 10:16 AM
@Ray.R wrote:
Oh yes... The DS2490 is a USB to 1-wire bridge chip..
Can you not setup the Mode Command (hex) with the appropriate number of bytes for the state registers and send it over serial?
I'm just curious..
You would have to know the commands. I've never seen this info on Maxim's website. Maybe it is there somewhere. The white papers say to use the DLL. It is free, convenient, and proven to work. So why not use it. I guess if you like a challange......
01-20-2011 05:53 PM
01-20-2011 06:11 PM
Ray: Sounds like you are having fun. I'll stick to the DLL since all my code is already written.
01-21-2011 09:29 AM
you know me... I always have fun..
01-24-2011 06:52 AM
You’re right.
If you are interested, in attachment, you will find my code that open an USB1WireReader (DS9490) device,write x bytes (by 8bytes= one scratchpad), then read the new values and verify the data. The first 1wire-DS2431 found on the 1wirebus is selected.
Now, I’m looking to implement a CRC control in place of write and read to be safer.
I'm still coding my application...
Marc
01-24-2011 09:25 AM - edited 01-24-2011 09:31 AM
-deleted-
07-24-2013 03:59 PM
Hi Marc,
I am trying to run Main_WRV_cycle .vi from the zip file. But I think some SubVI's are missing like WriteScratch.vi, and many SubVI's from ReadScratch.vi. Can you please post it if you have them?
Thanks