Tim Eccles wrote:
> Hi
>
> I have been inching my way into getting OpenOCD Serial Wire JTAG (SWJ) 
> working on the ARM Cortex-M3.
>
> Looking around I get the sense that quite a few people have looked at 
> SWJ and I would like to pull together any unfinished contributions that 
> are out there.
>
> So please post or get back to me if you have any leads on this.
>   

This - I believe - at the hardware level will need some new access 
functions.
For example - today - all interfaces are controlled via function 
pointers in:

    typedef struct jtag_interface_s jtag_interface_t;

None of those act, or think, or look like the hardware SWJ interface - 
or that is my impression.
I could be *very* wrong.

I mention this because a while ago I thought it would be nice to have 
OpenOCD setup to program SPI flash chips directly.
In what Xlinix calls serial spi mode.

In effect, one could

(a) rename: 
        old:    jtag_itnerface_t::execute_que()
       new:   jtag_interface_t:: execute_jtag_que()

(b) Add:
                jtag_interface_t:execute_spi_que()
and           jtag_interface_t::execute_i2c_que()

and      in your specific case....  

            .. perhaps jtag_interface_t::execute_swj_que()

It is a thought... I have not gone further then a pipe dream.

For example - in august I wrote this:

       
https://lists.berlios.de/pipermail/openocd-development/2008-August/002878.html

The subject came up again in October
   
    
https://lists.berlios.de/pipermail/openocd-development/2008-October/003437.html

-Duane.





_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to