RobotStudio event

Debugging the FlexPendant device in RAB 5.11

How to set up and use the Visual Studio debugger to debug a FP SDK app that is executing on the real FlexPendant device is described in the User's Guide, but only if you are using Visual Studio 2005 SP1.

 

To debug on the FlexPendant with another version of Visual Studio than VS 2005 SP1, you need to follow the procedure below, which is specific for RobotWare 5.11. (It does not apply to earlier versions of RW.)

Visual Studio (both VS 2005 and VS 2008) uses the "Core Connectivity" (corecon) to connect to a device.
The corecon files are typically located in the folder "C:Program FilesCommon FilesMicrosoft SharedCoreCon1.0".
In order to enable a connection to a device, the version of these files must match the ones used by the device (FlexPendant).

To make sure the FlexPendant will use the files that match the installation on your PC, you need to do the following.

All files in ONE of these folders

"C:Program FilesCommon FilesMicrosoft SharedCoreCon1.0Targetwce400armv4i" (for SxTPU2)
"C:Program FilesCommon FilesMicrosoft SharedCoreCon1.0Targetwce400armv4" (for SxTPU1)

should be copied to a directory

"/hd0a/temp/corecon"

on the robot controller. You need to create it, since it normally doesn't exist.

Make sure you copy the files that correspond to the version of the FlexPendant you are using.

Restart the FlexPendant. The FlexPendant will upload and use these files.
If this directory does not exist on the controller, the FlexPendant will use the default files, that is the files installed by VS 2005 SP1.

Note!
You only need to do this once, but you must remember to update the files if you change the version of the FlexPendant or if the files are updated.
The corecon files are updated if you install Visual Studio 2008.
This means that in the case that you have VS 2008 and VS 2005 installed side by side on your PC, you need to follow the above procedure.

Best regards,

Ingela Brorsson
Software Engineer
ABB Robotics, Sweden

Comments

  • thx for remarking this

  • [QUOTE=Ingela]

    should be copied to a directory

    "/hd0a/temp/corecon"

    on the robot controller. You need to create it, since it normally doesn't exist.

    [/QUOTE]
     
    Which directory on which robot controller do you mean? Is it where I installed my RobotStudio or where the dll-Files are been copied ( the FlexPendant folder ) ?
     
    Thanks,
    Jay