openocd for ADSP-SC589 gives Error: session transport was not selected. Use 'transport select <transport>'

I am following below document for environment setup, porting Uboot on ADSP-SC589 EZ Board:

https://download.analog.com/tools/LinuxAddInForCCES/documentation/Linux_Add-in_User's_Guide-1.2.0.pdf

When i run openocd command, I am getting following error:

root@nikesh:/opt/analog/cces/2.8.2/ARM/openocd/share/openocd/scripts# /opt/analog/cces/2.8.2/ARM/openocd/bin/openocd -f interface/ice1000.cfg target/adspsc58x.cfg


Open On-Chip Debugger (Analog Devices CCES 2.8.0 OpenOCD 0.9.0-g5030ad7) 0.9.0
Licensed under GNU GPL v2
Report bugs to <processor.tools.support@analog.com>
adapter speed: 1000 kHz
Info : ICE-1000 firmware version is 1.0.2
Info : clock speed 1000 kHz
Error: session transport was not selected. Use 'transport select <transport>'
Error: Transports available:
Error: jtag
Error: swd
in procedure 'init'
in procedure 'ocd_bouncer'

What would be the reason for this?

I did following connections,

  1. Connected power cable to P22.
  2. J2 port of ICE-1000 mounted on P3 port of ADSP-SC589 EZ Board’s P3 port.
  3. MicroUSB-to-USB cable connected to USB to UART port (P8) of EZ Board.
  4. MicroUSB-to-USB cable connected to P1 port of ICE-1000.
  5. Ethernet cable connected to J2 of EZ Board.

Let me know if I am missing any connection.

Thanks,

Nikesh

Parents Reply
  • +1
    •  Analog Employees 
    on Jun 27, 2019 3:12 AM in reply to nikeshspatil@eaton.com

    Hello 

    Yes, you are right, the original code in the svn server is just like what you've seen, but we applied 3 patches in buildroot/package/libmcapi, in those patches we enriched our send/receive functions.

    This is based on buildroot package rules, not apply those patches directly in our svn server code.
    For how to get a complete MCAPI, you could enable libmcapi in buildroot menuconfig and then the patched libmcapi-HEAD.tar.gz would be downloaded in the dl/ directory automatically. Or you could apply those three patches in buldroot/package/libmcapi/ manually based on the svn server code.

    Thanks & Best regards,
    HuanFeng

Children