bdi
GDB
for GNU Debugger, BDI2000 (ARM11 / Cortex)
User Manual
28
© Copyright 1997-2014 by ABATRON AG Switzerland
V 1.21
MEMACCES mode [wait [hprot]]
For Cortex, this parameter defines how memory is accessed. Either via
the ARM core by executing ld and st instructions or via the AHB/AXI ac-
cess port. The current mode can also be changed via the Telnet interface.
The optional wait parameter allows to define a time the BDI waits before it
expects that a value is ready or written. This allows to optimize download
performance. The wait time is (8 x wait) TCK’s in Run-Test/Idle state. The
hprot option allows to define the CSW[31:24] bits in the AHB/AXI-AP.
For Cortex-M3, only AHB access is supported.
The following modes are supported:
CORE
The CORE (default) mode requires that the core is halt-
ed and makes use of the memory management unit
(MMU) and cache.
AHB or AXI
The AHB or AXI access mode can access memory even
when the core is running but bypasses MMU and cache.
SAP
For LS1000 devices a special memory acess mode is
available via the so called System Access Port (SAP)
Example:
MEMACCES CORE 5 ; 40 TCK's access delay
MEMACCES AHB 4 ; access via AHB, 32 TCK delay
SIO port [baudrate]
When this line is present, a TCP/IP channel is routed to the BDI’s RS232
connector. The port parameter defines the TCP port used for this BDI to
host communication. You may choose any port except 0 and the default
Telnet port (23). On the host, open a Telnet session using this port. Now
you should see the UART output in this Telnet session. You can use the
normal Telnet connection to the BDI in parallel, they work completely in-
dependent. Also input to the UART is implemented.
port
The TCP/IP port used for the host communication.
baudrate
The BDI supports 2400 ... 115200 baud
Example:
SIO 7 9600 ;TCP port for virtual IO
DCC port
When this line is present, a TCP/IP channel is routed to the ARM debug
communication channel (DCC). The port parameter defines the TCP port
used for this BDI to host communication. You may choose any port except
0 and the default Telnet port (23). On the host, open a Telnet session us-
ing this port. Now you should see the DCC output in this Telnet session.
NOTE: Only core#0 and core#1 support this DCC routing.
port
The TCP/IP port used for the host communication.
Example:
DCC 7 ;TCP port for DCC I/O
DAPPC address
This parameter is necessary for some TI processors (for example
OMAP3, OMAP4, ...). It defines the address/number of a special debug/
clock/power/reset control register. If the address is >=0x80000000 (bit31
set) then this register is accessed via the APB memory space. Otherwise
it defines an ICEPick register.
address
APB address or ICEPick register block/number
Example:
DAPPC 0xD4159008 ;DAP-PC Cortex-A9#0
DAPPC 0xD415900C ;DAP-PC Cortex-A9#1
DAPPC 0x60
;non-JTAG register 0