Very interesting work.

Regarding integration with OWFS, we need to clarify the scope.

1. Your device you be used as a bus master communicating with OWFS
running on another machine.
   OWFS would communicate with your device over whatever communication
means you implement (ethernet, serial, i2c, ...
   We've done this for a dozen prior devices, including
microprocessor-based designs. There are only a few 1-wire commands
that need to be supported.

2. Running owfs on the FPGA is a little trtickier. What would you
actually want to do? I assume your wouldn't have a user environment or
file system available.

When you think about it, OWFS has 3 parts:
A. 1-wire communication to 1-wire slaves (via a bus master)
B. Knowledge about the specific slaves, and all the protocol details
needed  generate temperature and switch state and memory information
is a general way rather than low-level byte codes.
C. A communication method to the user -- filesystem, program calls,
web-page, network packets.
( There is also some caching, locking, and optimizations built in, but
that's not essential ).

Part B is the hard part, there are a lot of slaves. Most commercial
smart bus masters that do this only support a few of the slaves based
on commercial demand (temperature most commonly).

I think the bus master is the easiest to implement. What is your vission?

Paul Alfille


On Fri, Nov 26, 2010 at 5:21 AM, Iztok Jeras <[email protected]> wrote:
> Hi,
>
> I would like to promote my project first., than I will ask you about
> porting OWFS.
>
> I wrote Verilog RTL 1-wire master with the next features:
> - writen in Verilog HDL, tested on Altera Cyclone II FPGA
> - reset/presence and bit write/read timing implemented in hardware
> - byte access commands done in software (port of public domain kit 3.10)
> - power delivery option (functionality is a bit hardware dependent)
> - overdrive mode support (not tested yet)
> - integration into Altera SOPC builder and Nios II EDS
>
> The project it developed here:
> https://github.com/jeras/sockit_owm
> Its final destination will be here:
> http://opencores.org/project,sockit_owm
>
> It would be great if anybody would be willing to test, report bugs, or
> help in any other way.
>
>
> Regarding OWFS, I see two porting paths:
> 1. porting OWFS to Nios II EDS + uCOS (a small real time OS)
> 2. writing a Linux driver, running it on OpenRisc from OpenCores.org
>
> The first solution requires a minimalistic port of OWFS with only C
> API. It should fit into between 32KiB and 128KiB RAM+ROM. Is there a
> project with such a minimalistic port, so I could check it? Otherwise
> is there a clean way to do it?
>
> The Linux driver and OpenRisc port wil have to wait, I do not have the
> development environment ready yet.
>
>
> For now I stil have so me hardware tests to run and some documentation
> to write, but if there is an clean way to port OWFS it might be a
> better choice than the current port of the public domain kit.
>
> Regards,
> Iztok Jeras
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to