Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
openocd
Commits
e26bda10
Commit
e26bda10
authored
Jan 27, 2011
by
Mathias K
Committed by
Spencer Oliver
Jan 27, 2011
Browse files
add cortex-r4 etm id to dap info
Signed-off-by:
Spencer Oliver
<
ntfreak@users.sourceforge.net
>
parent
6df10184
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/target/arm_adi_v5.c
View file @
e26bda10
...
...
@@ -1426,8 +1426,9 @@ static int dap_info_command(struct command_context *cmd_ctx,
/* Part number interpretations are from Cortex
* core specs, the CoreSight components TRM
* (ARM DDI 0314H), and ETM specs; also from
* chip observation (e.g. TI SDTI).
* (ARM DDI 0314H), CoreSight System Design
* Guide (ARM DGI 0012D) and ETM specs; also
* from chip observation (e.g. TI SDTI).
*/
part_num
=
(
c_pid0
&
0xff
);
part_num
|=
(
c_pid1
&
0x0f
)
<<
8
;
...
...
@@ -1497,6 +1498,10 @@ static int dap_info_command(struct command_context *cmd_ctx,
type
=
"Cortex-M3 ETM"
;
full
=
"(Embedded Trace)"
;
break
;
case
0x930
:
type
=
"Cortex-R4 ETM"
;
full
=
"(Embedded Trace)"
;
break
;
case
0xc08
:
type
=
"Cortex-A8 Debug"
;
full
=
"(Debug Unit)"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment