Remote Debugging SDK as Downloadable Kernel Module
Posted: 04 Jun 2013, 15:35
Requirements
- Unified Automation SDK with vxWorks platform
- CMake (> 2.8.0)
- vxWorks + WindRiver Workbench
- FileZilla
- First you have to compile the SDK as Downloadable Kernel Module. The correct way to do this can be found here:
- Compiling the SDK for vxWorks as Downloadable Kernel Module
- Start the WindRiver Workbench and locate the "Remote Systems" tab on the lower left side of the Workbench.
- Do a right click in this tab and select under "New Connection" the option "VxWorks 6.x->Wind River VxWorks 6.x Target Server Connection".
- Set the option "Backend" to wdbrpc and add the correct remote address to the "Target name or address".
- In the section "Kernel image" select the Kernel file via browsing and check the option "Bypass checksum comparison" (this is only for avoiding errors).
- Click on Finish and connect to the remote system.
- Locate the "Bug-symbol" on the upper symbole panel of the Workbench and click on the arrow to select the option "Debug Configurations".
- Select the "VxWorks Kernel Task" and double click on it - a new entry point will be generated.
- In the "General" section on the right side add the starting entry point (typically the main function of the SDK Demo Server).
- Check the "Download" tab. There should be no entry.
- Check the "Projects to Build" tab. There should be nothing selected.
- All other options are default. Click "Apply".
- Start Debugging - Find errors - Fix them