Menu

#374 How to add a new JTAG driver support in openocd

0.10.0
closed
openocd (5)
High
2022-12-08
2022-12-08
Ashi Gupta
No

Hello,

I want to add support for a new custom JTAG driver in openocd. I have created my driver DLL that i have interfaced with openocd and create a new driver .c file (similar to jlink.c but with my driver APIs for JTAG operation). Below are the queries i have:

  1. Is there any documentation available that explains how to create driver file in openocd ? I am referring jlink.c but need some more clarity on what is the JTAG data sequence and API format needed in driver to get it working with openocd ?
  2. I have multiple DAPs in my system in daisy chain. How to manage this with openocd ? Do i have to manage DAP selection in my driver or can provide configuration details in cfg file ? Any example for cfg file to follow ?

Thanks for the help.

Discussion

  • Paul Fertser

    Paul Fertser - 2022-12-08

    Hello,

    I have created my driver DLL

    Unless you are releasing source code of that DLL under a GPL-compatible licence you are NOT allowed to distribute OpenOCD that's using it. Please keep that in mind and respect the Copyright law.

    Regarding your questions, this ticketing system is not a support forum, please write to the devel mailing list instead.

     
  • Paul Fertser

    Paul Fertser - 2022-12-08
    • status: new --> closed
     
  • Paul Fertser

    Paul Fertser - 2022-12-08

    Hello,

    I have created my driver DLL

    Unless you are releasing source code of that DLL under a GPL-compatible licence you are NOT allowed to distribute OpenOCD that's using it. Please keep that in mind and respect the Copyright law.

    Regarding your questions, this ticketing system is not a support forum, please write to the devel mailing list instead.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.