wkchu icon

Untitled

wkchu | PRO | 11/02/18 10:52:00 AM UTC | 0 ⭐ | 858 👁️ | Never ⏰ | []
text |

3.69 KB

|

None

|

0 👍

/

0 👎

[xrn@a23pc07 tcl]$ sudo ../src/openocd -f interface/altera-usb-blaster.cfg -f board/reflexces_achilles_i-dev_kit_arria10.cfg
Open On-Chip Debugger 0.10.0+dev-00444-g8b8b6655 (2018-06-27-17:46)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Warn : Adapter driver 'usb_blaster' did not declare which transports it allows; assuming legacy JTAG-only
Info : only one transport option; autoselect 'jtag'
Using external debugger
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : usb blaster interface using libftdi
Info : This adapter doesn't support configurable speed
Info : JTAG tap: 10m50.tap tap/device found: 0x031830dd (mfg: 0x06e (Altera), part: 0x3183, ver: 0x0)
Info : JTAG tap: arria10.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x4)
Info : JTAG tap: arria10.fpga.tap tap/device found: 0x02e630dd (mfg: 0x06e (Altera), part: 0x2e63, ver: 0x0)
Info : arria10.cpu.0: hardware has 6 breakpoints, 4 watchpoints
Info : arria10.cpu.0 rev 1, partnum c09, arch f, variant 4, implementor 41
Info : arria10.cpu.0 cluster 0 core 0 multi core
Info : Listening on port 3333 for gdb connections
Info : accepting 'telnet' connection on tcp/4444
    TargetName         Type       Endian TapName            State
--  ------------------ ---------- ------ ------------------ ------------
 0  arria10.cpu.0      cortex_a   little arria10.cpu        halted
 1* arria10.cpu.1      cortex_a   little arria10.cpu        examine deferred
Error: Target not examined yet
 Info : arria10.cpu.1: hardware has 6 breakpoints, 4 watchpoints
    TargetName         Type       Endian TapName            State
--  ------------------ ---------- ------ ------------------ ------------
 0  arria10.cpu.0      cortex_a   little arria10.cpu        halted
 1* arria10.cpu.1      cortex_a   little arria10.cpu        running
Error: armv7a_l1_d_cache_sanity_check: target not halted
Error: arm7a_l2x_sanity_check: target not halted
Error: cortex_a_mmu: target not halted
Warn : target not halted
 Error: Timeout waiting for halt
embedded:startup.tcl:21: Error:
in procedure 'arria10.cpu.1'
in procedure 'ocd_bouncer'
at file "embedded:startup.tcl", line 21
      [xrn@a23pc07 tcl]$ telnet localhost 4444
Trying ::1...
Connection failed: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
> targets
    TargetName         Type       Endian TapName            State
--  ------------------ ---------- ------ ------------------ ------------
 0  arria10.cpu.0      cortex_a   little arria10.cpu        halted
 1* arria10.cpu.1      cortex_a   little arria10.cpu        examine deferred
> load_image /home/xrn/Data/projects/reptil/epo_uboot/reptil_uboot/u-boot 0xffe00000 elf
Target not examined yet
 > arria10.cpu.1 arp_examine
arria10.cpu.1: hardware has 6 breakpoints, 4 watchpoints
> arria10.cpu.0 arp_examine
> targets
    TargetName         Type       Endian TapName            State
--  ------------------ ---------- ------ ------------------ ------------
 0  arria10.cpu.0      cortex_a   little arria10.cpu        halted
 1* arria10.cpu.1      cortex_a   little arria10.cpu        running
> load_image /home/xrn/Data/projects/reptil/epo_uboot/reptil_uboot/u-boot 0xffe00000 elf
armv7a_l1_d_cache_sanity_check: target not halted
arm7a_l2x_sanity_check: target not halted
cortex_a_mmu: target not halted
target not halted
 > arria10.cpu.0 arp_halt
> arria10.cpu.1 arp_halt
Timeout waiting for halt
embedded:startup.tcl:21: Error:
in procedure 'arria10.cpu.1'
in procedure 'ocd_bouncer'
at file "embedded:startup.tcl", line 21
>

Comments