Documente Academic
Documente Profesional
Documente Cultură
SN Systems Limited
Version v470.1
December 17, 2014
© 2014 Sony Computer Entertainment Inc. / SN Systems Ltd. All Rights Reserved.
Contents
1: Introduction ................................................................................................................6
Why use Target Manager? ............................................................................................. 6
Accessing targets from your own applications ............................................................... 6
Features and benefits ............................................................................................................. 6
Installation ............................................................................................................................... 7
System requirements ...................................................................................................... 8
2: Getting started with Target Manager .......................................................................9
Launching Target Manager .................................................................................................... 9
Target Manager components ................................................................................................. 9
Target Manager server (ps3tmserver.exe) ..................................................................... 9
Target Manager controller (ps3tm.exe) .......................................................................... 9
Target Manager GUI (ps3tmgui.exe) ............................................................................ 10
Target Manager GUI .............................................................................................................. 10
System tray icon ........................................................................................................... 11
Menu bar ....................................................................................................................... 11
Target Manager toolbar ................................................................................................ 15
Customizing menus and toolbars ................................................................................. 16
Exiting Target Manager ........................................................................................................ 17
3: Managing targets .....................................................................................................18
Adding and removing targets .............................................................................................. 18
Adding a target ............................................................................................................. 18
Removing a target ........................................................................................................ 19
Finding targets on your network ......................................................................................... 19
Exporting a list of targets..................................................................................................... 21
Importing a list of targets ..................................................................................................... 22
Connecting to targets ........................................................................................................... 22
Disconnecting from targets ................................................................................................. 23
Resetting a target.................................................................................................................. 24
Changing the reset mode ............................................................................................. 24
Advanced reset mode settings ..................................................................................... 24
Reconnecting after a target-initiated reset.................................................................... 24
Using the game port for host file serving ...................................................................... 25
Performing a system update................................................................................................ 25
Loading and running executable files ................................................................................ 26
Loading your SELF manually ....................................................................................... 26
Loading from a device .................................................................................................. 27
Setting a default target ......................................................................................................... 28
Managing targets from the command-line ......................................................................... 29
Command-line utility syntax .......................................................................................... 29
Changing display settings ............................................................................................. 30
Specifying target name ................................................................................................. 31
Showing console output................................................................................................ 31
Disconnecting from the target ....................................................................................... 31
Command line utility examples ..................................................................................... 31
More help ...................................................................................................................... 31
4: Configuring targets and global preferences .........................................................32
Configuring targets............................................................................................................... 32
Target settings .............................................................................................................. 33
© SCEI ProDG Target Manager for PlayStation®3 v470.1
-3-
User Guide to ProDG Target Manager for PlayStation®3
Contents
General ......................................................................................................................... 33
Connection Properties .................................................................................................. 33
File Serving ................................................................................................................... 33
File Trace ...................................................................................................................... 33
Load Options ................................................................................................................ 33
Extra Load Options ....................................................................................................... 34
Console Output ............................................................................................................. 36
Image Capture .............................................................................................................. 36
Advanced Reset Settings ............................................................................................. 36
XMB Settings ................................................................................................................ 37
Time-outs ...................................................................................................................... 37
Game attributes ............................................................................................................ 38
Default Target Settings ................................................................................................. 38
Configuring XMB settings .................................................................................................... 39
Configuring global preferences .......................................................................................... 40
Configuring display settings ............................................................................................... 41
Using the Web Admin view .................................................................................................. 41
5: Viewing console output ..........................................................................................43
Console output channel shortcut menu ............................................................................. 43
Capturing console output data to a file .............................................................................. 44
Setting console output channel properties........................................................................ 44
Filtering console output................................................................................................. 47
Clearing a console output channel ..................................................................................... 48
Copying console output to another application ................................................................ 48
Configuring console output ................................................................................................. 48
Managing output channels .................................................................................................. 49
Using color and control codes in console output ............................................................. 49
Sending console input ......................................................................................................... 50
6: Serving files from the host computer ....................................................................52
Setting the file-serving directory ......................................................................................... 52
Setting the home directory .................................................................................................. 52
Choosing the file serving port ............................................................................................. 53
Viewing file serving activity ................................................................................................. 53
File Filter pane shortcut menu ...................................................................................... 54
Logging pane shortcut menu ........................................................................................ 55
File serving view toolbar ............................................................................................... 55
File serving actions ....................................................................................................... 55
Tracing file I/O activity on a target ...................................................................................... 56
File Trace view toolbar.................................................................................................. 56
Setting case sensitivity ........................................................................................................ 57
Communicating by using named pipes .............................................................................. 57
Opening a named pipe ................................................................................................. 57
Reading from / writing to a named pipe ........................................................................ 58
Closing a named pipe ................................................................................................... 58
Executing host applications ................................................................................................ 59
7: Accessing the file system of a target .....................................................................60
Using the File Explorer view ................................................................................................ 60
Browsing the target hard disk and managing folders and files ..................................... 60
Modifying file and folder properties............................................................................... 61
Copy and paste operations in the File Explorer view ................................................... 62
Transferring folders and files between the host computer and target .......................... 63
Installing HDD Boot Games from Target Manager....................................................... 64
1: Introduction
Target Manager for PlayStation®3 ("Target Manager") is used to control access to any development
hardware (targets) connected to your host PC, or remotely on your network. Target Manager must be
installed and running in order that other SN Systems applications can communicate with the
development hardware.
Target Manager allows you to connect to the target, load and run executable files, send console input
to the target, and view console output from the target.
In order for applications that communicate with the target to run, such as Debugger, Tuner, and the
command-line utility, Target Manager must be running and have at least one target set up.
Target Manager can be used with a range of SCE development hardware.
Target Manager is provided with the following SN Systems products:
ProDG
Tuner
Manage development
hardware
File serving
Module list
File synchronization
Web admin
Console output
Console input
Localization
Installation
Target Manager is installed when you install one of the following products:
ProDG
Tuner
Target Manager may also be installed as a stand-alone product, with its own installer.
The following environment variable is setup by the installer:
SN_PS3_PATH to point to the parent folder of your ProDG installation, e.g. SN_PS3_PATH=C:\Program
Files\SN Systems\PS3.
System requirements
Supported Operating Systems
Windows XP SP3 32-bit - Professional Edition
Windows 7 32-bit - Professional and Ultimate Editions
Windows 7 64-bit - Professional and Ultimate Editions
Recommended Hardware
Pentium 4 1GHz CPU equivalent or higher
At least 1GB RAM
-log <level> Sets the logging level used by the server. This value would normally
only be changed on the request of the SCE or SN Systems Developer
Services teams.
-md <level> Set the level of information that is produced in the event of an
application error. The following values for <level> are supported:
0 = Normal (minimal) dump. This is the default option
2 = Full memory dump.
Note: If no command-line switch is provided then the application
will prompt for the level in the event of an error.
The Target Manager GUI includes five menus: File, View, Target, Tools and Help. These contain the
commands that enable you to add and configure targets, connect to them, load files on selected targets
and view help information.
Below the menu bar is a toolbar containing buttons that enable you to access the most useful commands
rapidly.
The rest of the Target Manager window resembles Windows Explorer and shows any targets that you
might have added on the left and their properties in the right part of the window (the Target List view).
In the Target List view, the target properties are arranged in columns labeled Target, SDK, CP, Address,
Status, File Server Dir. and Home Dir (~/). The column widths may be resized by dragging the column
separators either left or right.
At any time you can refresh display of the current connection status and directory settings for all of
the available targets, by selecting Refresh Status from the toolbar, or pressing the shortcut key F5.
Pressing F5 should always result in the connect time for connected targets being updated, and any
targets that have been newly connected or disconnected will also have their status updated.
You can sort the rows displayed on the right by clicking on either the Target or Address column
headings. This will sort the listed targets alphabetically by their target name or IP address,
respectively.
The SDK and CP columns will display the SDK version and CP version. If the SDK/CP version is not
retrievable, hyphens will be displayed.
You can view the different console output streams of any target, by expanding the My Targets folder
in the left part of the window, then expanding the folder for the selected target, and then selecting the
Console Output icon for the target. Console output appears in the right part of the window.
You can view file serving information by similarly selecting a target, and then selecting the File
Serving icon. File serving information appears in the right part of the window.
You can synchronize files on the target with files on the host, using the File Explorer view.
You can also view image captures and the module list from the expanded target folder.
You can perform some actions on several targets by multi-selecting targets in the Target List view.
Available actions will be enabled on the toolbar or shortcut menu as appropriate.
If you wish to open the main window again at any time, you can either double-click the tray icon or click
the Open Target Manager command on the shortcut menu of the notification area icon:
The shortcut menu of the notification area icon has the following commands:
Command Description
Exit Exits Target Manager and stops the Target Manager server.
Menu bar
The Target Manager menu bar contains the options File, View, Target, Tools and Help and they are
described in this section.
Many of the most frequently used commands in the Target Manager can be accessed via keyboard
shortcuts. If a keyboard shortcut is available it will be listed next to the command name in the menu.
File menu
Add Target Allows you to add a target. See "Adding and removing targets".
Delete Target Allows you to delete a target. See "Adding and removing targets".
Map Filesystem Allows you to map or unmap the PlayStation® file system to a drive. See
"Using a mapped drive".
Backup Exports targets to a target list file. See "Exporting a list of targets".
Restore Imports targets from a target list file. See "Importing a list of targets".
Refresh Status Checks the connect status of all targets and redraws the main Target
Manager window.
Close Closes Target Manager back to the system tray icon, preserving TTY and
other data. See "System tray icon".
View menu
Toolbars and Displays or hides the toolbars and enables you to customize the user
Docking Windows interface.
Status Bar If selected, displays a status bar at the foot of the Target Manager
window.
Target menu
Force Disconnect Forcibly disconnects a user from the selected (connected) target. See
"Forcibly disconnecting users from target".
System Update Performs a system update of the selected (connected) target with a
ROM image. See "Performing a system update".
Reset Mode Sets the reset mode. See "Changing the reset mode".
Reset into System Resets the target into System Software Mode.
Software Mode
Load and Run Allows you to specify, then load and run an executable on the selected
Executable (connected) target.
Change Monitor Allows you to configure global display settings. See "Configuring
Settings display settings".
BD Emulator Accesses the BD Emulator shortcut menu. See "Using the Blu-Ray drive
(BD) emulator".
Trigger Core Dump Triggers a core dump provided that the Enable core dump option is set
Power Control Control power to the target. The available options are Switch Power
On, Shutdown and Shutdown (Force).
For Debugging Stations, the Switch Power On option should be used
with targets on the same LAN as the host PC, or your network must be
configured to allow UDP sub net broadcasts to be routed from the host
PC's LAN to the Debugging Station's LAN. After adding a new target,
you must initially manually power on and connect so that Target
Manager can obtain the information it needs to be able to use 'wake on
LAN' to power on the Debugging Station. Subsequently, the Switch
Power On option will be enabled, allowing you to control power to the
Debugging Station target. The Wake on LAN setting should be enabled
in the Debug Settings options of the XMB™ menu for the power on to
work.
Install Installs an HDD Boot Game by using a PARAM.SFO or .pkg file. For
further information see "Installing HDD Boot Games from Target
Manager".
Set File-Serving Allows you to set the file serving directory for the selected target. See
Directory (app_home/) "Setting the file-serving directory".
Set Home Directory (~/) Allows you to set the home directory for the selected target. See "Setting
the home directory".
Cancel Operation Allows you to cancel lengthy or unintended operations without waiting
for the command to time out (e.g. reset, power on/off).
Set as default target Sets the selected target as default. See "Setting a default target".
Import Properties Overrides the current target settings, except the unique IP Address and
System Name settings. Differences between different target types are
handled transparently, for example, it is possible to export the settings
of a DECR1000 and re-import them on a DECR1400.
This option can be used on one or multiple targets. See "Configuring
targets".
Properties Allows you to configure the properties of the selected target. See
"Configuring targets".
Tools menu
External Tools Allows you to declare external tools via the Tools tab of the Customize
dialog (see "Customizing menus and toolbars"). Shortcuts to the tools
are added to the Tools menus (in the Installed Tools section).
Help menu
Add Target INSERT Allows you to add a target. See "Adding and
removing targets".
Delete Target DELETE Allows you to delete a target. See "Adding and
removing targets".
Reset into System Resets the target into System Software mode.
Software mode See "Resetting a target".
Load and Run CTRL+E Load executable file. See "Loading and running
Executable executable files".
Caution: For DECR-1000 Reference Tool targets this button will be enabled if the target is
powered off. For DECR-1400 Reference Tool and Debugging Station targets this button will be
enabled whenever the target is disconnected, irrespective of the true power status of the target.
Switch Power Off Switch power off. This button will be enabled
whenever the target is powered on.
Reset to Default Resets command name and button image to their default values.
Image and Text Displays an icon and text for the command.
3: Managing targets
Adding a target
To add a new target:
(1) On the File menu, click Add Target (or use the toolbar).
(2) In the Add Target dialog box:
(a) In the Name box, type a name for the target, and then in the Target type box, select the target
type, and then click Next.
Tip: You can click the browse button to scan an IP address range for targets. See "Finding targets on
your network".
(b) In the IP address or host name box, type the IP address or host name of the target, and then in
the Port box, set the connection port if required, and then click Next.
(c) Confirm the details, and then click Finish.
The new target and connection details appear in the main window.
Tip: You can change the properties of a target when it is not connected. See "Configuring targets".
Note: Usually the core dump would be loaded and examined via the debugger but if loaded into
Target Manager directly, it will display its content to console output in .ini file format. See the ProDG
Debugger for PlayStation®3 user guide for more information on using core dump files with the
debugger.
Removing a target
To remove a target:
(1) Select a target in the main window or Target Explorer, and then press DELETE.
(2) In message box, click Yes.
The first scan will begin with a network address where your computer is located but for subsequent scans
Target Manager will remember the last used settings.
If your computer has more than one network adapter then the combo box displays additional default IP
address ranges.
Found targets will be refreshed when you click the Refresh button. You can also expand the Search for
Targets root node to show previous scans.
Sometimes a target may be displayed as Unknown. A target can only be added to Target Manager with a
specified model type therefore you can drag and drop a target to the group you think is correct but an '*'
will be displayed until Target Manager has verified that the target is in the correct group. Also, you can
right-click an unknown target and you will be given the option to move it to possible groups.
The Find Targets dialog box displays a range of IP addresses which defaults to the network addresses of
the network where your computer is located. If your computer has more than one network adapter then
the history is filled with additional default IP address ranges. Click any column heading to sort the
results.
Click Search to start scanning the IP address range for targets. Any targets that are detected will be listed.
To add a target to Target Manager, select a target, and then click OK.
Sometimes Model may be displayed as Unknown if Target Manager cannot automatically determine the
model type. You can only add a target to Target Manager if the model type is specified, therefore you
should select one of the available model types from the drop-down listbox.
Options Description
Delete existing targets prior to import Does not preserve the current target list.
Merge imported targets into existing Retains the current target list.
target list
Update existing targets with settings Overwrites the server-side settings of the targets
from imported target list (including from the imported target list. If you do not select this
overriding default target, if specified check box (default), then any pre-existing targets
in configuration file) found in the target list are unaffected by the import.
Connecting to targets
Target Manager can be launched via the command line or Windows shortcut or it is launched
automatically by the debugger. For any other host tools (debugger, tuner, the command-line utility or any
application which uses the Target Manager API) it must already be configured in the Target Manager to
be able to interact with a particular target.
When a host tool exits, by default it will leave the target in the state that it was in when the host tool was
started. However, you can use command-line options to modify this behavior and specify, for example,
that you are always disconnected.
To connect to a target:
(1) Select the target that you would like to connect to in the right pane of the main window.
(2) Double-click on the target name or click Connect on the Target menu (or click the Connect toolbar
button or the F7 shortcut key).
(3) If your connection was successful then the target properties in the right pane of the window will be
updated to show 'Connected' in the Status column.
If another user is currently connected to the target a dialog box is displayed saying that the target is
in use by another user and the identity of the currently connected user is displayed in the Status
column. The Status field for a connected user takes the form:
<computer>@<domain>,<app> (<connect time [hh:mm:ss]>)
For example:
Note: The connected user will not receive any warning that they are being disconnected, and may lose
valuable work as a result, so this option should be used only when absolutely necessary.
(3) Click Yes provided you are absolutely sure you want to forcibly disconnect the user who is using this
target.
(4) The target properties will update to show 'Disconnected' in the Status column.
Note: If you are disconnecting users from DECR-1400 Reference Tools or DECHA00/DECHJ00
Debugging Stations, Target Manager uses the multicast private group address 239.100.1.1 and ports
4444 and 4445. Multicast network traffic functionality is enabled by default and cannot be disabled. If
the connected PCs are across different subnets you will need to configure the router in order to route
the multicast data across the subnets.
Resetting a target
To reset a target:
(1) Connect to a target.
(2) In Target Explorer or the main window, right-click the target and then click Reset.
The target will be reset with the current reset mode.
Note: In System Software Mode, there is a soft reset but the boot parameters are set so that the target
comes up in system software mode, for example the PS3 will display the default XMB™ screen on the
TV. Note that Debugging Stations and Reference Tools DECR-1400* can be forced into system software
mode by holding down the front panel power button until it beeps for a second time when turning on
the device.
Tip: Set the reset mode and reset the target simultaneously by holding SHIFT when you perform the reset.
If the target is in system software mode, then loading an executable via Target Manager or debugger with
an initial reset will force the target back into debugger mode.
Caution: The reset mode is saved between Target Manager sessions, but is not persisted at the target
hardware level. This means that if another application, for example ProDG Debugger, resets the target
then it will use its own reset parameters.
WARNING: A hard reset excludes the software shutdown sequence and may cause corruption of
Flash ROM and the hard disk. Use this option only when the target system will not respond to a soft
reset.
For information on advanced reset mode settings, see "Advanced Reset Settings".
A reset can also be initiated by the target itself. There are two situations where this may occur:
A soft power recycle.
Exiting a running application via the VSH's 'Quit' option.
After the reset, Target Manager attempts to reconnect automatically for the specified Reconnect Timeout
period (see "Configuring targets").
Caution: you must be using SDK v2.1.0 (or greater) and CP 1.3.0 (or greater).
Note: You must use SDK 1.6.0 or greater to perform a system update.
Reference Tool DECR-1000*: Any console output during a system update is sent to the Console Output
view. Debugging Station and Reference Tool DECR-1400*: The Debugging Station will initially reset. At this
point Target Manager will not be able to connect to the target until the system update has completed and
the Debugging Station has been powered on. Any console output is viewed on a monitor connected to the
Debugging Station.
Reference Tool DECR-1000*: During a system update the toolbar for the target(s) selected will be disabled,
except for the Cancel Operation toolbar button. Flashing will have finished when the toolbar becomes
fully re-enabled. Debugging Station and Reference Tool DECR-1400*: A system update will have finished
when the power status light on the Debugging Station stops flashing red.
For information on performing a system update from the command line, see "Managing targets from the
command-line".
(3) Set any of the options that you require for the file load:
Load from device This overrides the normal downloading of a file and allows a user-
defined path. When this option is selected the file browser controls
are grayed out. See "Loading from a device".
Use ELF directory If selected, use the directory of the SELF as the file serving directory.
Use ELF directory If selected, use the directory of the SELF as the home directory.
© SCEI ProDG Target Manager for PlayStation®3 v470.1
- 26 -
User Guide to ProDG Target Manager for PlayStation®3
Managing targets
Command line parameters Enables you to specify any command-line parameters for your game
application.
Clear TTY streams If selected, clears all console output channels and console output log
files before loading SELF.
Enable debugging of If selected, enables the loaded module to be debugged. The program
module will stop at main() and will then need to be continued via a call to
SNPS3ProcessContinue().
Disable PPU debugging Disables PPU debugging. This allows you to speed up debugging if
you are not interested in debugging the PPU. If PPU debugging is
disabled and an exception occurs on the PPU, that unit will be
switched into debug mode.
Disable SPU debugging Disables SPU debugging. This allows you to speed up debugging if
you are not interested in debugging the SPU. If SPU debugging is
disabled and an exception occurs on the SPU, that unit will be
switched into debug mode (in the case of an SPU thread group, only
the thread group that caused the exception will be switched into
debug mode).
Note: The Target Manager server must be running for the command-line utility to work properly.
The command line utility consists of many commands that can be executed on a target. The list of
commands and associated functionality can be found below.
Command Description
capture Performs a screen capture on a specific process
console Input or outputs console text and waits until specific text is found in output
set-flags Sets various flags such as core dump or screen capture flags
sync Transfer files or directories to a specific location on a target
The descriptions above are brief. For more information on how each specific command is used, load the
help and usage of the command by executing the following:
ps3ctrl [command] help
The [command] argument is optional. If not specified, optional tasks can be executed such as
adding/deleting targets, setting file serving or home directory paths and much more. The following
options are global to all commands and will be executed before any command related functionality is
executed.
Option Description
-t <name> Specify target (defaults to the default target, set in Target Manager)
-add <targets> A list of targets to be added. The format of the targets is:
target_name:type:address:port where the type can be one of the following:
ref1000 or PS3_DEH_TCP
ref1400 or PS3_512_DBG_DEX
debug or PS3_DBG_DEX
coredump or PS3_CORE_DUMP
Option Description
-monitor Monitor type
-connector Connector type
-res Startup resolution
-hdcp High-bandwidth Digital Content Protection
-reset Reset the target after the command
Example:
PS3Ctrl setdisp -t mydevkit -monitor 9 -res 2 -connector 1 -hdcp 0 -reset
If enabled, the settings will be displayed on the TTY view (see the Display reset settings option in
"Advanced Reset Settings").
The Change monitor settings dialog can also be used to change display settings (see "Configuring display
settings").
More help
For more information on how commands are executed, please refer to the help and usage guide in the
command line utility by executing the following:
ps3ctrl help
Configuring targets
You can configure a target when you are connected to or disconnected from the target. However, you
must be disconnected from a target to configure the IP address or port number.
To configure a target:
(1) In Target Explorer or the main window of Target Manager, right-click a target and then click
Properties.
(2) In the Target Properties dialog box:
(a) In the left pane, select a group of settings.
(b) In the right pane, configure settings, and then click OK.
Console Output. Displays the console output cache size for the special SAVETTY file-serving
command.
Image Capture. Displays the automatic capture option and directory.
Advanced Reset Settings. Displays the reset type, boot parameters, and system parameters.
XMB Settings. Displays the current XMB settings.
Time-outs. Displays expected response time for requests.
Target settings
The properties of a target contain the following settings.
General
Setting Description
Connection Properties
Setting Description
IP address or host name Specifies the IP address or host name of the target.
File Serving
Setting Description
File server directory Specifies the file-serving directory of the target. See "Setting the file-
(app_home/) serving directory"
Home directory (~/) Specifies the home directory of the target. See "Setting the home
directory".
Force case sensitive Enables file-serving case sensitivity. See "Setting case sensitivity".
File Trace
Setting Description
Load Options
The load options are hierarchical – you must enable one setting to configure other settings. For example,
to perform RSX profiling with GPAD, you must select the Enable GCM debug check box, then select the
Enable RSX profiling tool check box.
To perform RSX profiling, the libgpad.sprx file must be in the correct location. For more information, see
"Troubleshooting".
Setting Description
Use stack size from ELF Sets the stack size from the ELF.
Default ELF stack size Sets the default ELF stack size, requires the Use stack size from ELF
property to not be selected.
Use priority value from ELF Sets the primary thread priority from the ELF.
Default priority Sets the default primary thread priority, requires the Use priority
value from ELF property to not be selected.
Wait for BDVD Causes the debug agent to wait for the BDVD to be mounted when
you load an executable from the BDVD. This can add 15 seconds to
the reset and reload time.
Use ELF directory for Uses PARAM.SFO in the ELF directory, requires the PARAM.SFO
PARAM.SFO mapping property to be selected.
PARM.SFO path Specifies the path to a local PARAM.SFO file, requires the Use ELF
directory for PARAM.SFO property to not be selected.
Setting Description
Enable extra load options Overrides XMB settings with the extra load options when loading
an executable.
Load libProf module Loads the cellLibprof module when loading a .SELF file, allowing
the capture of SPU sample data in Tuner. This option is set to No by
default.
GCM Debug
Enable smart image capture Fetches image capture settings automatically from the target,
requires the Enable GCM debug property to be selected.
Enable RSX profiling tool Enables RSX profiling, requires the Enable GCM debug property to
be selected.
Enable HUD Enables the HUD, requires the Enable RSX profiling tool property
to be selected.
Start with HUD on Starts in HUD mode automatically, requires the Enable HUD
property to be selected.
Core Dump
Enable core dump Launches the core dump handler with the loaded executable. The
core dump settings enable you to disable causes of core dumps to
prevent conflicts with other subsystems in the operating system, for
example, Debug Agent, liblv2dbg, and the SPURS exception
handler. You can also disable a memory dump in a full core dump.
Core dump location Specifies the location to store core dump files, requires the Enable
core dump property to be selected.
Trigger Options
Disable PPU exception PPU exceptions do not trigger a core dump, requires the Enable
detection core dump property to be selected. This can be overridden by the
core dump settings of Debugger.
Disable SPU exception SPU exceptions do not trigger a core dump, requires the Enable
detection core dump property to be selected. This can be overridden by the
core dump settings of Debugger.
Disable RSXTM exception RSX exceptions do not trigger a core dump, requires the Enable
detection core dump property to be selected.
Disable Foot Switch Foot switch does not trigger a core dump, requires the Enable core
detection dump property to be selected.
Disable Memory Dump Disables the memory dump in a full core dump to reduce time and
file size. This property requires the Enable core dump property to
be selected.
Enable restart process after core By default, after a core dump, the process is in a state where it
dumped cannot continue. Setting this flag means that the process can be
continued following a core dump. This property requires the
Enable core dump property to be selected.
Enable core dump function after Normally once a core dump has been generated the handler will
core dumped stop running. This setting keeps it running. This is useful if a
user wishes to trigger multiple core dumps from the same
process. This property requires the Enable core dump property
to be selected.
Use ELF directory for Use the directory from where the ELF is being loaded for
“bootable_message_data.dat” “bootable_message_data.dat” mapping.
mapping
Patch boot Sends notification that the application is a patch so the system
reads the boot parameters from disc. A mapping must be
configured in the Load Options settings or the file-serving
directory must contain a PS3_GAME directory that contains
PARAM.SFO.
Console Output
Setting Description
Console output cache size Specifies the console output cache size only for the special
(KB) SAVETTY file-serving command. If you do not intend to use this
feature, set the size to 1 KB.
Image Capture
Setting Description
Save captures automatically Saves all image captures automatically in BMP format, uses the
target name and time stamp for the file name.
Image capture directory Saves images in the specified directory, requires the Save captures
automatically property to be selected.
Setting Description
Reset type Specifies the default reset type. If the reset fails, more severe forms
of reset are attempted until the reset succeeds.
Boot parameters Displays the value and mask of the boot parameters. Use the
browse button to configure the boot parameters and values. See
"Boot parameters".
System parameters Displays the value and mask of the system parameters. Use the
browse button to configure the system parameters and values. See
"System parameters".
Display reset settings Displays the reset settings on the TTY view after a reset or a power
on. (This option is set to On by default). See "Configuring display
settings".
Boot parameters
The parameter settings are reflected in the Bit field values. The check boxes control the Mask values.
When you clear a check box, the current setting is preserved on the target.
For information on using the Game port for host file-serving, see "Choosing the file serving port".
Setting Description
Set Boot Mode Sets the boot mode to debugger, system software or release.
Set user process memory size Sets user process memory size to the Tool or Console setting.
Set Bluray Disk access Sets Blu-ray Disk access from the emulator or drive.
Set BD emulation transfer Emulates the BD interface from hard disk or equivalent to the BD
rate drive.
Set host file-serving socket Serves files from the Dev or Game port.
Set BDVD emulation device Emulates BDVD from the Dev or USB port.
Refresh from Target Loads the current boot parameters from the target.
System parameters
The parameter settings are reflected in the Bit field values. The check boxes control the Mask values.
When you clear a check box, the current setting is preserved on the target.
Setting Description
Set release check mode Sets the release mode to development or release.
Refresh from Target Loads the current system parameters from the target.
XMB Settings
Setting Description
Time-outs
Note: Settings in the Time-outs group are applied to all targets of the same type.
Setting Description
Status time-out Specifies expected response time for status requests to DECR-1000*
Reference Tools.
Reconnect time-out Specifies expected response time for reconnect requests to DECR-
1400* Reference Tools and Debugging Stations.
Game port time-out Specifies expected response time for file serving to the game port on
DECR-1000* Reference Tools.
Game exit time-out Specifies expected response time for terminate game process
requests. This request requires a timeout for the time that VSH
waits for the process to shutdown. This timeout is sent with the
request and is the sum of Game exit time-out and Default time-
out.
Game attributes
The Game attribute property enables the system to emulate network triggered loading where game boot
invitation messages can be sent from one user to another. The messages appear in the mailbox of the
system software. When the user selects the invitation, the application opens and obtains the attached data.
For more information, see NP Basic Overview.
When the attribute is Invite Message or Custom Data Message, the system software attempts to load the
file /app_home/bootable_message_data.dat. This file should be present in the file-serving directory or a
mapping set up by using the Enable "bootable_message_data.dat" mapping property, and then
specifying the executable directory or a location.
Note: When the attribute is Invite Message or Custom Data Message, the NP Communication ID
must be written to PARAM.SFO. A mapping must be configured in the Load Options settings or the
file-serving directory must contain a PS3_GAME directory that contains PARAM.SFO.
Error handling
As more than one target can be selected, more than one error can occur at a time. Therefore, an Error box
will display one error and previous/next buttons will enable you to navigate between any other errors.
Click the error text link to perform the appropriate action (Connect/Power On).
Errors will occur if a target is powered-off, if you are not connected to the target or if the SDK version is
pre-340. The relevant target will be excluded from the list of targets whose XMB Settings are being edited.
For example, if you select targets A through D, where target B is powered-off and target D is not
connected, there will be 2 errors but targets A and C may still have their XMB Settings set.
Indeterminate settings
As the XMB Settings may be different between the selected targets, those settings that are indeterminate
will display the string "<values differ>". An error will be displayed if you attempt to save a list of settings
as a settings group while some settings are indeterminate, (excluding the unique System Name and IP
Address).
Note: The settings in Setting and Connection Status List are the current network settings on the XMB
– these settings are read-only.
When you apply XMB settings, any other properties are also applied. The OK button applies the XMB
settings when the next reset occurs and the Refresh from Target button displays the current XMB
settings.
Note: When multiple targets are selected, the Refresh from Target button will be disabled. Reset and
Apply will still be enabled however, as the settings can be applied for each relevant target.
Preference Description
Retrieve target status on Obtains status of all targets when the program is started.
startup
Tip: Disable this preference to improve the startup time when
you have many targets, but this should only be used for
automated build and test systems.
Show connection or Displays connection information after the target name in the list of
status information next targets.
to the target name
Tip: To use a custom executable rather than the embedded setmonitor.self file, click More options, and
then select the required SELF in the Use custom executable box.
Use the tabs in the right-hand pane to select a particular console output stream.
A Console Output view can be in either normal output mode or terminal mode. Most of the time Target
Manager is in normal output mode. If you have multiple streams mapped to a single output channel (see
"Managing output channels") then Target Manager puts the channel into normal output mode. If there is
only one stream mapped to the channel then Target Manager puts that channel into terminal mode. When
in terminal mode console input can be sent to the target as well as receiving its console output (see
"Sending console input").
Select All Selects all the text in the console output channel.
Goto Line Displays a Go To Line dialog allowing you to select a particular line of console
output.
Find Opens a dialog that enables you to search for some text in the console output.
If the text is found, the line containing the text is marked with the cursor. Use
F3 to repeat the search with the last find text string. Use SHIFT+F3 to search
backwards.
Note: SHIFT+F3, backward search feature, is not available in the current
build. This will be fixed in the next release.
Font Allows you to set the font face and point size for the console output channel.
EUC-JP Mode If selected, overrides the current encoding method detection (ShiftJIS or the
default UTF8), specifying EUC (Extended Unix Code) encoding..
ShiftJIS Mode If selected, overrides the current encoding method detection (EUC-JP or the
default UTF8), specifying ShiftJIS encoding.
Unknown ESC Accesses a submenu of options. This setting determines how unrecognized
escape codes in console output should be handled: Print = display as a normal
character; Expand = display character with a leading caret symbol <^>; Hide =
ignore.
Properties Opens the console channel's property page. See "Setting console output
channel properties".
Manage Output Opens the Manage Output Channels dialog. See "Managing output channels".
Channels
General
Enabled If selected, the console output channel is active. When this is cleared, the
channel disappears in the right-hand console output pane and console
output is not captured for that channel.
Echo input to screen For console output channels that allow keyboard input, this check box
specifies whether keys pressed will be echoed to the console output
stream by Target Manager. This is disabled by default but can be enabled
if the target-side application does not send input characters to the console
stream itself.
Enable timestamps If selected, console output lines will be prefixed with a timestamp.
Timestamps are added in the local format.
Include date in If selected, the current date will be included in the timestamp.
timestamps
Buffer Settings
Size (KB) Set the size of the console output buffer in KB (minimum 64 KB).
The Stream Mapping group allows you to map output from several console output streams to the
currently selected channel. The left-hand list displays the currently available (unmapped) streams and the
right-hand list shows those streams that are currently mapped to the selected channel. If only one stream
is mapped, then this stream will also receive any console input from this channel.
The buttons between the lists enable you to move streams between them. Select as required and then click
Apply to save the settings.
>> Moves all unmapped streams from the left to the right list.
> Moves the currently selected unmapped stream to the right list.
< Moves the currently selected mapped stream to the left list.
<< Moves all mapped streams from the right to the left list.
If an output channel has two or more streams mapped the console output from the streams can get
interleaved when displayed. To prevent this, select the Prevent interleaved console output option. With
this option enabled streams are cached until a newline character (\n) or 255 characters are received. The
option is disabled by default.
Caution: enabling this option will prevent real-time console output, such as progress or loading bars,
from displaying as intended.
The Logging group enables you to log console output to file. Select the Log to file option to start logging
for the selected channel and to configure the logging options.
You need to select the file that you wish to log console output to. Specify the maximum limit for the size
of the file. When the log file reaches the maximum size it will not be appended to. Enter –1 for an
unlimited size.
Select Append to place the output after any existing data in the file. If this checkbox is not selected any
existing data will be overwritten. Select Clear log when output is cleared if you want the log file to be
cleared every time that the console output buffer is cleared (using the Clear option from the console
output channel shortcut menu). Finally, click Apply to save these settings.
Text Meaning
\{<color>} Begin colored text. Options are 'red', 'blue', 'black', 'green', 'cyan', and
'magenta'.
Full details of the regular expression syntax used for matching can be found at:
http://msdn2.microsoft.com/en-us/library/k3zs4axe(VS.80).aspx
Examples:
Replace \{red}\{0}\{normal}
Replace \{1}\{blue}\{2}\{normal}
Match \[INFO\]:.*
Replace
Match ^(!(MyFunc)).*
Replace
Effect Strips out all lines except those beginning with “MyFunc".
You can navigate through the list of filters using the up and down arrows.
To select the syntax of a selected filter, click on the sign.
To delete a selected filter, click on the sign.
(2) In the Font dialog box, configure font settings and then click OK.
The settings will apply to all console output channels, not just the current one.
The Manage Output Channels dialog displays the following information for each console output channel
currently set for the selected target.
Name of the console output channel
Size of console output received (in bytes)
Maximum buffer size (in bytes)
Memory allocated (in bytes)
To configure output channels:
(1) In Target Explorer, expand a target, right-click Console Output and then click Manage Output
Channels.
(2) In the Manage Output Channels dialog box,
Select a channel, and then click Properties to display the property page for that channel. See
"Setting console output channel properties".
Use the New, Delete, and Reset buttons to create a new channel, delete channels and remove all
custom output channels restore default settings.
Select the Auto-hide empty channels option to prevent channels that have received no console
output from displaying a tab in the Console Output window.
Code Description
[0m Reverts to "Normal" text colors.
[7m Reverses the foreground and background colors.
[30m Sets text to ANSI black.
Example:
printf("\x1b[31m\x1b[44mRed text on blue background\x1b[0m\n");
do
{
sys_read_tty(nChannel, pString, 1, &nCharsRead);
if (nCharsRead == 0)
return false;
if (--nMaxLen == 0)
{
*(pString - 1) = '\0';
break;
}
} while (*pString++ != '\0');
return true;
}
This method provides an input method to the target which does not rely on having physical access to it.
Note: Network share paths are also supported, for example \\server\path.
It is also possible to change the file-serving directory from inside your code using the following function
call:
cellFsOpen("/app_home/SETROOT:<path>", CELL_FS_O_CREAT, &fd, NULL, 0);
e.g.
cellFsOpen("/app_home/SETROOT:d:\\", CELL_FS_CREATE, &fd, NULL, 0);
The main window displays the new home directory in the Home Dir column. Use /app_home/~ in your
code to map to the home directory.
Example:
Home directory is set to C:\temp
It is also possible to change the home directory from inside your code using the following function call:
cellFsOpen("/app_home/SETHOME:<path>", CELL_FS_O_CREAT, &fd, NULL, 0);
e.g.
cellFsOpen("/app_home/SETHOME:C:\\Temp", CELL_FS_CREATE, &fd, NULL, 0);
The upper pane ("File Filter" pane) of the file serving view displays a list of all files accessed on the local
machine by the target. It is a summary view of read/write actions on that file.
The lower pane ("File Activity" pane) of the file serving view displays a log of all file and folder actions
(see "File serving actions"). Logging for an individual file can be controlled by the checkboxes in the
summary pane.
There is also a toolbar button to disable logging for new files, on the file serving view toolbar:
Reset Totals Resets the Total Read and Total Write statistics for the selected file.
Log File Turns on the logging of actions for the selected file.
Stop Logging File Turns off the logging of actions for the selected file.
Clear File Removes the file from the summary pane and all associated actions from
© SCEI ProDG Target Manager for PlayStation®3 v470.1
- 54 -
User Guide to ProDG Target Manager for PlayStation®3
Serving files from the host computer
Copy Copies the contents of the logging pane to the Windows clipboard.
Toggle Display Toggle the files that are displayed in the file serving log.
Filters
Clear Log Clears the log for selected files in the summary pane.
Log New Files Enables or disables logging of events for new files.
Clear Closed Files Removes all closed files from the summary pane and all
associated actions from the logging pane.
Configure Options Configure fileserving options including maximum log size and
which events are captured.
Note: Tracing file I/O activity is only available on Reference Tool targets.
The File Trace view supports the initialization of tracing, as well as processing of existing log files. The
information displayed consists of an upper summary pane showing a list of all the files accessed and a
lower logging pane showing each of the individual actions at three stages of processing: RECEIVED,
PROCESSING and PROCESSED.
In the lower pane the Time column displays the time elapsed since the File Trace was started, in the
format hh:min:sec.microsec.
The Delta Time column shows the time elapsed since the previous event.
File operations returning an error are displayed in red. The exact error message and number is displayed
in the Status column and details of the file operation are displayed in the Parameters column.
Toggle Display Toggle the files that are displayed in the file trace log.
Filters
Clear Log Clears all the log entries from the logging pane.
Log New Files Determines whether new files should have log information displayed.
Clear Closed Files Removes closed files from the summary pane and removes their log
entries from the logging pane.
Start Sends a request to the target to initiate tracing for a given process
(other traces for that process will be stopped).
if(hPipe != INVALID_HANDLE_VALUE)
{
// Wait for the client to connect
int nConnected = ConnectNamedPipe(hPipe, NULL);
if (bConnected > 0)
{
// Connection established
}
}
On the target:
// Open the client end of the pipe
int fd = -1;
int err = CELL_FS_SUCCEEDED;
err = cellFsOpen("/app_home/\\\\.\\pipe\\mypipe", CELL_FS_O_RDWR,
&fd, NULL, 0);
if (err == CELL_FS_SUCCEEDED)
{
// Connection established
}
On the target:
r = cellFsRead(fd, pBuffer, nBytesToRead, &nBytesRead);
r = cellFsWrite(fd, pBuffer, nBytesToWrite, &nBytesWritten);
FlushFileBuffers(hPipe);
DisconnectNamedPipe(hPipe);
CloseHandle(hPipe);
On the target:
r = sceIoClose(fd);
err = cellFsClose(fd);
Note: Unlike PSP and PS2, PS3 does not allow the exit code of the host application to be returned in the
file descriptor.
SPAWN behaves the same as EXEC except that the call will never block and the created process will be
hidden from the user.
e.g.
cellFsOpen("/app_home/SPAWN:<path>", 0, &fd, NULL, 0);
// Create a hidden process (always non-blocking)
Caution: If you are not currently connected to the selected target, the File Explorer view may display
the file system from a previous connection.
h
The File Explorer view consists of two panes:
Browser (top) pane. Enables you to browse the target hard disk and displays the file extension for
files, size of the folder or file, mode and the last modfied, created and accessed time stamps. You can
sort the columns by clicking the column headers. You can also click the Toggle time zone button on
the toolbar to toggle between host time zone and target time zone settings.
Transfers (bottom) pane. Displays the status of any file transfers and enables you to retry failed
transfers.
Note: You can view and modify only certain sections of the target file system. This includes full access
to /dev_hdd0/game/YourGame/ and most of /dev_ms. It does not include USB drives or
/dev_hdd0/home.
Browsing the target hard disk and managing folders and files
The top browser pane of the File Explorer view enables you to browse the target hard disk and manage
folders or files. This pane provides the following user actions:
Open a folder by double-clicking it.
Browse to the parent folder by clicking Parent directory on the toolbar or pressing BACKSPACE.
Create a folder in the currently displayed folder by clicking New folder on the toolbar or shortcut
menu.
Delete a folder or file by selecting the folder or file and then clicking Delete on the toolbar or shortcut
menu, or pressing DELETE.
© SCEI ProDG Target Manager for PlayStation®3 v470.1
- 60 -
User Guide to ProDG Target Manager for PlayStation®3
Accessing the file system of a target
Rename a folder or file by selecting the folder or file, clicking Rename on the toolbar or shortcut
menu or pressing F2.
Refresh the view by clicking Refresh on the toolbar.
Set read, write and executable owner permissions. See "Modifying file and folder properties".
The File Explorer view automatically refreshes when files or folders are changed or deleted externally.
Note: For each folder, we recommend a maximum of 100 subfolders and files to avoid long delays or a
time-out in obtaining the file system information.
Modifying permissions
You can modify read, write, and executable permissions for files and folders on the Permissions tab of the
Properties dialog box. When you change owner permissions by using the check boxes, the first digit in the
Numeric Value box reflects the change. Similarly, when you can change the first digit, the check boxes
reflect the change. The second and third digits in the Numeric Value box set group and other permissions.
Value 0 1 2 3 4 5 6 7
When you select multiple files or folders and the permissions are different, the check boxes and Numeric
Value box display a square and 'x' respectively, which are indeterminate symbols. If you do not change an
indeterminate symbol, the permissions remain unchanged.
For example, a numeric value of 'x4x' reads the owner permissions from the check boxes, sets the group
permissions as read-only, and the other permissions remain unchanged from the original values.
When you select multiple files or folders and a time setting is different, the time setting is blank. If you set
a blank time setting, the time setting is set for all the selected files or folders. The times are either in the
host computer or target time zone, some text below the controls indicates the time zone.
Transferring folders and files between the host computer and target
The File Explorer view enables you to transfer folders and files between your host computer and a target.
To transfer a folder or file from a target to your host computer:
(1) Connect to a target.
(2) In Target Explorer, expand the target and then click File Explorer.
(3) In the File Explorer view, browse to a folder or file, right-click the folder or file and then click
Download.
(4) In the Select File Server Directory dialog box, browse to a location on your host computer and then
click Select Folder.
The folder and contents or the file are transferred to your host computer.
To transfer a folder or file from your host computer to a target:
(1) Connect to a target.
(2) In Target Explorer, expand the target and then click File Explorer.
(3) In Windows Explorer, drag a folder or file to the top browser pane of the File Explorer view in Target
Manager.
The folder and contents or the file are transferred to the target hard disk.
Progress of Transfers
The bottom transfers pane of the File Explorer view enables you to view the progress of transfers. You can
remove completed transfers, cancel transfers, clear transfers, retry failed transfers and force the update of
skipped transfers.
This pane provides the following user actions on the shortcut menu:
Command Description
Clear > Successful transfers Remove all successful transfers from the transfers pane.
Clear > Completed transfers Remove all successful or skipped transfers from the transfers pane.
Caution: You cannot install "Game Data" using the File Explorer view as this would result in the return
of error message 0x80028f14. For further information see Game Content of an HDD Boot Game in the
overview of the SDK documentation.
Tip: You can also drag a PARAM.SFO or .pkg file to the File Explorer view to install an HDD Boot
Game.
Note: Reference Tools DECR-1400* and Debugging Stations require a USB storage device because
those target types do not have an internal hard disk. The USB storage device must be connected to the
USB0 connector.
The storage device has a maximum of four emulator slots, depending on the size of the storage device,
and each slot can contain a disc image. For example, a simple USB storage device has only one emulator
slot and a 500 GB USB storage device has four emulator slots.
To use the BD emulator:
(1) Connect to a target, right-click the target, point to BD Emulator, and then click an operation.
(2) In the BD Emulator dialog box, configure settings, and then click OK.
Operation Settings
Upload disc image Set the emulator slot and the image file path.
to the target
Mount disc image Set the emulator slot to mount the disc image.
The File Explorer view displays details of the currently mounted image. You can click the arrow next to
the details to display the contents of the emulator slots. You can also use the shortcut menu of the
emulator slots to perform the operations.
Tip: You can drag-and-drop an image file to an emulator slot. If you drag-and-drop an image file to
the File Explorer view, you must confirm whether to use the image in the BD emulator or copy it to the
file system.
Note: From v460.1, Target Manager will not automatically map the PlayStation® file system to a drive
when starting and it must be mapped manually.
Note: You may need to adjust the capture settings to view the contents of your video buffer. To obtain
GCM video buffer parameters, see "Obtaining GCM video buffer parameters".
Tip: You can select part of the image by holding CTRL and dragging the pointer and clear the selection
by clicking the image. You can also copy the image by pressing CTRL+C.
Note: When you configure a setting, you must press ENTER for the setting to take effect.
Setting Description
Format Format of the image, available formats are: RGB565, RGBA5551, RGBA4444,
RGBA8888, X8R8G8B8 (default), X8B8G8R8, B8, RGBA F32*4, BGGR8 raw,
BGGR8 raw, BGGR8 interpolated, DXT1, DXT5.
Title-Safe Area Displays a margin around the image to indicate the title-safe area, which is likely
to be cropped by televisions.
Size Size of the title-safe area (percentage of the screen deemed to be safe from
cropping).
Detailed information is available on total memory usage of the process, what synchronization objects
belong to the process and also what modules are loaded into the process.
Clicking on the nodes in the tree will give more detailed information where applicable.
This section describes how to use Target Manager to connect to a Debugging Station (flashed with SDK
2.0.0 or greater) and how to download and run a signed ELF (SELF) on it.
When installing the SDK you will be provided with a Debugging Station setup document
(cell\info\Debugging_Station-Setup_e.pdf and DECR-1400J_DECR-1400A-Setup_e.doc). Please note these
important differences when using Target Manager:
Target Manager connects directly to the Debugging Station.
You must not use dtnetm.exe.
Do not use dtcfilesv.exe or dtccons.exe. The file serving and console functions are provided by Target
Manager.
Do not use dtp*.exe (dtpoff, dtpon etc.). These controls are provided by Target Manager.
Do not use dtn*.exe.
Features
The Debugging Station flash has some built-in DECI3 support which is a subset of the DECI3 support
available on a Reference Tool DECR-1000*.
Target Manager can be used to connect, disconnect, reset and power off the Debugging Station. For
SDK 2.4.0 or later Target Manager can use 'wake on LAN' to power on the Debugging Station.
Target Manager can be used to load your application from the host file system.
The Target Manager load ELF dialog allows command-line parameters to be passed.
Console output from your application can be displayed in Target Manager.
Your application can access the host file system via app_home.
Target Manager SDK supports: connect, disconnect, load & run SELF, reset, power off and console
output and input..
Full debugging support is provided.
One user-defined DECI3 protocol is supported.
Limitations
Tuner cannot be used with a Debugging Station, but it can be used with a Reference Tool DECR-
1400* with some restrictions.
Only one instance of Target Manager can connect. If a second instance tries to connect it will time
out. Force Disconnect is not supported. No indication of who is connected is provided.
The File Trace view (see "Tracing file I/O activity on a target") is not supported on the Debugging
Station, but it is supported on the Reference Tool DECR-1400*.
The Web Page view is not supported.
Target Manager cannot connect to a Debugging Station that has been set to release check mode.
Prior to SDK 2.4.0 power on was not supported.
(1) Make sure that the Debugging Station is flashed with the flash image from SDK 1.8.0 (or greater) in
the normal way (see https://ps3.scedev.net/projects/syssoft_updater).
(2) Connect the Debugging Station to your network and configure the Debugging Station network
settings.
Make sure that Settings / Debug Settings / Release Check Mode = Development Mode, Settings /
Debug Settings / Wake on LAN is On and Settings / Debug Settings / Boot Mode is not set to
Release Mode.
(3) Do not run dtnetm.exe. Target Manager communicates directly with the Debugging Station.
(4) Create a new Debugging Station target in Target Manager (see "Adding and removing targets").
Select target type = 'Debugging Station (DECHA00A) etc.' or 'Reference Tool (DECR-1400J etc.' and
use the default port setting of 1000.
(5) Connect to the Debugging Station in Target Manager (see "Connecting to targets").
Note: For TMAPI commands which communicate with the target, minimum version numbers for the
target SDK have been given. If no version numbers are given the command is internal to Target
Manager and will work with targets of all SDK versions.
ps3tmapi.lib The library file that must be linked into your application.
PPUExceptionData
The PPUExceptionData struct covers several PPU exception types (for example PPUExcTextHtabMiss,
PPUExcTextSlbMiss and so on). The only two PPU exception types it does not cover are
PPUExcAlignment and PPUExcDataMAT, which have their own dedicated structs.
TTY
The RegisterTTYEventHandler() function registers a callback which receives the "data" parameter as a
string. Similarly, the "text" parameter used in the SendTTY() function is also a string. These functions will
only work correctly for ANSI text data.
To use TTY with other encoding types, use the RegisterTTYEventHandlerRaw() and SendTTYRaw()
functions. RegisterTTYEventHandlerRaw() registers a callback which receives the raw text data as a byte[]
array. The user must then decode the raw data correctly.
The CancelTTYEvents() function will cancel TTY events registered via RegisterTTYEventHandler() and
RegisterTTYEventHandlerRaw().
12: Troubleshooting
This section provides some help with resolving problems that may be encountered while using Target
Manager.
0x80010005
This error code can occur when a connection to VShell fails. An error dialog may be displayed with the
text:
<target name>
E1012: Command failed
Load Process (Cmd = 768, Res = 7)
Error: The resource with the specified identifier does not exist (80010005)
The corresponding console output is:
"[DA] :Connect to VSH failed 0x80010005"
"[DA] sys_dbg_process_spawn(mc) failed 0x80010005"
The probable cause is that the target is not in debug mode.
0x80010006
This error code means that a file does not exist and all attempts to load it from the host PC will fail. The
corresponding console output is:
"[DA] sys_dbg_process_spawn(mc) failed 0x80010006"
In the Debug Settings option of the XMB™ menu, check that Release Select Modedoes not = Release
Mode. If it doesyou will also see this output from lv2 during boot:
"lv2(2): mounting DUMMYFS in default mount point "/app_home" : OK"
"lv2(2): mounting DUMMYFS in default mount point "/host_root" : OK"
To fix this problem, change the XMB™ menu setting to Development Mode, and reboot, lv2 console
output should change to:
"lv2(2): mounting HOSTFS in default mount point "/app_home" : OK"
"lv2(2): mounting HOSTFS in default mount point "/host_root" : OK"
If after making the change you still have problems loading from ProDG, try exiting from Target Manager
and re-starting it.
0x80010009
This error can happen when trying to load a SELF file from the host PC using the Target Manager load
dialog. The corresponding console output is:
"[DA] sys_dbg_process_spawn(mc) failed 0x80010009"
One possible cause is having a DVD the wrong way up in the Blu-ray Disc drive. Remove the DVD
from the drive and re-insert it the correct way up.
The error can also be caused by trying to load a real (not fake) signed ELF such as mkfs.self or
setmonitor.self in debug mode, when on the XMB™ menu the .self select mode option is set to
Release Mode.
Another cause of this error is loading PS3ToolUpdater.self with Target Manager properties page
Load Options not set to Use Stack Size From ELF and Use Priority Value From ELF (see
"Configuring targets"). There is also a known problem in Target Manager v240.1.20 where the Update
Target Flash option does not correctly use the above load options and causes this error to be
displayed. A workaround for this problem is to load PS3ToolUpdater.self using the normal Target
© SCEI ProDG Target Manager for PlayStation®3 v470.1
- 78 -
User Guide to ProDG Target Manager for PlayStation®3
Troubleshooting
Manger Load ELF dialog. Note that this program relies on the PUP file being called PS3UPDAT.PUP
and being located in the /app_home directory.
0x80028f14
This error will be returned when trying to to install "Game Data" either by the TMAPI function
SNPS3InstallGameEx or the Install option on the Target menu. Only HDD Boot Games are supported. For
further information see "Installing HDD Boot Games from Target Manager".
libgpad.sprx
If you receive the following warning in the console output then it means that you are trying to enable the
RSX Profiling Tool, but do not have the libgpad.sprxfile (or libgcm_hud.sprx/libcapture.sprx for
pre 270 versions) in the specified path.
[TM] DECI3_DRFP_CODE_STAT: C:/usr/local/cell\target\tool\ppu\prx\libgpad.sprx does not
exist!
[TM] DECI3_DRFP_CODE_STAT: C:/usr/local/cell\target\tool\ppu\prx\libgcm_hud.sprx does
not exist!
[TM] DECI3_DRFP_CODE_STAT: C:/usr/local/cell\target\tool\ppu\prx\libcapture.sprx does
not exist!
If you are not intending to enable the RSX Profiling Tool, the option to turn it off can be found under the
Load Options for the target. See "Configuring targets". If you are intending to enable the RSX Profiling
Tool then you must copy libgpad.sprx to the indicated directory.
Application
Refresh status F5
Connect F7
Disconnect CTRL+D
Reset CTRL+R
Copy CTRL+C
Paste CTRL+V
Clear CTRL+L
Go to line CTRL+G
Find CTRL+F
Repeat find F3
Properties CTRL+ENTER
14: Index
0x80010005, 78 Exporting a list of targets, 21
0x80010006, 78 Extra Load Options, 34
0x80010009, 78 Features, 74
0x80028f14, 79 Features and benefits, 6
Accessing targets from your own applications, 6 File Filter pane shortcut menu, 54
Accessing the file system of a target, 60 File menu, 11
Adding a target, 18 File Serving, 33
Adding and removing targets, 18 File serving actions, 55
Adding found targets, 19 File serving view toolbar, 55
Advanced reset mode settings, 24 File Trace, 33
Advanced Reset Settings, 36 File Trace view toolbar, 56
Appendix A: Target Manager keyboard shortcuts, Filtering console output, 47
80 Finding targets on your network, 19
Boot parameters, 37 Finding targets via the Add Target wizard, 21
Browsing image captures, 69 Forcibly disconnecting users from targets, 23
Browsing the target hard disk and managing Formatting a target hard disk from Target Manager,
folders and files, 60 65
Capturing console output data to a file, 44 Game attributes, 38
Changing display settings, 30 General, 33
Changing the reset mode, 24 Getting started with Target Manager, 9
Choosing the file serving port, 53 Help menu, 15
Clearing a console output channel, 48 Image Capture, 36
Closing a named pipe, 58 Importing a list of targets, 22
Command line utility examples, 31 Indeterminate settings, 39
Command-line utility syntax, 29 Installation, 7
Communicating by using named pipes, 57 Installing HDD Boot Games from Target Manager,
Configuring console output, 48 64
Configuring display settings, 41 Introduction, 6
Configuring global preferences, 40 Introduction to the Target Manager API C#
Configuring targets, 32 Wrapper, 76
Configuring targets and global preferences, 32 Kernel Explorer view toolbar, 72
Configuring XMB settings, 39 Launching Target Manager, 9
Connecting to targets, 22 libgpad.sprx, 79
Connecting to the Debugging Station, 74 Limitations, 74
Connection Properties, 33 Load Options, 33
Console Output, 36 Loading and running executable files, 26
Console output channel shortcut menu, 43 Loading from a device, 27
Copy and paste operations in the File Explorer Loading your SELF manually, 26
view, 62 Logging pane shortcut menu, 55
Copying console output to another application, 48 Managing image captures, 69
Customizing a menu command or toolbar button, Managing output channels, 49
16 Managing targets, 18
Customizing menus and toolbars, 16 Managing targets from the command-line, 29
Default Target Settings, 38 Memory Allocation is Performed Internally, 77
DeleteFile() and DeleteFileEx(), 77 Menu bar, 11
Deleting image captures, 69 Modifying file and folder properties, 61
Deleting scan nodes, 20 Modifying permissions, 61
Disconnecting from targets, 23 Modifying time settings, 62
Disconnecting from the target, 31 More help, 31
Error handling, 39 Obtaining GCM video buffer parameters, 70
Excluding folders and files from the transfer, 63 Obtaining image captures, 68
Executing host applications, 59 Opening a named pipe, 57
Exiting Target Manager, 17 Performing a system update, 25