# HG changeset patch # User fturovic # Date 1284561616 18000 # Node ID b622387629d6a054b804375efc32916d3c32f5df # Parent 549473f3167ee2c96f04688da5a43463e833e5b4 changed TRK to CODA in docs except where it related to pre-3.0 versions diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/concepts/concepts.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/concepts.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/concepts.htm Wed Sep 15 09:40:16 2010 -0500 @@ -26,6 +26,7 @@
  • Active Build Configuration
  • Breakpoints
  • Carbide Macros
  • +
  • Carbide On-device Debugging Agent (CODA)
  • Context menu support
  • Emulation Debugging
  • External Builds Support
  • diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/concepts/ngage_projects.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/ngage_projects.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/ngage_projects.htm Wed Sep 15 09:40:16 2010 -0500 @@ -61,7 +61,7 @@

    Once you have an .N-GAGE game file, you need to deploy it on the target device:

    1. Verify that you have a valid developer certificate on the target device given to you by the Nokia R&D Certificate Service. If not, get and install one.
    2. -
    3. Verify that you have Application TRK installed on the target device. If not, install it now using On-Device Connections > New Connection Wizard > Install remote agents pane.
    4. +
    5. Verify that you have Application CODA installed on the target device. If not, install it now using On-Device Connections > New Connection Wizard > Install remote agents pane.
    6. Manually install the .N-GAGE file on the device

    Debugging the Game project

    @@ -69,11 +69,11 @@
    1. Open Window > Preferences > Run/Debug > Launching preference panel and disable the Build (if required) before launching option under the General Options group
    2. Right-click the project and choose Debug As > Debug Configuration to open the Debug Cinfigurations window
    3. -
    4. Create an Symbian OS Application TRK launch configuration +
    5. Create an Symbian OS Application CODA launch configuration
      • In the Connection tab select the COM port used to connect to the device.
      • In the Installation tab, verify that the game SISX file is correct
      • -
      • In the Debug tab, enable the View messges between PC and debug agent on the phone if you want to monitor communications between TRK and Carbide
      • +
      • In the Debug tab, enable the View messages between PC and debug agent on the phone if you want to monitor communications between CODA and Carbide
    6. diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/concepts/registers.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/registers.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/registers.htm Wed Sep 15 09:40:16 2010 -0500 @@ -16,7 +16,7 @@

      General registers

      Registers are the register contents of the central processing unit (CPU) of the host computer or the targeted device. When debugging projects using the emulator, only the host computer x86 registers are visible in the Registers view. When debugging projects on a device, only the target device registers are visible.

      -

      In most cases, the contents of all the registers can be modified. However, when debugging applications on a target device with Application TRK, you cannot change the LR and SP registers.

      +

      In most cases, the contents of all the registers can be modified. However, when debugging applications on a target device with Application CODA, you cannot change the LR and SP registers.

      Figure 1. Registers view with possible register types

      The types of registers can include:

      @@ -36,7 +36,7 @@
    7. R14 is the link register (it is used for storing return addresses in the construction of sub routines)
    8. R15 is the program counter (PC)
    9. -

      In most cases, the contents of all the registers can be modified. However, when debugging applications on a target device with Application TRK, you cannot change the LR, SP, and CPSR registers.

      +

      In most cases, the contents of all the registers can be modified. However, when debugging applications on a target device with Application CODA, you cannot change the LR, SP, and CPSR registers.

      Figure 2 - ARM Registers

      Other references
      diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/concepts/tcf.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/tcf.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/tcf.htm Wed Sep 15 09:40:16 2010 -0500 @@ -10,7 +10,7 @@

      Target Communication Framework (TCF)

      TCF (Target Communication Framework) is a vendor-neutral, lightweight, extensible network protocol used mainly for communicating with embedded systems (targets). Its most distinguishing feature is that TCF is designed to transparently plug in value-adding servers between the tool and the target. TCF is protocol agnostic in that it does not depend on a specific transport like TCP/IP, serial, SSH tunnel, or other. It also supports auto-discovery of targets and services, so any tool can determine which services are available from the target.

      -

      Carbide.c++ uses TCF to communicate with TRK, Trace, and other services on a target device. For example, the Carbide debugger uses TCF to communicate with the TRK remote agent to control debuggable programs running on the target. Other Carbide plug-ins can also use TCF to communicate with their specific services.

      +

      Carbide.c++ uses TCF to communicate with CODA, Trace, and other services on a target device. For example, the Carbide debugger uses TCF to communicate with the CODA remote agent to control debuggable programs running on the target. Other Carbide plug-ins can also use TCF to communicate with their specific services.

      Related tasks
    -

    NEXT: Install TRK remote agent

    +

    NEXT: Install CODA remote agent

    Other references

    NOTE On Symbian OS 9.x builds, if the key/cert pair are not defined, makekeys will be called and temporary ones will be generated for you to "self-sign" the application. Self-signed applications should be in the 0xE0000000-0xEFFFFFFF range.

    -

    NOTE All Application TRK build configuration require a PKG file. If none is found in the active project then you will be asked to choose one.

    +

    NOTE All Application CODA build configuration require a PKG file. If none is found in the active project then you will be asked to choose one.

    Related reference
    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/reference/pref_carb_debugger.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/reference/pref_carb_debugger.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/reference/pref_carb_debugger.htm Wed Sep 15 09:40:16 2010 -0500 @@ -40,7 +40,7 @@ Time interval for auto-refreshing OS View - Determines how often to refresh data in the Symbian OS Data view which is available to the developer when using TRK or stop-mode debugging. + Determines how often to refresh data in the Symbian OS Data view which is available to the developer when using CODA or stop-mode debugging.
    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/reference/trk/importing_remote_conns.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/reference/trk/importing_remote_conns.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/reference/trk/importing_remote_conns.htm Wed Sep 15 09:40:16 2010 -0500 @@ -30,7 +30,7 @@
    Related references
    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/reference/trk/panel_filter.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/reference/trk/panel_filter.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/reference/trk/panel_filter.htm Wed Sep 15 09:40:16 2010 -0500 @@ -35,7 +35,7 @@
    Related concepts
    Related references

    And the supported services may include:

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/reference/trk/wnd_on_device_check_tab.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/reference/trk/wnd_on_device_check_tab.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/reference/trk/wnd_on_device_check_tab.htm Wed Sep 15 09:40:16 2010 -0500 @@ -11,7 +11,7 @@

    Test Connection

    -

    Use the Set Connection Settings pane to compare the version of remote service installed on the device with the latest version available for Carbide. A remote service is any software on the device that can communicate with Carbide. This includes TRK, Trace, Performance Investigator, and other services. In this pane you can:

    +

    Use the Set Connection Settings pane to compare the version of remote service installed on the device with the latest version available for Carbide. A remote service is any software on the device that can communicate with Carbide. This includes CODA, Trace, Performance Investigator, and other services. In this pane you can:

    In addition, an Executables project is created in the Project Explorer view. The binaries shown in the Executables project can be deleted which also removes them from the Executables view. For binaries outside the workspace you must import them into the Executables view so their symbolics can be used during the debug session. You can also drag and drop executables into the view.

    -

    NOTE To debug ROM DLLs with System TRK or in stop mode, always specify the ROM Log file in the project's launch configuration.

    +

    NOTE To debug ROM DLLs with System CODA or in stop mode, always specify the ROM Log file in the project's launch configuration.

    Figure 1 - Executables view

    The Executables view consists of the Executable Name and Source File Name panes describled in the table below. Use the Columns button in the toolbar to show or hide specific columns in each pane. Columns can be sorted and rearranged in the order desired.

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/reference/view_sym_os_data_chunks.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/reference/view_sym_os_data_chunks.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/reference/view_sym_os_data_chunks.htm Wed Sep 15 09:40:16 2010 -0500 @@ -18,12 +18,12 @@
  • Chunks
  • Libraries
  • -

    NOTE Information for the Chunks and Libraries tabs is not available when debugging with the TRK debug agent.

    +

    NOTE Information for the Chunks and Libraries tabs is not available when debugging with the CODA debug agent.


    Chunks

    Chunks are an area of contiguous linear memory. It is the unit of memory allocation where a region of RAM is mapped into contiguous logical addresses. Chunks are allocated during boot for such things as the Kernel's data and stack.

    The Chunks tab (Figure 4) provides a flat list of corresponding kernel objects. The list will display “sortable” attributes of that type of object in columns. The “sortable attribute” means you can sort the list by that attribute. For example, you may want to sort the list by the owning process name. Sort the list of any column by clicking on the column header.

    -

    NOTE Chunks data is not available during TRK debugging.

    +

    NOTE Chunks data is not available during CODA debugging.

    Figure 4. Chunks Pane of Symbian OS View

    Attaching to a Process

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/reference/view_sym_os_data_libs.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/reference/view_sym_os_data_libs.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/reference/view_sym_os_data_libs.htm Wed Sep 15 09:40:16 2010 -0500 @@ -19,11 +19,11 @@
  • Chunks
  • Libraries
  • -

    NOTE Information for the Chunks and Libraries tabs is not available when debugging with the TRK debug agent.

    +

    NOTE Information for the Chunks and Libraries tabs is not available when debugging with the CODA debug agent.


    Libraries Tab

    The Libraries pane (Figure 5) in the Symbian OS view provides information on libraries in the Symbian OS residing on the target.

    -

    NOTE Library data is not available during TRK debugging.

    +

    NOTE Library data is not available during CODA debugging.

    Figure 5. Libraries Pane of Symbian OS view

    Attaching to a Process

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/reference/view_sym_os_data_overview.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/reference/view_sym_os_data_overview.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/reference/view_sym_os_data_overview.htm Wed Sep 15 09:40:16 2010 -0500 @@ -13,9 +13,9 @@

    The Symbian OS Data view displays the processes and threads for the suspended debug session based on the selection in the Debug view. Read-only data is displayed for ARM build configurations. To open the Symbian OS Data view select Window > Show View > Symbian OS Data when the Debug perspective is visible or select Window > Show View > Other..., then expand the Carbide.c++ folder and select Symbian OS Data when the Carbide C/C++ perspective is visible. Click Ok to display the Symbian OS Data window (Figure 1).

    NOTE The Symbian OS Data view works with the debugger and will only display data during a live debug session. The Symbian OS Data view is not supported for emulator debugging, and will not show anything during emulator debug.

    The Symbian OS Data view reveals kernel data in the Symbian OS running on the device being debugged. The kernel data displayed is always that of the device with the currently selected thread or process in Debug view. If you are debugging two devices at the same time, the content of the view will change when focus is switched from a thread on one device to a thread on another device. The kernel data includes more than just processes and threads.

    -

    For the stop mode debugger and the crash debugger, all the data listed above is supported. For the Application and System TRK debuggers, the chunks and libraries views are not supported. The Symbian OS Data view is not supported for the emulator debugger and will show nothing during an emulator debug session. During a stop mode debug session or a TRK debug session, you are able to select a process or a thread in the Symbian OS Data view and attach the debugger to it for source level debugging if the binary is listed in the Executables view. Binaries listed in the Executable view can be source level debugged. Binaries not listed in the Executables view can only be assembly code debugged in the Disassembly view.

    +

    For the stop mode debugger and the crash debugger, all the data listed above is supported. For the Application and System CODA debuggers, the chunks and libraries views are not supported. The Symbian OS Data view is not supported for the emulator debugger and will show nothing during an emulator debug session. During a stop mode debug session or a CODA debug session, you are able to select a process or a thread in the Symbian OS Data view and attach the debugger to it for source level debugging if the binary is listed in the Executables view. Binaries listed in the Executable view can be source level debugged. Binaries not listed in the Executables view can only be assembly code debugged in the Disassembly view.

    NOTE Any executable must be included in the Executables view before it can be debugged.

    -

    When the Time interval for auto-refreshing OS View option is enabled (which is on by default except for crash debugger), the data in the Symbian OS Data view will be auto-refreshed. Note that "auto-refresh" has a different meaning in different debuggers. During a stop mode debug session, the view will refresh data whenever the debugged program on the device is stopped and shows data as stale (greyed out) when the program is running. During a TRK debug session, the View will refresh data at a time interval regardless of whether the debugged program is stopped or not. The time interval is specified by an option in the Carbide.c++ global preference panel, which is five seconds by default.

    +

    When the Time interval for auto-refreshing OS View option is enabled (which is on by default except for crash debugger), the data in the Symbian OS Data view will be auto-refreshed. Note that "auto-refresh" has a different meaning in different debuggers. During a stop mode debug session, the view will refresh data whenever the debugged program on the device is stopped and shows data as stale (greyed out) when the program is running. During a CODA debug session, the View will refresh data at a time interval regardless of whether the debugged program is stopped or not. The time interval is specified by an option in the Carbide.c++ global preference panel, which is five seconds by default.

    When auto-refresh is turned off, the debugger will not automatically refresh data in the View and will show the data as stale (greyed out). However you can manually refresh the data by clicking on the "Refresh" button in the View. Usually you may want to turn off the auto-refresh if you think it is slowing down your debug operations such as stepping.

    Symbian OS Data pages

    @@ -28,7 +28,7 @@
  • Chunks
  • Libraries
  • -

    NOTE Information for the Chunks and Libraries tabs is not available when debugging with the TRK debug agent.

    +

    NOTE Information for the Chunks and Libraries tabs is not available when debugging with the CODA debug agent.

    Overview Tab

    This tab (shown in Figure 1) provides a tree view of ownership of all processes, threads, and chunks in the OS. In contrast, the other tabs provide a flat list of corresponding kernel objects such as process, thread, chunk, library, etc.

    @@ -55,7 +55,7 @@

    Debug process or thread

    -

    Click the Debug button to attach to the process and debug the selected process or thread. Or right-click an item and choose Debug. This applies to both TRK (run mode) and TCF (stop mode).

    +

    Click the Debug button to attach to the process and debug the selected process or thread. Or right-click an item and choose Debug. This applies to both CODA (run mode) and TCF (stop mode).

    @@ -88,12 +88,12 @@

    Chunks

    Chunks are an area of contiguous linear memory. It is the unit of memory allocation where a region of RAM is mapped into contiguous logical addresses. Chunks are allocated during boot for such things as the Kernel's data and stack.

    The Chunks tab (Figure 4) provides a flat list of corresponding kernel objects. The list will display “sortable” attributes of that type of object in columns. The “sortable attribute” means you can sort the list by that attribute. For example, you may want to sort the list by the owning process name. Sort the list of any column by clicking on the column header.

    -

    NOTE Chunks data is not available during TRK debugging.

    +

    NOTE Chunks data is not available during CODA debugging.

    Figure 4. Chunks Pane of Symbian OS View

    Libraries Tab

    The Libraries pane (Figure 5) in the Symbian OS view provides information on libraries in the Symbian OS residing on the target.

    -

    NOTE Library data is not available during TRK debugging.

    +

    NOTE Library data is not available during CODA debugging.

    Figure 5. Libraries Pane of Symbian OS View

    Attaching to a Process

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/reference/view_symbian_kernel.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/reference/view_symbian_kernel.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/reference/view_symbian_kernel.htm Wed Sep 15 09:40:16 2010 -0500 @@ -13,9 +13,9 @@

    The Symbian OS Data view displays the processes and threads for the suspended debug session based on the selection in the Debug view. Read-only data is displayed for ARM build configurations. To open the Symbian OS Data view select Window > Show View > Symbian OS Data when the Debug perspective is visible or select Window > Show View > Other..., then expand the Carbide.c++ folder and select Symbian OS Data when the Carbide C/C++ perspective is visible. Click Ok to display the Symbian OS Data window (Figure 1).

    NOTE The Symbian OS Data view works with the debugger and will only display data during a live debug session. The Symbian OS Data view is not supported for emulator debugging, and will not show anything during emulator debug.

    The Symbian OS Data view reveals kernel data in the Symbian OS running on the device being debugged. The kernel data displayed is always that of the device with the currently selected thread or process in Debug view. If you are debugging two devices at the same time, the content of the view will change when focus is switched from a thread on one device to a thread on another device. The kernel data includes more than just processes and threads.

    -

    For the stop mode debugger and the crash debugger, all the data listed above is supported. For the Application and System TRK debuggers, the chunks and libraries views are not supported. The Symbian OS Data view is not supported for the emulator debugger and will show nothing during an emulator debug session. During a stop mode debug session or a TRK debug session, you are able to select a process or a thread in the Symbian OS Data view and attach the debugger to it for source level debugging if the binary is listed in the Executables view. Binaries listed in the Executable view can be source level debugged. Binaries not listed in the Executables view can only be assembly code debugged in the Disassembly view.

    +

    For the stop mode debugger and the crash debugger, all the data listed above is supported. For the Application and System CODA debuggers, the chunks and libraries views are not supported. The Symbian OS Data view is not supported for the emulator debugger and will show nothing during an emulator debug session. During a stop mode debug session or a CODA debug session, you are able to select a process or a thread in the Symbian OS Data view and attach the debugger to it for source level debugging if the binary is listed in the Executables view. Binaries listed in the Executable view can be source level debugged. Binaries not listed in the Executables view can only be assembly code debugged in the Disassembly view.

    NOTE Any executable must be included in the Executables view before it can be debugged.

    -

    When the Time interval for auto-refreshing OS View option is enabled (which is on by default except for crash debugger), the data in the Symbian OS Data view will be auto-refreshed. Note that "auto-refresh" has a different meaning in different debuggers. During a stop mode debug session, the view will refresh data whenever the debugged program on the device is stopped and shows data as stale (greyed out) when the program is running. During a TRK debug session, the View will refresh data at a time interval regardless of whether the debugged program is stopped or not. The time interval is specified by an option in the Carbide.c++ global preference panel, which is five seconds by default.

    +

    When the Time interval for auto-refreshing OS View option is enabled (which is on by default except for crash debugger), the data in the Symbian OS Data view will be auto-refreshed. Note that "auto-refresh" has a different meaning in different debuggers. During a stop mode debug session, the view will refresh data whenever the debugged program on the device is stopped and shows data as stale (greyed out) when the program is running. During a CODA debug session, the View will refresh data at a time interval regardless of whether the debugged program is stopped or not. The time interval is specified by an option in the Carbide.c++ global preference panel, which is five seconds by default.

    When auto-refresh is turned off, the debugger will not automatically refresh data in the View and will show the data as stale (greyed out). However you can manually refresh the data by clicking on the "Refresh" button in the View. Usually you may want to turn off the auto-refresh if you think it is slowing down your debug operations such as stepping.

    Symbian OS Data pages

    @@ -28,7 +28,7 @@
  • Chunks
  • Libraries
  • -

    NOTE Information for the Chunks and Libraries tabs is not available when debugging with the TRK debug agent.

    +

    NOTE Information for the Chunks and Libraries tabs is not available when debugging with the CODA debug agent.

    Overview Tab

    This tab (shown in Figure 1) provides a tree view of ownership of all processes, threads, and chunks in the OS. In contrast, the other tabs provide a flat list of corresponding kernel objects such as process, thread, chunk, library, etc.

    @@ -55,7 +55,7 @@

    Debug process or thread

    -

    Click the Debug button to attach to the process and debug the selected process or thread. Or right-click an item and choose Debug. This applies to both TRK (run mode) and TCF (stop mode).

    +

    Click the Debug button to attach to the process and debug the selected process or thread. Or right-click an item and choose Debug. This applies to both CODA (run mode) and TCF (stop mode).

    @@ -88,12 +88,12 @@

    Chunks

    Chunks are an area of contiguous linear memory. It is the unit of memory allocation where a region of RAM is mapped into contiguous logical addresses. Chunks are allocated during boot for such things as the Kernel's data and stack.

    The Chunks tab (Figure 4) provides a flat list of corresponding kernel objects. The list will display “sortable” attributes of that type of object in columns. The “sortable attribute” means you can sort the list by that attribute. For example, you may want to sort the list by the owning process name. Sort the list of any column by clicking on the column header.

    -

    NOTE Chunks data is not available during TRK debugging.

    +

    NOTE Chunks data is not available during CODA debugging.

    Figure 4. Chunks Pane of Symbian OS View

    Libraries Tab

    The Libraries pane (Figure 5) in the Symbian OS view provides information on libraries in the Symbian OS residing on the target.

    -

    NOTE Library data is not available during TRK debugging.

    +

    NOTE Library data is not available during CODA debugging.

    Figure 5. Libraries Pane of Symbian OS View

    Attaching to a Process

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/release_notes.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/release_notes.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/release_notes.htm Wed Sep 15 09:40:16 2010 -0500 @@ -30,6 +30,9 @@ changes making the tools unusable!

    What's New in 3.0.0

    The following features for Symbian development are provided within Carbide.c++:

    +

    Milestone 2

    -

    Once you've setup your environment, its time to verify that the TRK agent is on the phone or target device.

    +

    Once you've setup your environment, its time to verify that the CODA agent is on the phone or target device.

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_05.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_05.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_05.htm Wed Sep 15 09:40:16 2010 -0500 @@ -18,7 +18,7 @@
  • Setup a virtual drive for Techview and Cust Kits
  • Set the default kit in Devices.xml
  • Install the SISX file on the target device
  • -
  • Configure TRK connection on the device
  • +
  • Configure CODA connection on the device
  • Create a launch configuration
  • diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_06.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_06.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_06.htm Wed Sep 15 09:40:16 2010 -0500 @@ -18,15 +18,15 @@
  • Setup a virtual drive for Techview and Cust Kits
  • Set the default kit in Devices.xml
  • Install the SISX file on the target device
  • -
  • Configure TRK connection on the device
  • +
  • Configure CODA connection on the device
  • Create a launch configuration
  • Install the SISX File on the Target Device

    -

    The on-device debug agent is delivered to the target device as a SISX file. There are two versions of TRK: Application TRK and System TRK.

    +

    The on-device debug agent is delivered to the target device as a SISX file. There are two versions of CODA: Application CODA and System CODA.

      -
    • Application TRK— supports application debugging only and available to developers creating applications for devices. Developers do not have access to system level routines, system ROM, and other user application code. User cannot modify the LR and SR registers, and must use a SIS file to debug an application.
    • -
    • System TRK— supports both application and limited ROM debugging; including application executables and limited ROM based components (no device drivers). Also available to original equipment manufacturers (OEMs) for device creation and customization.
    • +
    • Application CODA— supports application debugging only and available to developers creating applications for devices. Developers do not have access to system level routines, system ROM, and other user application code. User cannot modify the LR and SR registers, and must use a SIS file to debug an application.
    • +
    • System CODA— supports both application and limited ROM debugging; including application executables and limited ROM based components (no device drivers). Also available to original equipment manufacturers (OEMs) for device creation and customization.

    The following SISX file is officially signed by Nokia: s60_3_0_app_trk_2_6_nokia_signed.sisx

    @@ -41,12 +41,12 @@
  • On the device you will be prompted to enter the same PIN code. Enter PIN code.
  • The device will then ask you to accept the connection request from the PC. Press OK.
  • The OBEX folder on the PC should now be available.

    -
  • Drop the TRK SISX file into the folder
  • +
  • Drop the CODA SISX file into the folder
  • The device will prompt you to accept the connection request from the PC. Press OK.
  • The SISX file should then transfer from the PC to the device
  • Navigate to where the SISX file was placed
  • If you dropped it into the OBEX folder it will be in Applications > Messages > Inbox. If you dropped it into the C folder it will be in Applications > Utilities >FileBrowse > C.

    -
  • Select the TRK SISX file on the device to install the TRK debug agent.
  • +
  • Select the CODA SISX file on the device to install the CODA debug agent.
  • Installing using PC Suite
      diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_07.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_07.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_07.htm Wed Sep 15 09:40:16 2010 -0500 @@ -22,20 +22,20 @@
    1. Create a launch configuration
    -

    Configure TRK Connection on the Device

    +

    Configure CODA Connection on the Device

    Connecting with Bluetooth
    1. On the device make sure the Bluetooth port is turned on
    2. -
    3. On the phone launch TRK.
    4. -

      The location of the TRK on-device debug agent will vary based on the phone. On some phones it will be in the Installed folder, on others it may be in the My Own folder.

      -
    5. TRK will ask which host you want to pair with. When requested, select your computer from the available Bluetooth devices list.
    6. -
    7. After the host and phone are paired, TRK should be connected. Verify that TRK is running.
    8. +
    9. On the phone launch CODA.
    10. +

      The location of the CODA on-device debug agent will vary based on the phone. On some phones it will be in the Installed folder, on others it may be in the My Own folder.

      +
    11. CODA will ask which host you want to pair with. When requested, select your computer from the available Bluetooth devices list.
    12. +
    13. After the host and phone are paired, CODA should be connected. Verify that CODA is running.
    14. On the PC:
      1. Right click on the Bluetooth icon in the System tray and select Advanced Configuration
      2. Click the Local Services tab
      3. Write down the Bluetooth COM Port number from the Local Services tab (Figure 1).
      4. -

        The Port number will be used when configuring the TRK launch configuration. The Bluetooth COM Port number in the Local Services tab should match the COM port used in the Connections tab of the TRK launch configuration.

        +

        The Port number will be used when configuring the CODA launch configuration. The Bluetooth COM Port number in the Local Services tab should match the COM port used in the Connections tab of the CODA launch configuration.

      5. Click OK to close the Bluetooth Configuration window
      6. Figure 1. Bluetooth Configuration windows Local Services panel

        @@ -47,12 +47,12 @@
        1. Connect the USB cable to the PC and then to the target device
        2. On the device select PC suite from the USB mode list
        3. -
        4. Launch the TRK agent
        5. -

          The location of the TRK on-device debug agent will vary based on the phone. On some phones it will be in the Installed folder, on others it may be in My Own folder.

          +
        6. Launch the CODA agent
        7. +

          The location of the CODA on-device debug agent will vary based on the phone. On some phones it will be in the Installed folder, on others it may be in My Own folder.

        8. Halt the Bluetooth device search by pressing Cancel
        9. Click Options > Settings > Connection
        10. Change Connection type to USB and set connection options (Figure 2)
        11. -
        12. Select Back and start the TRK again and you should be connected
        13. +
        14. Select Back and start the CODA again and you should be connected
        15. Figure 2. USB Connection Settings

        16. On the PC
        17. @@ -65,7 +65,7 @@

          Figure 3. Device Manager - Ports

        18. Write down the port ID and Communication Port Properties.
        19. -

          The COM Port number in the Device Manager window should match the COM port used in the Connections tab of the TRK launch configuration.

          +

          The COM Port number in the Device Manager window should match the COM port used in the Connections tab of the CODA launch configuration.

        20. Close the Device Manager window
      diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_08.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_08.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_08.htm Wed Sep 15 09:40:16 2010 -0500 @@ -31,8 +31,8 @@

      To communicate between the Carbide.c++ debugger and the on-device debug agent or protocol interface you must define a debug launch configuration. The Debug window is where you define the type of debug launch configuration to use when debugging programs on the target device (Figure 4).

      Figure 4. Debug Window

      -
    15. Select either a Symbian OS Application TRK or Symbian OS System TRK configuration type for on-device debugging and click New
    16. -

      For debug launch configurations using the TRK debug agent, the following pages require review and possible option settings:

      +
    17. Select either a Symbian OS Application CODA or Symbian OS System CODA configuration type for on-device debugging and click New
    18. +

      For debug launch configurations using the CODA debug agent, the following pages require review and possible option settings:

      • Main - defines the project to be launched on the target device
      • Arguments (Eclipse) - defines the arguments to be passed to the application and to the virtual machine
      • @@ -86,8 +86,8 @@ View messages between Carbide and debug agent -

        When checked, show the communications between the PC and the target device in a Console view when the TRK Communciation message log is visible.

        -

        NOTE You can pin the TRK Communication message log view so that it does not lose focus.

        +

        When checked, show the communications between the PC and the target device in a Console view when the CODA Communciation message log is visible.

        +

        NOTE You can pin the CODA Communication message log view so that it does not lose focus.

        Message retry delay (ms) @@ -105,7 +105,7 @@
        Connection Tab
        -

        Select the Connection tab that is available for TRK. Specify the Serial port for your configuration. The Connection pane specifies the method used to transfer files to the target device. Once the Current Connection to Target type is selected, the remaining options contain default values for the specific connection type. You can change these options to match the target device's communication specifications.

        +

        Select the Connection tab that is available for CODA. Specify the Serial port for your configuration. The Connection pane specifies the method used to transfer files to the target device. Once the Current Connection to Target type is selected, the remaining options contain default values for the specific connection type. You can change these options to match the target device's communication specifications.

        Figure 7. Debug windows Connection pane using PC Suite

        Table 3. Connection pane

        @@ -145,7 +145,7 @@
        Installation Tab
        -

        For Application TRK select the Installation tab. The Installation pane specifies the .sis file to install on the target device. This is used by Application TRK because Application TRK downloads all files via a SIS file. This is required when using the TRK debug agent with 9.x based SDK’s.

        +

        For Application CODA select the Installation tab. The Installation pane specifies the .sis file to install on the target device. This is used by Application CODA because Application CODA downloads all files via a SIS file. This is required when using the CODA debug agent with 9.x based SDK’s.

        Figure 8. Debug windows Installation pane

        Table 4. Installation pane

        @@ -176,8 +176,8 @@
        File Transfer Tab
        -

        For System TRK select the File Transfer pane. The File Transfer pane displays a list of files the Carbide IDE transfers to the target device at the start of each launch. By default, any file added is automatically checked for downloading to the device.

        -

        NOTE If debugging a DLL from an application and using System TRK, ensure that the DLL is included so that it is deployed to the device with the application. It is not added by default.

        +

        For System CODA select the File Transfer pane. The File Transfer pane displays a list of files the Carbide IDE transfers to the target device at the start of each launch. By default, any file added is automatically checked for downloading to the device.

        +

        NOTE If debugging a DLL from an application and using System CODA, ensure that the DLL is included so that it is deployed to the device with the application. It is not added by default.

        Figure 9. Debug windows File Transfer pane

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/processes/attach_to_process.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/processes/attach_to_process.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/processes/attach_to_process.htm Wed Sep 15 09:40:16 2010 -0500 @@ -13,7 +13,7 @@

    Use a Symbian OS Attach to Process launch configuration to attach the debugger to an already running Symbian OS process or thread on a target device. This is useful for debugging DLLs where the main process is unknown or for servers running in RAM in a client-server relationship where the client relies on the presence of the server process to operate.

    One common debugging DLL use case is when the developer doesn't know which process calls the DLL. This makes it difficult to debug the DLL because you doesn't know which process to attach to nor start. Carbide enables DLL debugging by simply attaching the DLL to any running process as long as the DLL is included in the Executables view.

    You can also attach to a process in the Symbian OS Data view when debugging.

    -

    NOTE You cannot attach to a process running on the emulator. It must be a target device running the Symbian OS and the TRK debug agent.

    +

    NOTE You cannot attach to a process running on the emulator. It must be a target device running the Symbian OS and the CODA debug agent.

    When attempting to find a process the debugger uses the UID3 to locate the process.

    Attaching to any Running Process

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_creating_sis_file.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_creating_sis_file.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_creating_sis_file.htm Wed Sep 15 09:40:16 2010 -0500 @@ -30,7 +30,7 @@ SIS Builder

    Use the Add control to add one or more SIS or PKG files to the project up to the maximum number Carbide supports. Note that the SIS Builder pane operates on a build configuration level. You will need to add files in this pane for every build configuration in the project.

    -

    In addition, any PKG file added here is picked up by the Installation tab in Application TRK configurations. However, as only one SIS file can be debugged at a time you must specify which SIS/PKG file to install for debugging purposes. This is handy if you have both a developer SIS file and a certified SIS file that you want to remain in sync during development. Both are always built but you only need to debug one.

    +

    In addition, any PKG file added here is picked up by the Installation tab in Application CODA configurations. However, as only one SIS file can be debugged at a time you must specify which SIS/PKG file to install for debugging purposes. This is handy if you have both a developer SIS file and a certified SIS file that you want to remain in sync during development. Both are always built but you only need to debug one.

    Figure 1 - SIS Builder tab

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_debug_rom.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_debug_rom.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_debug_rom.htm Wed Sep 15 09:40:16 2010 -0500 @@ -9,13 +9,13 @@

    Debugging in ROM

    -

    You will see symbolic information for other components when you are debugging in ROM using System TRK if those components were built with symbolic information and the ROM Log file is specified. If a function in the stack crawl is in a ROM module and the IDE is able to find a file containing symbolic information for that module, the IDE will load it automatically and display function names. The IDE will also allow source level debugging and let you set breakpoints in this module.

    +

    You will see symbolic information for other components when you are debugging in ROM using System CODA if those components were built with symbolic information and the ROM Log file is specified. If a function in the stack crawl is in a ROM module and the IDE is able to find a file containing symbolic information for that module, the IDE will load it automatically and display function names. The IDE will also allow source level debugging and let you set breakpoints in this module.

    Some issues to pay attention to when debugging include:

      -
    • In System TRK you must specify the ROM log file in the ROM Log tab of the TRK or Attach to Process launch configurations
    • +
    • In System CODA you must specify the ROM log file in the ROM Log tab of the CODA or Attach to Process launch configurations
    -

    NOTE You cannot debug ROM DLLs using Application TRK.

    +

    NOTE You cannot debug ROM DLLs using Application CODA.

    diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/working_with_sis_pkg_files.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/working_with_sis_pkg_files.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/projects/working_with_sis_pkg_files.htm Wed Sep 15 09:40:16 2010 -0500 @@ -9,7 +9,7 @@

    Creating a PKG File

    -

    After creating a project for the application you are developing for a device, you will need to create a .pkg file if you are using Application TRK. A .pkg file contains all the files that will need to be downloaded to the device. Once a .pkg file is available, you can add it to a project, and the IDE will use it and additional information entered in the SIS Builder pane to create an application's .sis installation file. By default, when creating a project, the .pkg file is located in the project's sis folder.

    +

    After creating a project for the application you are developing for a device, you will need to create a .pkg file if you are using Application CODA. A .pkg file contains all the files that will need to be downloaded to the device. Once a .pkg file is available, you can add it to a project, and the IDE will use it and additional information entered in the SIS Builder pane to create an application's .sis installation file. By default, when creating a project, the .pkg file is located in the project's sis folder.

    A minimal .pkg file consists of the following lines:

    • Header — provides the following information on a single line: diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/start/carbide_example_trk.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/start/carbide_example_trk.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/start/carbide_example_trk.htm Wed Sep 15 09:40:16 2010 -0500 @@ -9,10 +9,10 @@ -

      Run Mode Debug Example (Application TRK)

      -

      This example shows how to create and build an application and debug it on a device using the Application TRK on-device debug agent. The majority of steps are identical to the ones used to create a program and debug in an emulator, with some minor variations.

      +

      Run Mode Debug Example (Application CODA)

      +

      This example shows how to create and build an application and debug it on a device using the Application CODA on-device debug agent. The majority of steps are identical to the ones used to create a program and debug in an emulator, with some minor variations.

      -

      Debugging a Run-mode Project using Application TRK

      +

      Debugging a Run-mode Project using Application CODA

      1. Import the Bld.inf to create a project using the Import wizard
      2. In this example we are importing a project called Music, a complex project that includes several EXEs (MusicPlayer, MusicShop, MusicVisualizer). For the import, we select an ARM target.

        @@ -24,21 +24,21 @@

        In this example we will set one breakpoint in two different EXEs. The first is set in the file called MCEngine.cpp (MCServer.exe) and the second is set in MPlayerAppUI.cpp (MusicPlayer.exe).

      3. Click the Debug icon () to launch the New Launch Configuration wizard
          -
        1. Select the Application TRK Launch Configuration from the Launch Types page, then click Next
        2. +
        3. Select the Application CODA Launch Configuration from the Launch Types page, then click Next
        4. Figure 1 - Launch Types page showing selection

        5. If you have more than one executable, select the Main Executable in the Executable Selection page of the wizard, then click Next
        6. For this example we select the musicplayer.exe as the main executable.

          Figure 2 - Executable Selection page showing selection

          -
        7. Select the remote connection to use in the TRK Connection Settings page, then click Next
        8. +
        9. Select the remote connection to use in the CODA Connection Settings page, then click Next
        10. -

          Figure 3 - TRK Connection Settings page showing selection

          -
        11. Select the SIS file to install in the TRK SIS Selection page if not already populated
        12. +

          Figure 3 - CODA Connection Settings page showing selection

          +
        13. Select the SIS file to install in the CODA SIS Selection page if not already populated

        -

        Figure 4 - TRK Connection Settings page showing selection

        +

        Figure 4 - CODA Connection Settings page showing selection

        1. Click Finish
        2. diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/start/carbide_overview_trk.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/start/carbide_overview_trk.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/start/carbide_overview_trk.htm Wed Sep 15 09:40:16 2010 -0500 @@ -10,7 +10,7 @@

          Run Mode Overview

          -

          This example shows how to create and build an application and debug it on a device using the Application TRK on-device debug agent. Click this link to the HelloCarbide cheatsheet that provides links to detailed steps. The majority of steps are identical to the ones used to create a program and debug in an emulator, with some minor variations.

          +

          This example shows how to create and build an application and debug it on a device using the Application CODA on-device debug agent. Click this link to the HelloCarbide cheatsheet that provides links to detailed steps. The majority of steps are identical to the ones used to create a program and debug in an emulator, with some minor variations.

          See the Run Mode Debug Example for a walkthrough of the following steps which include:

          1. Verify that your SDK or customer kit is recognized in the Symbian SDKs panel.
          2. @@ -18,14 +18,14 @@
          3. Verify that all the symbolics for the binaries are visible in the Executables view
          4. Manage the project's PKG file, being sure to:
              -
            • Create a PKG file for the application (if using Application TRK)
            • +
            • Create a PKG file for the application (if using Application CODA)
            • Include the PKG file as part of the project in the SIS Builder pane of your project Properties
            • Specify application keys (if not a self-signing application) in the SIS Properties dialog
          5. Build the project using a target for on-device build configuration (GCCE or ARM)
          6. -
          7. Start the TRK on-device debug agent on the device
          8. -
          9. Create a Symbian OS Application TRK launch configuration to provide additional information to the debugger
          10. +
          11. Start the CODA on-device debug agent on the device
          12. +
          13. Create a Symbian OS Application CODA launch configuration to provide additional information to the debugger
          14. Launch the debugger to interactively control the program on the device

          NOTE Carbide will install the SISX file on the device prior to launching the debugger.

          diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_carbide_setup.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_carbide_setup.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_carbide_setup.htm Wed Sep 15 09:40:16 2010 -0500 @@ -9,32 +9,32 @@

          Launch Configuration Setup

          -

          To communicate between the Carbide.c++ debugger and the on-device debug agent, using either Application TRK or System TRK, you must define a debug launch configuration that matches the installed debug agent. The two configurations available include:

          +

          To communicate between the Carbide.c++ debugger and the on-device debug agent, using either Application CODA or System CODA, you must define a debug launch configuration that matches the installed debug agent. The two configurations available include:

            -
          • Symbian OS Appication TRK— used to run or debug applications on a target device using the Application TRK on-device debug agent. Application TRK is an application that runs on released phones and allows you to debug your executables. The debugger will download a Symbian OS installation file to the phone and install it prior to launching.
          • -
          • Symbian OS System TRK (not available in the Developer Edition) —used to run or debug applications or ROM code on a target device using the System TRK on-device debug agent. System TRK is an application that runs on reference boards and prototype phones and allows you to debug your executables. The debugger will download files to the phone prior to launching.
          • +
          • Symbian OS Appication CODA— used to run or debug applications on a target device using the Application CODA on-device debug agent. Application CODA is an application that runs on released phones and allows you to debug your executables. The debugger will download a Symbian OS installation file to the phone and install it prior to launching.
          • +
          • Symbian OS System CODA (not available in the Developer Edition) —used to run or debug applications or ROM code on a target device using the System CODA on-device debug agent. System CODA is an application that runs on reference boards and prototype phones and allows you to debug your executables. The debugger will download files to the phone prior to launching.

          By default, you can click the Debug icon () in the toolbar to launch the New Launch Configuration Wizard. This creates a launch configuration for the project based on project information and any additional input required, like COM port selection. It is the recommended method for creating new launch configurations. Or, use the Debug window to create a customized launch configuration.

          -

          Figure 1. Debug launch configuration for on-device debugging (Application TRK shown)

          +

          Figure 1. Debug launch configuration for on-device debugging (Application CODA shown)

          Defining a Customized Launch Configuration

          1. Choose the Run > Debug As menu item
          2. The Debug window appears.

          3. Select a Configuration type for on-device debugging and click New
          4. -

            Choose the Symbian OS Application TRK or System TRK configuration based on which debug agent is installed on the device, then click New. A new debug launch configuration appears in the Configuration list and the Main tab appears.

            +

            Choose the Symbian OS Application CODA or System CODA configuration based on which debug agent is installed on the device, then click New. A new debug launch configuration appears in the Configuration list and the Main tab appears.

          5. Enter the required information
          6. -

            For debug launch configurations using the TRK debug agent, the following pages require review and possible option settings:

            +

            For debug launch configurations using the CODA debug agent, the following pages require review and possible option settings:

            • Main— defines the project to be launched on the target device
            • Arguments — enter command line build system arguments
            • Debugger— provides control over entry points, message handling, and instruction set default settings
            • Connection— specifies the method used to transfer files to the target device
            • File Transfer — the files transfered to the target device at the start of each launch
            • -
            • Installation (Application TRK only)— specifies the .sis or .pkg file to install on the target device
            • +
            • Installation (Application CODA only)— specifies the .sis or .pkg file to install on the target device
            • Executables — specifies the executables to be debugged
            • -
            • ROM Log (System TRK only) — specifies the executables to be debugged
            • +
            • ROM Log (System CODA only) — specifies the executables to be debugged
          7. Click Debug
          8. The Debug window closes and the Carbide.c++ debugger begins a debugging session using the new configuration. The next time you click the Debug icon, this debug launch configuration is used to start a debug session.

            diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_connection_bluetooth.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_connection_bluetooth.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_connection_bluetooth.htm Wed Sep 15 09:40:16 2010 -0500 @@ -9,7 +9,7 @@

            Bluetooth Connection Setup

            -

            The on-device debug agent software supports the use of Bluetooth to debug programs running on a target device. To enable communication with a Bluetooth device, a connection must be established between the PC and the device. The on-device debug agent requires a dedicated COM port in order to talk with the device. In some cases, other programs that use the same COM port number will interfere with the TRK debug agent, essentially "fighting" over control of the COM port. Follow the steps below to setup a Bluetooth connection with the Bluetooth enabled device.

            +

            The on-device debug agent software supports the use of Bluetooth to debug programs running on a target device. To enable communication with a Bluetooth device, a connection must be established between the PC and the device. The on-device debug agent requires a dedicated COM port in order to talk with the device. In some cases, other programs that use the same COM port number will interfere with the CODA debug agent, essentially "fighting" over control of the COM port. Follow the steps below to setup a Bluetooth connection with the Bluetooth enabled device.

            NOTE Ensure that no other program has commandeered the Bluetooth connection. For example, some phone connectivity programs will not release a COM port unless specifically told to do so.

            NOTE Most problems with on-target debugging setup occur here, so be careful when performing each of these steps.

            @@ -27,12 +27,12 @@

            Figure 1. Bluetooth Configuration windows Accessibility panel

          9. Write down the Bluetooth COM Port number from the Local Services tab (Figure 2) for later use
          10. The Bluetooth COM Port number in the Local Services tab - should match the COM port used in the Connections tab of the TRK launch
            + should match the COM port used in the
            Connections tab of the CODA launch
            configuration
            .

            Figure 2. Bluetooth Configuration windows Local Services panel

          11. Click OK to close the Bluetooth Configuration window
          12. -
          13. Download the Application TRK or System TRK SISX file to the device
          14. +
          15. Download the Application CODA or System CODA SISX file to the device
          Related concepts
          diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_install_bluetooth.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_install_bluetooth.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_install_bluetooth.htm Wed Sep 15 09:40:16 2010 -0500 @@ -9,7 +9,7 @@

          Installing On-device Debug Agents using Bluetooth

          -

          Use Bluetooth to install the on-device debug agent, either Application TRK or System TRK, as a SISX file, to enable on-target debugging. The installation location of the on-device debug agent will vary based on the phone. Application TRK is usable on both consumer and RnD versions of the device. System TRK is only usable on RnD devices.

          +

          Use Bluetooth to install the on-device debug agent, either Application CODA or System CODA, as a SISX file, to enable on-target debugging. The installation location of the on-device debug agent will vary based on the phone. Application CODA is usable on both consumer and RnD versions of the device. System CODA is only usable on RnD devices.

          On some phones it will be the Installed folder, on others it may be in My Own folder. Refer to the documentation that came with the phone to learn where installed programs are stored.

          NOTE The following example shows how to install the SISX file from a PC running Windows XP SP2 using an internal Bluetooth device. The actions to install the SISX file may be different on your version of Windows. Refer to the OS documentation for information on transferring a file via a Bluetooth connection.

          @@ -27,8 +27,8 @@
        3. Locate the new message on the target device
        4. Start the Messaging application on the target device and locate the new message.

        5. Select the SISx file and open the file to install it
        6. -
        7. Click OK when prompted to install TRK
        8. -
        9. Follow the instructions on the screen to finish installing the TRK debug agent
        10. +
        11. Click OK when prompted to install CODA
        12. +
        13. Follow the instructions on the screen to finish installing the CODA debug agent
      Related concepts
      diff -r 549473f3167e -r b622387629d6 core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_install_pcsuite.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_install_pcsuite.htm Wed Sep 15 09:33:14 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/trk/trk_install_pcsuite.htm Wed Sep 15 09:40:16 2010 -0500 @@ -9,7 +9,7 @@

      Installing On-device Debug Agents using PC Suite

      -

      Use the PC Suite software that came with your device (Nokia PC Suite is one example) to install the on-device debug agent, either Application TRK or System TRK, as a SISX file, to enable on-device debugging. Application TRK is usable on both consumer and RnD versions of the device. System TRK is only usable on RnD devices.

      +

      Use the PC Suite software that came with your device (Nokia PC Suite is one example) to install the on-device debug agent, either Application CODA or System CODA, as a SISX file, to enable on-device debugging. Application CODA is usable on both consumer and RnD versions of the device. System TRK is only usable on RnD devices.

      The installation location of the on-device debug agent software varies based on the phone. On some phones it will be the Installed folder, on others it may be in My Own folder. Refer to the documentation that came with the phone to learn where installed programs are stored.

      Using PC Suite you can install any TRK debug agent on the device using a Bluetooth or USB connection.

      NOTE You can use the connection software that came with your device to install the on-device debug agent SISX file. See your phone's operating manual for assistance on using it's software.