From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 2 Nov 2010 17:01:06 +0100 Message-ID: From: Gorka Guardiola To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] JTAG Topicbox-Message-UUID: 74fd5b3a-ead6-11e9-9d60-3106f5b1d025 On Tue, Nov 2, 2010 at 11:28 AM, Steve Simon wrote: > Could one (is is this the plan) to generate a /proc like virtual file system > for jtag so acid will then work over jtag? > > -Steve > > At the level I am thinking/trying now, I am thinking of exporting a filesystem with a file per TAP (that is per JTAG accessible chip in the device). This would be wrapped for the processor (+memory?) with yet another filesystem for debugging. I am not sure this fits into a /proc kind of interface because JTAG lets you access the bare hardware. Nemo has just pointed to me that a process is not the same as a running kernel, and maybe the abstraction does not fit that well. I am not sure. Maybe there is a middle ground. Maybe we can have an interface where you write a simple subset of acid commands (which is what I thought originally). I honestly don't know. As I said, this is my first experience with JTAG and I am learning as I go. I think I have the MPSSE under control now (I have written a kind of mini-assember for it) and I am now moving to JTAG itself. For the moment a file per TAP will probably do. G.