Select one of the symbols to view example projects that use it.
 
Outline
#define OPENOCD_TARGET_ARC_JTAG_H
#define ARC_TRANSACTION_CMD_REG
#define ARC_TRANSACTION_CMD_REG_LENGTH
#define ARC_JTAG_STATUS_REG
#define ARC_JTAG_ADDRESS_REG
#define ARC_JTAG_DATA_REG
#define ARC_JTAG_STAT_RU
#define ARC_JTAG_WRITE_TO_MEMORY
#define ARC_JTAG_WRITE_TO_CORE_REG
#define ARC_JTAG_WRITE_TO_AUX_REG
#define ARC_JTAG_CMD_NOP
#define ARC_JTAG_READ_FROM_MEMORY
#define ARC_JTAG_READ_FROM_CORE_REG
#define ARC_JTAG_READ_FROM_AUX_REG
#define ARC_JTAG_CORE_REG
#define ARC_JTAG_AUX_REG
arc_jtag
----- Exported JTAG functions
arc_jtag_startup(struct arc_jtag *);
arc_jtag_status(struct arc_jtag *const, uint32_t *const);
arc_jtag_write_core_reg(struct arc_jtag *, uint32_t *, uint32_t, const uint32_t *);
arc_jtag_read_core_reg(struct arc_jtag *, uint32_t *, uint32_t, uint32_t *);
arc_jtag_write_core_reg_one(struct arc_jtag *, uint32_t, const uint32_t);
arc_jtag_read_core_reg_one(struct arc_jtag *, uint32_t, uint32_t *);
arc_jtag_write_aux_reg(struct arc_jtag *, uint32_t *, uint32_t, const uint32_t *);
arc_jtag_write_aux_reg_one(struct arc_jtag *, uint32_t, uint32_t);
arc_jtag_read_aux_reg(struct arc_jtag *, uint32_t *, uint32_t, uint32_t *);
arc_jtag_read_aux_reg_one(struct arc_jtag *, uint32_t, uint32_t *);
arc_jtag_write_memory(struct arc_jtag *, uint32_t, uint32_t, const uint32_t *);
arc_jtag_read_memory(struct arc_jtag *, uint32_t, uint32_t, uint32_t *, bool);
Files
loading...
SourceVuDevelopment ToolsOpenOCDsrc/target/arc_jtag.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* SPDX-License-Identifier: GPL-2.0-or-later */ /*************************************************************************** * Copyright (C) 2013-2014,2019-2020 Synopsys, Inc. * * Frank Dols <frank.dols@synopsys.com> * * Mischa Jonker <mischa.jonker@synopsys.com> * * Anton Kolesov <anton.kolesov@synopsys.com> * * Evgeniy Didin <didin@synopsys.com> * ***************************************************************************//* ... */ #ifndef OPENOCD_TARGET_ARC_JTAG_H #define OPENOCD_TARGET_ARC_JTAG_H #define ARC_TRANSACTION_CMD_REG 0x9 /* Command to perform */ #define ARC_TRANSACTION_CMD_REG_LENGTH 4 /* Jtag status register, value is placed in IR to read jtag status register */ #define ARC_JTAG_STATUS_REG 0x8 #define ARC_JTAG_ADDRESS_REG 0xA /* SoC address to access */ #define ARC_JTAG_DATA_REG 0xB /* Data read/written from SoC */ /* Jtag status register field */ #define ARC_JTAG_STAT_RU 0x10 /* ARC Jtag transactions */ #define ARC_JTAG_WRITE_TO_MEMORY 0x0 #define ARC_JTAG_WRITE_TO_CORE_REG 0x1 #define ARC_JTAG_WRITE_TO_AUX_REG 0x2 #define ARC_JTAG_CMD_NOP 0x3 #define ARC_JTAG_READ_FROM_MEMORY 0x4 #define ARC_JTAG_READ_FROM_CORE_REG 0x5 #define ARC_JTAG_READ_FROM_AUX_REG 0x6 #define ARC_JTAG_CORE_REG 0x0 #define ARC_JTAG_AUX_REG 0x1 16 defines struct arc_jtag { struct jtag_tap *tap; uint32_t cur_trans; ...}; /* ----- Exported JTAG functions ------------------------------------------- */ int arc_jtag_startup(struct arc_jtag *jtag_info); int arc_jtag_status(struct arc_jtag *const jtag_info, uint32_t *const value); int arc_jtag_write_core_reg(struct arc_jtag *jtag_info, uint32_t *addr, uint32_t count, const uint32_t *buffer); int arc_jtag_read_core_reg(struct arc_jtag *jtag_info, uint32_t *addr, uint32_t count, uint32_t *buffer); int arc_jtag_write_core_reg_one(struct arc_jtag *jtag_info, uint32_t addr, const uint32_t buffer); int arc_jtag_read_core_reg_one(struct arc_jtag *jtag_info, uint32_t addr, uint32_t *buffer); int arc_jtag_write_aux_reg(struct arc_jtag *jtag_info, uint32_t *addr, uint32_t count, const uint32_t *buffer); int arc_jtag_write_aux_reg_one(struct arc_jtag *jtag_info, uint32_t addr, uint32_t value); int arc_jtag_read_aux_reg(struct arc_jtag *jtag_info, uint32_t *addr, uint32_t count, uint32_t *buffer); int arc_jtag_read_aux_reg_one(struct arc_jtag *jtag_info, uint32_t addr, uint32_t *value); int arc_jtag_write_memory(struct arc_jtag *jtag_info, uint32_t addr, uint32_t count, const uint32_t *buffer); int arc_jtag_read_memory(struct arc_jtag *jtag_info, uint32_t addr, uint32_t count, uint32_t *buffer, bool slow_memory);----- Exported JTAG functions /* ... */#endif /* OPENOCD_TARGET_ARC_JTAG_H */
Details
Show:
from
Types: Columns:
Click anywhere in the source to view detailed information here...