Olimex Support Forum

ARM => JTAG => Topic started by: lpowell on March 23, 2015, 03:42:24 PM

Title: Using SWD interface on ARM-USB-OCD
Post by: lpowell on March 23, 2015, 03:42:24 PM
I would like to use the ARM-USB-OCD as a SWD interface to a ADuCM360 processor.  I have CooCox but it does not include this processor yet.  Are there any updates necessary for the ARM-USB-OCD?
Title: Re: Using SWD interface on ARM-USB-OCD
Post by: LubOlimex on April 07, 2015, 10:02:15 AM
Hello,

It seems ADuCM360 has only SWD interface (2-wire JTAG). ARM-USB-OCD doesn't have SWD interface by default. ARM-USB-OCD has only standard 4-pin JTAG mode.

You have two options:

1. Get ARM-JTAG-SWD (https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-SWD/ (https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-SWD/)) - it adds SWD interface to Olimex OpenOCD debuggers.

However, I'm not sure if CooCox would support the SWD adapter.

Furthermore, I couldn't find OpenOCD configuration for ADuCM360 in case you want to use OpenOCD.

2. Get ARM-JTAG-COOCOX debugger(https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-COOCOX/open-source-hardware (https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-COOCOX/open-source-hardware)). It was made especially to work with CooCox IDE. It has SWD by default.

Best regards,
Lub/OLIMEX