Any chance to get Hitex STM32-Comstick workin' with openOCD

Hi,

is there any chance to get a Hitex STM32-comstick working with openOCD ?

If not, any hints how to write a openOCD Interface for this device on my own are welcome.

I’ve already got the usb sniffer working :slight_smile:

Thanks for any answers.

Regards buffalo.

P.s. Here’s how all i know about the JTAG now.

Mar 26 18:00:02 quark kernel: [ 1274.460014] usb 2-5: new full speed USB device using ohci_hcd and address 2

Mar 26 18:00:02 quark kernel: [ 1274.690096] usb 2-5: configuration #1 chosen from 1 choice

Mar 26 18:00:02 quark kernel: [ 1274.704464] usbcore: registered new interface driver usblp

Mar 26 18:00:02 quark kernel: [ 1274.728630] usbcore: registered new interface driver hiddev

Mar 26 18:00:02 quark kernel: [ 1274.739094] generic-usb 0003:0640:0033.0001: hiddev96,hidraw0: USB HID v1.10 Device [Hitex Development Tools GmbH STM32com-Stick] on usb-0000:00:04.0-5/input1

Mar 26 18:00:02 quark kernel: [ 1274.751071] generic-usb 0003:0640:0033.0002: hiddev97,hidraw1: USB HID v1.10 Device [Hitex Development Tools GmbH STM32com-Stick] on usb-0000:00:04.0-5/input2

Mar 26 18:00:02 quark kernel: [ 1274.751090] usbcore: registered new interface driver usbhid

Mar 26 18:00:02 quark kernel: [ 1274.751093] usbhid: v2.6:USB HID core driver

there’s already support for the ft2232-based stm32 performancestick (according to the manual).

You may have to ensure that you have permissions on the device.

interface/stm32-stick.cfg

board/hitex_stm32-performancestick.cfg

this works for me:

sudo openocd -f board/hitex_stm32-performancestick.cfg

The STM32-comstick is not ftdi based as you can see from the usb log.

It is a hid based device and so a proprietary format, very unlikely to be supported unless Hitex release the info.

You are probably thinking of the STM32-performancestick that is ftdi based.

Cheers

spen

Ah, you’re right. I guess I have a performancestick.