Spectrum Digital XDS100V2 JTAG Debuger interfaced with RT5350F Olinuxino Evb

Started by Kishore, December 09, 2024, 07:33:05 AM

Previous topic - Next topic

Kishore

e are currently using the Spectrum Digital XDS100V2 JTAG debugger in SPI mode to interact with the programming connector. The following commands are being used to read from and write to the flash:

Command

flashrom -p ft2232_spi:type=arm-usb-ocd -w BinaryFile.bin

Is it possible to program the SPI flash using the Spectrum Digital XDS100V2 JTAG debugger with an RT5350 JTAG connector, using the same commands? Please advise.

LubOlimex

Well that command won't work for sure. See that command says that it has "FT2232" chip and that the JTAG tool is "arm-usb-ocd". This config is specifically made for a product like this:

https://www.olimex.com/Products/ARM/JTAG/ARM-USB-OCD-H/

I can't say if XDS100v2 will work but flashrom needs to have support for it and you need to use a command suitable for it. It is not listed as supported hardware:

https://www.flashrom.org/supported_hw/supported_prog/index.html

Maybe ask the flashrom community.
Technical support and documentation manager at Olimex

Kishore

Thank you for your Quick response.

 How can I work with only the XDS100v2 JTAG debugger in SPI flash mode for the RT5350F EVB Rev A board?

please give any suggestion

LubOlimex

No idea. The only tool we've used for programming is ARM-USB-OCD, as described in the wiki article: https://www.olimex.com/wiki/RT5350F-OLinuXino#Upload_prebuilt_images_using_programmer_tool

Hardware connections should be the same, but software would require support for XDS100v2 (and I don't think there is such support in the flashrom software).
Technical support and documentation manager at Olimex

Kishore



"I'm using OpenOCD software to install and locate the interface file. While I found an `xds100v2.cfg` file, I couldn't find any board-related `.cfg` file. Could you suggest how to write a configuration file that supports the RT5350F board?"


This is for openocd command:

openocd -f interface/ftdi/xds100v2.cfg -f board/example_board.cfg


So manually created my own cfg file but execute openocd appears on errors.