Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug Module did not become active. dmcontrol=0x0 #89

Open
prajwalkashyap opened this issue Oct 11, 2023 · 1 comment
Open

Debug Module did not become active. dmcontrol=0x0 #89

prajwalkashyap opened this issue Oct 11, 2023 · 1 comment

Comments

@prajwalkashyap
Copy link

Hello,

I am trying to OpenPULP on NEXYS VIDEO board but with just the FC CORE and 1 Cluster Core. I am using the below commands in my openocd cfg file

########################################

adapter_khz 1000

interface ftdi
ftdi_vid_pid 0x0403 0x6010
ftdi_channel 0
ftdi_layout_init 0x0018 0x001b
ftdi_layout_signal nTRST -ndata 0x0010

set _CHIPNAME riscv

jtag newtap $_CHIPNAME unknown0 -irlen 5 -expected-id 0x10102001
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x249511C3

set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME riscv -chain-position $_TARGETNAME -coreid 0x3e0

gdb_report_data_abort enable
gdb_report_register_access_error enable

riscv set_reset_timeout_sec 120
riscv set_command_timeout_sec 120

prefer to use sba for system bus access

#riscv set_prefer_sba on

dump jtag chain

scan_chain

init
halt
echo "Ready for Remote Connections"

##########################################################

when I run openocd -f <the_above_cfg.cfg> I get the below error

Open On-Chip Debugger 0.12.0+dev-01243-g24b656bff (2023-06-05-14:15)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'adapter speed' not 'adapter_khz'
DEPRECATED! use 'adapter driver' not 'interface'
DEPRECATED! use 'ftdi vid_pid' not 'ftdi_vid_pid'
DEPRECATED! use 'ftdi channel' not 'ftdi_channel'
DEPRECATED! use 'ftdi layout_init' not 'ftdi_layout_init'
DEPRECATED! use 'ftdi layout_signal' not 'ftdi_layout_signal'
Info : auto-selecting first available session transport "jtag". To override use 'transport select '.
Info : clock speed 1000 kHz
Info : JTAG tap: riscv.unknown0 tap/device found: 0x10102001 (mfg: 0x000 (), part: 0x0102, ver: 0x1)
Info : JTAG tap: riscv.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
Error: Debug Module did not become active. dmcontrol=0x0
Warn : target riscv.cpu examination failed
Info : starting gdb server for riscv.cpu on 3333
Info : Listening on port 3333 for gdb connections
Error: Target not examined yet

How can this be solved?

@l1onog
Copy link

l1onog commented May 7, 2024

hi, @prajwalkashyap I have the same problem as you, have you solved it and what method did you use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants