00:01
radxanaoki has joined #linux-sunxi
00:05
warpme has quit [Ping timeout: 480 seconds]
00:14
warpme has joined #linux-sunxi
00:32
warpme has quit [Ping timeout: 480 seconds]
01:04
cnxsoft has joined #linux-sunxi
01:12
warpme has joined #linux-sunxi
01:15
apritzel has quit [Ping timeout: 480 seconds]
01:32
warpme has quit [Ping timeout: 480 seconds]
01:55
warpme has joined #linux-sunxi
02:14
warpme has quit [Ping timeout: 480 seconds]
02:37
warpme has joined #linux-sunxi
02:57
warpme has quit [Ping timeout: 480 seconds]
03:01
hexdump0815 has joined #linux-sunxi
03:03
hexdump01 has quit [Ping timeout: 480 seconds]
03:03
cnxsoft has quit [Ping timeout: 480 seconds]
03:10
hexdump01 has joined #linux-sunxi
03:17
hexdump02 has quit [Ping timeout: 480 seconds]
03:20
warpme has joined #linux-sunxi
03:46
warpme has quit [Ping timeout: 480 seconds]
04:03
warpme has joined #linux-sunxi
04:17
JohnDoe_71Rus has joined #linux-sunxi
04:23
warpme has quit [Ping timeout: 480 seconds]
04:43
Raqbit339890555233 has quit []
04:43
Raqbit339890555233 has joined #linux-sunxi
04:46
warpme has joined #linux-sunxi
05:08
warpme has quit [Ping timeout: 480 seconds]
05:29
warpme has joined #linux-sunxi
05:48
ftg has quit [Read error: Connection reset by peer]
05:48
warpme has quit [Ping timeout: 480 seconds]
06:28
warpme has joined #linux-sunxi
06:42
apritzel has joined #linux-sunxi
06:48
warpme has quit [Ping timeout: 480 seconds]
07:27
warpme has joined #linux-sunxi
07:34
radxanaoki has quit [Quit: radxanaoki]
07:42
apritzel has quit [Ping timeout: 480 seconds]
08:07
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.6, revision: 5.2.6+git-7614-6f23368f1, build type: debug, sources date: 20160102, built on: 2025-03-30 13:34:35 UTC 5.2.6+git-7614-]
08:44
apritzel has joined #linux-sunxi
09:07
apritzel has quit [Ping timeout: 480 seconds]
09:45
kepstin has quit [Remote host closed the connection]
09:46
kepstin has joined #linux-sunxi
10:08
apritzel has joined #linux-sunxi
10:17
<
pigmoral >
paulk: hi, I'm trying to use jtag on A733. OpenOCD seems to recognize the chip, but I can't halt the CPU or get some useful infomation from "dap info". I'm new to bringing up OpenOCD on a new platform, so I tried some old cfgs from your repo. And here's some OpenOCD output which might be useful:
10:18
<
pigmoral >
Do you have any suggestions for what might be wrong or what I should check next? Thanks!
10:18
<
gamiee >
pigmoral : before issuing dap info, I would rather halt the core. How did you tried to halt it?
10:24
<
pigmoral >
Yes, I have tried "-c init -c halt", but got "Command 'halt' failed with error code -302" from openocd.
10:25
<
gamiee >
pigmoral: there are two options: connect to OpenOCD's server for commands, or connect to OpenOCD with GDB and issue halt with it.
10:25
<
gamiee >
don't do it with -c for right now
10:36
<
pigmoral >
got it, but I still get "error code -302" in the OpenOCD debug output, whether I use "halt" from telnet or "monitor halt" in gdb.
10:39
chewitt has joined #linux-sunxi
10:54
dsimic is now known as Guest27015
10:54
dsimic has joined #linux-sunxi
10:55
Guest27015 has quit [Ping timeout: 480 seconds]
11:05
<
gamiee >
pigmoral: only error code -302?
11:05
<
gamiee >
I never saw that openocd returning just that
11:05
<
gamiee >
can you show some error log or something ,because i really didnt saw such thing
11:37
apritzel has quit [Quit: Leaving]
11:41
gsz has joined #linux-sunxi
12:16
JohnDoe_71Rus has joined #linux-sunxi
12:23
<
paulk >
pigmoral: it's probably using adiv6, not v5 like sun50iw10
12:24
<
paulk >
then you need to use ARM_IDCODE_SOC_600_4BIT
12:28
<
paulk >
mhh or maybe I'm reading the long wrong and it's actually ARM_IDCODE_SOC_400 with adiv5
12:29
<
paulk >
maybe try "dap info 1"
12:45
<
pigmoral >
I also checked OpenOCD source code, -302 happens when it times out waiting for the CPU to enter the halted state after issuing halt.
12:48
<
gamiee >
pigmoral: oooh, hmm, never seen this message yet, but I worked mostly with RISC-V
12:50
<
pigmoral >
paulk: yap, using ARM_IDCODE_SOC_600_4BIT gives me a jtag tap error, bug ARM_IDCODE_SOC_400 works fine
12:55
<
paulk >
mhh it's probably not finding the blocks on the debug apb
13:01
<
pigmoral >
also, I noticed something different between a527 and a733
13:01
<
pigmoral >
on a527, jtag auto tap only finds 1 device: 0x2ba06477 (mfg: 0x23b (ARM Ltd), part: 0xba06, ver: 0x2)
13:02
<
pigmoral >
but 2 on a733: 0x5ba00477 (mfg: 0x23b (ARM Ltd), part: 0xba00, ver: 0x5) and 0x2ba06477 (mfg: 0x23b (ARM Ltd), part: 0xba06, ver: 0x2)
13:02
<
pigmoral >
I'm not sure if this requires any extra handling?
13:08
<
paulk >
mhh interesting
13:16
ftg has joined #linux-sunxi
13:19
<
pigmoral >
wow, It works when I add an extra tap for the second device. And I got dap info from the second tap successfully
13:33
juanesf91 has joined #linux-sunxi
14:53
warpme has joined #linux-sunxi
15:01
gsz has quit [Quit: leaving]
16:03
juanesf91 has quit [Quit: Connection closed for inactivity]
17:54
bsvi has joined #linux-sunxi
18:11
bsvi has quit [Remote host closed the connection]
18:43
smaeul_ has joined #linux-sunxi
18:46
chewitt has quit [Quit: Zzz..]
18:48
smaeul has quit [Ping timeout: 480 seconds]
21:11
smaeul_ has quit []
21:12
smaeul has joined #linux-sunxi
22:30
radxanaoki has joined #linux-sunxi