2 Replies Latest reply on Aug 15, 2018 7:55 PM by user_483038750

    Can't find openocd.cfg for CYUSB3KIT-003 OpenOCD debugger

    user_483038750

      Hello,

       

      I am trying to debug the USBBulkSourceSinkLED project of CYUSB3KIT003 with OpenOCD in SDK1.3.4.

      but, I had an error like below.

      I set the "Run Configuratins" like below.

      The "arm926ejs_fx3.cfg" file is in the folder below.

      C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\JTAG\OpenOCD\Config

      What shall I do?

       

      Best regards,

      Yocchi

        • 1. Re: Can't find openocd.cfg for CYUSB3KIT-003 OpenOCD debugger
          hrtk

          Hi,

           

          ☆You can do setup as follows on [Run] -> [External Tools] -> [External Tools Configurations].

           

          Location: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\JTAG\OpenOCD\Windows\openocd.exe

          Working Directory: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\JTAG\OpenOCD

          Arguments: -f Config\arm926ejs_fx3.cfg

           

          This setting is a bit diffrent to the description on "CYUSB3KIT-003 SuperSpeed Explorer Kit User Guide, Doc. # 001-93186" because directory hierarchy on SDK1.3.4 environment is a bit different compare to "C:\Program Files (x86)\Cypress\SuperSpeed Explorer Kit\1.0\USBSerialOpenOCD".

           

           

          ☆If you would like to setup on "Run Configurations", how about following settings on Arguments?

          To change "Program arguments" and "Working directory", you would be able to see correctly invoked messages on the Console.

           

          Best regards,

          Hirotaka Takayama

          1 of 1 people found this helpful
          • 2. Re: Can't find openocd.cfg for CYUSB3KIT-003 OpenOCD debugger
            user_483038750

            Hello Takayama-san,

             

            I can debug the project with OpenOCD in Eclipse.

            Thank you very much.

             

            Best regards,

            Yocchi