Vmware Ubuntu 10.10 Linux OpenOCD problem with j-link lite jtag

  • Vmware Ubuntu 10.10 Linux OpenOCD problem with j-link lite jtag

    Hi,

    i have a windows 7 system with vmare and ubuntu 10.10 maverick running.
    I have the j-link lite edtion connected to the Topas900 eval board from Toshiba.
    I do the call "sudo openocd -f ./board/topasa900.cfg -f ./interface/jlink.cfg".
    I am using local copies of the config files.
    Then i get the following messages:

    Open On-Chip Debugger 0.4.0 (2010-10-08-15:42)
    Licensed under GNU GPL v2
    For bug reports, read
    openocd.berlios.de/doc/doxygen/bugs.html
    trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
    jtag_nsrst_delay: 20
    jtag_ntrst_delay: 20
    Info : J-Link initialization started / target CPU reset initiated
    Info : J-Link ARM Lite V8 compiled Dec 16 2010 20:30:43
    Info : JLink caps 0xb9ff7bbf
    Info : JLink hw version 80000
    Info : JLink max mem block 8496
    Info : Vref = 3.293 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 0 TRST = 0

    Info : J-Link JTAG Interface ready
    Error: jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1
    Error: jlink_usb_read_emu_result failed (requested = 1, result=-110)
    Error: jlink_tap_execute, wrong result -107 (expected 1)
    Info : RCLK (adaptive clock speed)
    Error: jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1
    Error: jlink_usb_read_emu_result failed (requested = 1, result=-110)
    Error: jlink_tap_execute, wrong result -107 (expected 1)
    Error: jlink_usb_read_emu_result retried requested = 1, result=-110, in_length=1
    Error: jlink_usb_read_emu_result failed (requested = 1, result=-110)
    Error: jlink_tap_execute, wrong result -107 (expected 1)
    Command handler execution failed
    Warn : jtag initialization failed; try 'jtag init' again.


    Any ideas why the jtag init does not work?

    Thanks,
  • Hi,

    perfect thanks a lot for the hint with an earlier firmware version.
    Now i have the segger j-link lite debugger running [img]http://forum.sparkfun.com/images/smilies/icon_smile.gif[/img]

    I found the older firmware versions under:

    segger.com/cms/j-link-older-versions.html

    I used the Version v4.10i

    http://www.segger.com/cms/admin/uploads ... _V410i.zip

    The problem is that i have downloaded the newest firmware version at the beginning
    and so have updated to 4.22.
    Using goggle i found the trick command "exec invalidateFw".
    I installed v4.10i and open jlink.exe enter the above command and the older version
    gets installed in the j-link lite debugger.

    After that i enter vmware and opened openocd and got:

    Open On-Chip Debugger 0.5.0-dev-00677-g7cd2617-dirty (2010-12-27-22:43)
    Licensed under GNU GPL v2
    For bug reports, read
    openocd.berlios.de/doc/doxygen/bugs.html
    Warn : Adapter driver 'jlink' did not declare which transports it allows; assuming legacy JTAG-only
    Info : only one transport option; autoselect 'jtag'
    trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
    adapter_nsrst_delay: 20
    jtag_ntrst_delay: 20
    Warn : use 'tmpa910.cpu' as target identifier, not '0'
    Info : J-Link initialization started / target CPU reset initiated
    Info : J-Link ARM Lite V8 compiled Jul 10 2009 17:00:06
    Info : JLink caps 0xb9ff7bbf
    Info : JLink hw version 80000
    Info : JLink max mem block 9800
    Info : Vref = 3.293 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 0 TRST = 0
    Info : J-Link JTAG Interface ready
    Info : RCLK (adaptive clock speed)
    Info : JTAG tap: tmpa910.cpu tap/device found: 0x07926031 (mfg: 0x018, part: 0x7926, ver: 0x0)
    Info : Embedded ICE version 6
    Info : tmpa910.cpu: hardware has 2 breakpoint/watchpoint units
    Info : accepting 'telnet' connection from 4444


    Andreas