bdi
GDB
for BDI3000 (QorIQ P3/P4/P5)
User Manual
44
© Copyright 1997-2012 by ABATRON AG Switzerland
V 1.03
Multi-Core related Telnet commands:
STATE
Display information about all cores.
SELECT <core>
Change the current Telnet core
CONT <cores>
Restart one or multiple cores
<cores>
core bit map
Example:
cont 0x000d ; restart core #0, #2, #3
HALT [<cores>]
Force one or multiple cores to debug mode. If there is no <cores> param-
eter, the currently selected core is forced to debug mode.
<cores>
core bit map
Example:
halt 0x00ff ; halt 8 cores #0...#7
Telnet session:
P4080#0>info
Target CPU : P4080 Core#0
Core state : halted
Debug entry cause : debug halt
Current PC : 0x7ff74c34
Current CR : 0x22000084
Current MSR : 0x00029200
Current LR : 0x7ff74c38
Current CCSRBAR : 0x0_fe000000
P4080#0>state
Core#0: halted 0x7ff74c34 debug halt
Core#1: running
Core#2: running
Core#3: running
Core#4: running
Core#5: running
Core#6: running
Core#7: running
P4080#0>halt 0xf0
- TARGET: core #4 has entered debug mode
- TARGET: core #5 has entered debug mode
- TARGET: core #6 has entered debug mode
- TARGET: core #7 has entered debug mode
P4080#0>state
Core#0: halted 0x7ff74c34 debug halt
Core#1: running
Core#2: running
Core#3: running
Core#4: halted 0xfffff0f8 debug halt
Core#5: halted 0xfffff0f8 debug halt
Core#6: halted 0xfffff0f8 debug halt
Core#7: halted 0xfffff0f8 debug halt
P4080#0>cont 0x30
P4080#0>state
Core#0: halted 0x7ff74c34 debug halt
Core#1: running
Core#2: running
Core#3: running
Core#4: running
Core#5: running
Core#6: halted 0xfffff0f8 debug halt
Core#7: halted 0xfffff0f8 debug halt
P4080#0>