Skip to main content
Visitor II
November 26, 2019
Question

JTAG debug

  • November 26, 2019
  • 2 replies
  • 1296 views

I use jtag debugging m4 program, the following error, how should be resolved

Open On-Chip Debugger 0.10.0+dev-01124-gbfb41e6 (2018-11-16-15:23)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

debug_level: 1

cortex_a interrupt mask on

cortex_a interrupt mask on

cortex_a domain access control fixup on

cortex_a domain access control fixup on

3333

none separate

adapter speed: 5000 kHz

adapter_nsrst_assert_width: 200

adapter_nsrst_delay: 200

none srst_pulls_trst

srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst

Error: Could not find MEM-AP to control the core

ap 0 selected, csw 0x10006000

Error: Target not examined yet

undefined debug reason 7 - target needs reset

Error: Target not examined yet

Error: Could not find MEM-AP to control the core

Error: Target not examined yet

embedded:startup.tcl:24: Error: 

in procedure 'stm32mp15x.cpu2' called at file "embedded:startup.tcl", line 283

in procedure 'ocd_bouncer' 

at file "embedded:startup.tcl", line 24

Error: Target not examined yet

Error: Target not examined yet

Error: Target not examined yet

Error: Target not examined yet

    This topic has been closed for replies.

    2 replies

    ST Employee
    November 26, 2019

    Your message does not explain the environment you are using, so I try to guess it.

    I believe you are running SystemWorkbench while on the STM32MP1 is running Linux

    In this configuration, you cannot load the M4 firmware through JTAG/SWD, but you need to "ask" Linux on the board to load the FW on M4,

    This is done through "Debug Configuration" in SystemWorkbench. See screenshot below

    0690X00000AsTJ5QAN.gif

    Please also notice that SystemWorkbench is currently obsoleted.

    I suggest you to switch to CubeIDE, available on ST website

    Yli.8Author
    Visitor II
    November 27, 2019
    • Thanks for your reply, please help to check my configuration

    0690X00000AsUnpQAF.png

    0690X00000AsUnfQAF.png0690X00000AsUnaQAF.png

    Visitor II
    December 5, 2019

    I have a same issue.

    I'm reviewing "https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_Package" site and follow the step.

    It says input eth0 ip address like as below.

    0690X00000AtKV9QAN.png

    and need to input like as below

    0690X00000AtKVJQA3.png

    My case is like as below.

    0690X00000AtKVTQA3.jpg

    my case, I cannot find inet4 addr and have inet6 addr.

    So cannot use inet6 addr to /Startup/inet addr.

    I have connected usb c cable with my laptop so also usb0 interface has inet addr so I put this addr at "/Startup/inet addr" and failed to work.

    How can I get inet4 addr at eth0?

    Is it due to usb connection or other issue?

    Yli.8Author
    Visitor II
    December 26, 2019

    Thank you. My problem has been solved.The problem is that engineering mode is not set