AnsweredAssumed Answered

load uboot to ram with ICE1000

Question asked by jeffxu on Dec 5, 2016
Latest reply on Jan 12, 2017 by jeffxu

I want to use ICE1000 load u-boot.ldr to ram,But when I Run OpenOCD, I have a problem ,

# /opt/analog/cces/2.3.0/ARM/arm-none-eabi/bin/openocd -f interface/ice1000.cfg -f target/adspsc58x.cfg
Open On-Chip Debugger (Analog Devices CCES 2.3.0 OpenOCD 0.9.0-gb1bed08) 0.9.0
Licensed under GNU GPL v2
Report bugs to <processor.tools.support@analog.com>
adapter speed: 1000 kHz
trst_only separate trst_push_pull
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 125 bytes
Info : ICE-1000 firmware version is 255.15.12
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 743 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 5 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 743 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 0 bytes
Info : clock speed 1000 kHz
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 1048584 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote -1218832713 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote -1218832713 bytes
Info : TAP adspsc58x.adjc does not have IDCODE
Info : JTAG tap: auto0.tap tap/device found: 0x604a62e9 (mfg: 0x174, part: 0x04a6, ver: 0x6)
Info : TAP auto1.tap does not have IDCODE
Info : JTAG tap: auto2.tap tap/device found: 0x25b7b273 (mfg: 0x139, part: 0x5b7b, ver: 0x2)
Info : TAP auto3.tap does not have IDCODE
Info : TAP auto4.tap does not have IDCODE
Info : TAP auto5.tap does not have IDCODE
Info : TAP auto6.tap does not have IDCODE
Info : TAP auto7.tap does not have IDCODE
Info : JTAG tap: auto8.tap tap/device found: 0x91b3ab99 (mfg: 0x5cc, part: 0x1b3a, ver: 0x9)
Info : TAP auto9.tap does not have IDCODE
Info : JTAG tap: auto10.tap tap/device found: 0x44d6d8df (mfg: 0x46f, part: 0x4d6d, ver: 0x4)
Info : JTAG tap: auto11.tap tap/device found: 0x9ac6c8df (mfg: 0x46f, part: 0xac6c, ver: 0x9)
Info : TAP auto12.tap does not have IDCODE
Info : TAP auto13.tap does not have IDCODE
Info : TAP auto14.tap does not have IDCODE
Info : TAP auto15.tap does not have IDCODE
Info : TAP auto16.tap does not have IDCODE
Info : TAP auto17.tap does not have IDCODE
Info : JTAG tap: auto18.tap tap/device found: 0x57027b17 (mfg: 0x58b, part: 0x7027, ver: 0x5)
Info : JTAG tap: auto19.tap tap/device found: 0x022e2367 (mfg: 0x1b3, part: 0x22e2, ver: 0x0)
Warn : Unexpected idcode after end of chain: 238 0x173b4377
Warn : Unexpected idcode after end of chain: 270 0x46021353
Warn : Unexpected idcode after end of chain: 302 0x4f230226
Warn : Unexpected idcode after end of chain: 334 0x02675317
Warn : Unexpected idcode after end of chain: 366 0x02175723
Warn : Unexpected idcode after end of chain: 398 0x4f1b3b7b
Warn : Unexpected idcode after end of chain: 430 0x7b277702
Warn : Unexpected idcode after end of chain: 462 0x46025317
Warn : Unexpected idcode after end of chain: 494 0x560e1606
Warn : Unexpected idcode after end of chain: 526 0x2302160e
Warn : Unexpected idcode after end of chain: 558 0x6753174f
Warn : Unexpected idcode after end of chain: 590 0x00000028
Warn : Unexpected idcode after end of chain: 622 0x00000000
Error: double-check your JTAG setup (interface, speed, ...)
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 1048584 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 1048584 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote -1218832713 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote -1218832713 bytes
Info : JTAG tap: adspsc58x.adjc tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Warn : JTAG tap: adspsc58x.adjc       UNEXPECTED: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Error: JTAG tap: adspsc58x.adjc  expected 1 of 3: 0x028080cb (mfg: 0x065, part: 0x2808, ver: 0x0)
Error: JTAG tap: adspsc58x.adjc  expected 2 of 3: 0x128080cb (mfg: 0x065, part: 0x2808, ver: 0x1)
Error: JTAG tap: adspsc58x.adjc  expected 3 of 3: 0x228080cb (mfg: 0x065, part: 0x2808, ver: 0x2)
Info : JTAG tap: auto0.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto1.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto2.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto3.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto4.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto5.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto6.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto7.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto8.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto9.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto10.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto11.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto12.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto13.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto14.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto15.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto16.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto17.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto18.tap tap/device found: 0x3fffffff (mfg: 0x7ff, part: 0xffff, ver: 0x3)
Info : JTAG tap: auto19.tap tap/device found: 0xe0001013 (mfg: 0x009, part: 0x0001, ver: 0xe)
Info : TAP auto0.tap does not have IDCODE
Info : TAP auto1.tap does not have IDCODE
Warn : Unexpected idcode after end of chain: 674 0x3f6db550
Error: double-check your JTAG setup (interface, speed, ...)
embedded:startup.tcl:21: Error:
in procedure 'init'
in procedure 'ocd_bouncer'
in procedure 'jtag_init' called at file "/home/jie/sources/openocd/src/jtag/core.c", line 1562
in procedure 'init_reset' called at file "embedded:startup.tcl", line 74
in procedure 'jtag' called at file "embedded:startup.tcl", line 91
in procedure 'ocd_bouncer'
at file "embedded:startup.tcl", line 21
embedded:startup.tcl:21: Error:
in procedure 'jtag_init' called at file "/home/jie/sources/openocd/src/jtag/core.c", line 1562
in procedure 'init_reset' called at file "embedded:startup.tcl", line 74
in procedure 'jtag' called at file "embedded:startup.tcl", line 91
in procedure 'ocd_bouncer'
at file "embedded:startup.tcl", line 21
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote -1077014424 bytes
root@xujunyu:/opt/analog/cces/2.3.0/ARM/arm-none-eabi/share/openocd/scripts# /opt/analog/cces/2.3.0/ARM/arm-none-eabi/bin/openocd -f interface/ice1000.cfg -f target/adspsc58x.cfg
Open On-Chip Debugger (Analog Devices CCES 2.3.0 OpenOCD 0.9.0-gb1bed08) 0.9.0
Licensed under GNU GPL v2
Report bugs to <processor.tools.support@analog.com>
adapter speed: 1000 kHz
trst_only separate trst_push_pull
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 125 bytes
Info : ICE-1000 firmware version is 255.15.12
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 743 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 5 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 743 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 0 bytes
Info : clock speed 1000 kHz
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 1048584 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote -1218931017 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote -1218931017 bytes
Info : TAP adspsc58x.adjc does not have IDCODE
Info : JTAG tap: auto0.tap tap/device found: 0x604a62e9 (mfg: 0x174, part: 0x04a6, ver: 0x6)
Info : TAP auto1.tap does not have IDCODE
Info : JTAG tap: auto2.tap tap/device found: 0x25b7b273 (mfg: 0x139, part: 0x5b7b, ver: 0x2)
Info : TAP auto3.tap does not have IDCODE
Info : TAP auto4.tap does not have IDCODE
Info : TAP auto5.tap does not have IDCODE
Info : TAP auto6.tap does not have IDCODE
Info : TAP auto7.tap does not have IDCODE
Info : JTAG tap: auto8.tap tap/device found: 0x91b3ab99 (mfg: 0x5cc, part: 0x1b3a, ver: 0x9)
Info : TAP auto9.tap does not have IDCODE
Info : JTAG tap: auto10.tap tap/device found: 0x44d6d8df (mfg: 0x46f, part: 0x4d6d, ver: 0x4)
Info : JTAG tap: auto11.tap tap/device found: 0x9ac6c8df (mfg: 0x46f, part: 0xac6c, ver: 0x9)
Info : TAP auto12.tap does not have IDCODE
Info : TAP auto13.tap does not have IDCODE
Info : TAP auto14.tap does not have IDCODE
Info : TAP auto15.tap does not have IDCODE
Info : TAP auto16.tap does not have IDCODE
Info : TAP auto17.tap does not have IDCODE
Info : JTAG tap: auto18.tap tap/device found: 0x57027b17 (mfg: 0x58b, part: 0x7027, ver: 0x5)
Info : JTAG tap: auto19.tap tap/device found: 0x022e2367 (mfg: 0x1b3, part: 0x22e2, ver: 0x0)
Warn : Unexpected idcode after end of chain: 238 0x173b4377
Warn : Unexpected idcode after end of chain: 270 0x46021353
Warn : Unexpected idcode after end of chain: 302 0x4f230226
Warn : Unexpected idcode after end of chain: 334 0x02675317
Warn : Unexpected idcode after end of chain: 366 0x02175723
Warn : Unexpected idcode after end of chain: 398 0x4f1b3b7b
Warn : Unexpected idcode after end of chain: 430 0x7b277702
Warn : Unexpected idcode after end of chain: 462 0x46025317
Warn : Unexpected idcode after end of chain: 494 0x560e1606
Warn : Unexpected idcode after end of chain: 526 0x2302160e
Warn : Unexpected idcode after end of chain: 558 0x6753174f
Warn : Unexpected idcode after end of chain: 590 0x00000028
Warn : Unexpected idcode after end of chain: 622 0x00000000
Error: double-check your JTAG setup (interface, speed, ...)
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 1048584 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote 1048584 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote -1218931017 bytes
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote -1218931017 bytes
Info : JTAG tap: adspsc58x.adjc tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Warn : JTAG tap: adspsc58x.adjc       UNEXPECTED: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Error: JTAG tap: adspsc58x.adjc  expected 1 of 3: 0x028080cb (mfg: 0x065, part: 0x2808, ver: 0x0)
Error: JTAG tap: adspsc58x.adjc  expected 2 of 3: 0x128080cb (mfg: 0x065, part: 0x2808, ver: 0x1)
Error: JTAG tap: adspsc58x.adjc  expected 3 of 3: 0x228080cb (mfg: 0x065, part: 0x2808, ver: 0x2)
Info : JTAG tap: auto0.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto1.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto2.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto3.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto4.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto5.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto6.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto7.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto8.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto9.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto10.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto11.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto12.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto13.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto14.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto15.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto16.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto17.tap tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Info : JTAG tap: auto18.tap tap/device found: 0x3fffffff (mfg: 0x7ff, part: 0xffff, ver: 0x3)
Info : JTAG tap: auto19.tap tap/device found: 0xe0001013 (mfg: 0x009, part: 0x0001, ver: 0xe)
Info : TAP auto0.tap does not have IDCODE
Info : TAP auto1.tap does not have IDCODE
Warn : Unexpected idcode after end of chain: 674 0x3f6eb558
Error: double-check your JTAG setup (interface, speed, ...)
embedded:startup.tcl:21: Error:
in procedure 'init'
in procedure 'ocd_bouncer'
in procedure 'jtag_init' called at file "/home/jie/sources/openocd/src/jtag/core.c", line 1562
in procedure 'init_reset' called at file "embedded:startup.tcl", line 74
in procedure 'jtag' called at file "embedded:startup.tcl", line 91
in procedure 'ocd_bouncer'
at file "embedded:startup.tcl", line 21
embedded:startup.tcl:21: Error:
in procedure 'jtag_init' called at file "/home/jie/sources/openocd/src/jtag/core.c", line 1562
in procedure 'init_reset' called at file "embedded:startup.tcl", line 74
in procedure 'jtag' called at file "embedded:startup.tcl", line 91
in procedure 'ocd_bouncer'
at file "embedded:startup.tcl", line 21
Error: unable to write from &usb_cmd_blk to usb: wanted 12 bytes but only wrote -1076886872 bytes

 

I don't know how to fix this problem,please help me ,thanks~

Outcomes