- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using the sopc system-console as a conduit into my avalon-mm via a jtag-master.
Ultimately there will be a nios running uC orchestrating everything, but in the meantime I've written a slew of tcl to control everything. I really needed Tk and some other more advanced (> Tcl 8.3) constructs to really do what I wanted. In order to do this in system-console (which is Tcl 8.0) I ended up opening a pipe to system-console from a higher version tcl shell and passing the system-console commands through that pipe. This works great on linux, but I cannot get this to work on windows. STDIN just does not want to connect (or perhaps it was STDOUT, it was a while ago). I can open a pipe to a stand-alone tcl shell on windows just fine, but system-console just doesn't work for me. Has anyone ever done this kind of thing on windows? Or does anyone have another suggestion for me? (I've tried a socket client/server thing, but that makes system-console puke altogether). The java extension in system-console seems promising to getting a socket working (or a pipe), but I haven't yet been able to find the secret sauce for that. Thanks, Eric Rochester MNLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, I fixed it. Turns out that only the server side of the tcl socket commands are broken in system-console. So I turned my server-client model upside down and run a socket server in my gui and open a client socket in system-console and I now have wonderful two-way traffic.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page