00:07
diddly has quit [Ping timeout: 250 seconds]
00:08
diddly has joined #openocd
01:12
tsal has quit [Ping timeout: 265 seconds]
01:16
diddly has quit [*.net *.split]
01:16
renrelkha has quit [*.net *.split]
01:16
indy has quit [*.net *.split]
01:16
zjason` has quit [*.net *.split]
01:16
Inoperable has quit [*.net *.split]
01:16
karlp has quit [*.net *.split]
01:16
diddly has joined #openocd
01:16
indy has joined #openocd
01:17
zjason` has joined #openocd
01:17
karlp has joined #openocd
01:17
tsal has joined #openocd
01:18
renrelkha has joined #openocd
01:23
Inoperable has joined #openocd
01:53
thinkfat_ has joined #openocd
01:53
thinkfat has quit [Ping timeout: 264 seconds]
02:15
Hawk777 has joined #openocd
04:45
defiant has quit [Quit: defiant]
05:05
shoragan has quit [Ping timeout: 246 seconds]
05:07
olerem has quit [Ping timeout: 264 seconds]
05:11
olerem has joined #openocd
05:11
renrelkha has quit [Quit: bye]
05:13
renrelkha has joined #openocd
05:24
renrelkha has quit [Ping timeout: 252 seconds]
05:30
renrelkha has joined #openocd
05:54
shoragan has joined #openocd
06:27
nerozero has joined #openocd
06:42
Inoperable has quit [*.net *.split]
06:42
tlwoerner has quit [*.net *.split]
06:42
zjason` has quit [*.net *.split]
06:42
josuah has quit [*.net *.split]
06:42
urja has quit [*.net *.split]
06:43
tlwoerner has joined #openocd
06:43
josuah has joined #openocd
06:44
urja has joined #openocd
06:46
Inoperable has joined #openocd
07:02
Haohmaru has joined #openocd
07:31
Hawk777 has quit [Quit: Leaving.]
09:29
indy_ has joined #openocd
09:29
indy has quit [Ping timeout: 268 seconds]
10:27
sbach has quit [Read error: Connection reset by peer]
10:30
sbach has joined #openocd
10:54
defiant has joined #openocd
11:46
cambrian_invader has quit [Ping timeout: 255 seconds]
11:59
cambrian_invader has joined #openocd
12:56
nvmd has joined #openocd
13:23
nvmd has quit [Quit: WeeChat 3.7]
15:35
nerozero has quit [Ping timeout: 268 seconds]
15:45
Haohmaru has quit []
15:46
shibboleth has joined #openocd
17:45
shibboleth has quit [Quit: shibboleth]
19:43
Steve42 has joined #openocd
19:43
<
Steve42 >
I am create a config file to control a daisy chain of 4 Arm M0+ cores on a custom board. The config file looks like this:
19:43
<
Steve42 >
set _CHIPNAME armM0
19:44
<
Steve42 >
set _M0_JTAG_TAPID 0x0ba01477
19:44
<
Steve42 >
jtag newtap $_CHIPNAME m0app -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M0_JTAG_TAPID
19:44
<
Steve42 >
jtag newtap $_CHIPNAME m1app -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M0_JTAG_TAPID
19:44
<
Steve42 >
jtag newtap $_CHIPNAME m2app -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M0_JTAG_TAPID
19:44
<
Steve42 >
jtag newtap $_CHIPNAME m3app -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M0_JTAG_TAPID
19:44
<
Steve42 >
dap create $_CHIPNAME.m0app.dap -chain-position $_CHIPNAME.m0app
19:44
<
Steve42 >
dap create $_CHIPNAME.m1app.dap -chain-position $_CHIPNAME.m1app
19:44
<
Steve42 >
dap create $_CHIPNAME.m2app.dap -chain-position $_CHIPNAME.m2app
19:44
<
Steve42 >
dap create $_CHIPNAME.m3app.dap -chain-position $_CHIPNAME.m3app
19:44
<
Steve42 >
target create $_CHIPNAME.m0app cortex_m -dap $_CHIPNAME.m0app.dap
19:44
<
Steve42 >
target create $_CHIPNAME.m1app cortex_m -dap $_CHIPNAME.m1app.dap
19:44
<
Steve42 >
target create $_CHIPNAME.m2app cortex_m -dap $_CHIPNAME.m2app.dap
19:44
<
Steve42 >
target create $_CHIPNAME.m3app cortex_m -dap $_CHIPNAME.m3app.dap
19:44
<
Steve42 >
targets $_CHIPNAME.m3app
19:44
<
Steve42 >
$_CHIPNAME.m3app configure -endian little -work-area-phys 0x20000000 -work-area-size 0xF000 -work-area-backup 0
19:44
<
Steve42 >
Info : Listening on port 6666 for tcl connections
19:44
<
Steve42 >
Info : Listening on port 4444 for telnet connections
19:44
<
Steve42 >
Info : clock speed 1000 kHz
19:44
<
Steve42 >
Info : JTAG tap: armM0.m0app tap/device found: 0x0ba01477 (mfg: 0x23b (ARM Ltd), part: 0xba01, ver: 0x0)
19:44
<
Steve42 >
Info : JTAG tap: armM0.m1app tap/device found: 0x0ba01477 (mfg: 0x23b (ARM Ltd), part: 0xba01, ver: 0x0)
19:44
<
Steve42 >
Info : JTAG tap: armM0.m2app tap/device found: 0x0ba01477 (mfg: 0x23b (ARM Ltd), part: 0xba01, ver: 0x0)
19:44
<
Steve42 >
Info : JTAG tap: armM0.m3app tap/device found: 0x0ba01477 (mfg: 0x23b (ARM Ltd), part: 0xba01, ver: 0x0)
19:44
<
Steve42 >
Error: [armM0.m0app] Could not find MEM-AP to control the core
19:44
<
Steve42 >
Warn : target armM0.m0app examination failed
19:44
<
Steve42 >
Error: [armM0.m1app] Could not find MEM-AP to control the core
19:44
<
Steve42 >
Warn : target armM0.m1app examination failed
19:44
<
Steve42 >
Error: [armM0.m2app] Could not find MEM-AP to control the core
19:44
<
Steve42 >
Warn : target armM0.m2app examination failed
19:44
<
Steve42 >
Info : [armM0.m3app] Cortex-M0+ r0p1 processor detected
19:44
<
Steve42 >
Info : [armM0.m3app] target has 4 breakpoints, 2 watchpoints
19:44
<
Steve42 >
So it can detect the cores of all of them but not the MEM-APs. All the cores are identical. Is there some configuration that I have to do to indicate position in the daisy chain?
19:50
Steve42 has quit [Quit: Client closed]
20:34
Steve55 has joined #openocd
20:48
wolfshappen has quit [Quit: later]
21:10
<
karlp >
please in general use a paste service and refer to it, rather than spamming that, I can't even see what you're talking about anymore
21:11
<
karlp >
so, m0s dont' speak jtag, doyou have hardware that properly supports swd multidrop?
21:11
<
karlp >
or are yuou working on a "custom" board to the point that you've added back jtag into your custom m0 core?
21:11
<
karlp >
I'm not even sure how well openocd supports swd multidrop, I knwo it's been getting worked on, but nto sure of the status personally.
21:17
<
PaulFertser >
swd multidrop should work properly with current master (but not latest rc).
21:17
<
PaulFertser >
Steve55: please explain what you really got there.
21:17
<
PaulFertser >
And yes, please use a pastebin service in the future.
21:46
<
Steve55 >
ok, I had hoped that the entire message was legible but apparently not
21:46
<
Steve55 >
let me see if I can repost it more legibly
22:00
<
Steve55 >
I am create a config file to control a daisy chain of 4 Arm M0+ cores on a custom board.
22:00
<
Steve55 >
set _CHIPNAME armM0
22:00
<
Steve55 >
set _M0_JTAG_TAPID 0x0ba01477
22:00
<
Steve55 >
jtag newtap $_CHIPNAME m0app -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M0_JTAG_TAPID
22:00
<
Steve55 >
jtag newtap $_CHIPNAME m1app -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M0_JTAG_TAPID
22:00
<
Steve55 >
jtag newtap $_CHIPNAME m2app -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M0_JTAG_TAPID
22:00
<
Steve55 >
jtag newtap $_CHIPNAME m3app -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M0_JTAG_TAPID
22:00
<
Steve55 >
dap create $_CHIPNAME.m0app.dap -chain-position $_CHIPNAME.m0app
22:00
<
Steve55 >
dap create $_CHIPNAME.m1app.dap -chain-position $_CHIPNAME.m1app
22:00
<
Steve55 >
dap create $_CHIPNAME.m2app.dap -chain-position $_CHIPNAME.m2app
22:00
<
Steve55 >
dap create $_CHIPNAME.m3app.dap -chain-position $_CHIPNAME.m3app
22:00
<
Steve55 >
target create $_CHIPNAME.m0app cortex_m -dap $_CHIPNAME.m0app.dap
22:00
<
Steve55 >
target create $_CHIPNAME.m1app cortex_m -dap $_CHIPNAME.m1app.dap
22:00
<
Steve55 >
target create $_CHIPNAME.m2app cortex_m -dap $_CHIPNAME.m2app.dap
22:00
<
Steve55 >
target create $_CHIPNAME.m3app cortex_m -dap $_CHIPNAME.m3app.dap
22:00
<
Steve55 >
targets $_CHIPNAME.m3app
22:00
<
Steve55 >
$_CHIPNAME.m3app configure -endian little -work-area-phys 0x20000000 -work-area-size 0xF000 -work-area-backup 0
22:01
<
Steve55 >
cortex_m reset_config vectreset
22:02
<
Steve55 >
When I connect and run, the only MEM-AP I can see is the last one
22:03
<
Steve55 >
The first three I see this : Error: [armM0.m0app] Could not find MEM-AP to control the core
22:11
wingsorc has quit [Remote host closed the connection]
22:16
wingsorc has joined #openocd
22:17
<
Steve55 >
So my question is this: All the processor hardware is the same in the chain, and I can see the JTAG ids of all the processors but only the MEM-AP of the last one, is there some extra clocking that needs to be done somehow for the earlier devices in the chain? If so, how is this done?
22:55
Steve55 has quit [Quit: Client closed]