How to set the include paths for gcc in a Managed Make project in Eclipse...
How to set the include paths for gcc in a Managed Make project in Eclipse 3.2 and CDT 3.1:Right click on your project and click "Properties"Select "C/C++ Build" in the sidebarIn the "Tool Settings"...
View ArticleHow to measure execution time for a portion of VxWorks code using VxWorks 5.5...
Use sysTimestamp() as documented in "VxWorks Device Driver Developer's Guide 6.2". This is the library used to measure time in WindView. If not already included, you need to include the system-defined...
View ArticleSome resources on task scheduling and CPU utilization
Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment: http://citeseer.ist.psu.edu/liu73scheduling.htmlAperiodic Task Scheduling for Real-Time Systems:...
View ArticleHow to create a downloadable vxworks project in Tornado 2.2
Start with your .c and .h files in a directory called "c:\sofeng\proj\myproj"TORNADO DOWNLOADABLE PROJECT1. Install Tornado 2.22. Run Tornado ("Start" -> "All Programs" -> "Tornado 2.2" ->...
View ArticleHow to use Eclipse and CDT to edit C source files
Eclipse is a good integrated development environment rivaling Microsoft Visual Studio 2005. I have Visual Studio 2005 installed on my computer, though for some reason, I don't care to use it. Eclipse...
View ArticleHow to switch from the GNU to the Diab compiler in VxWorks / Tornado 2.2
I was using the GNU compiler for a VxWorks / Tornado project and wanted to switch to the Diab compiler. Here is how to do it:1. In the "Workspace" window, click on the "Builds" tab.2. Right-click on...
View ArticleHow to determine the version of your Diab compiler in Tornado 2.2 / VxWorks 5.5
Did you ever wonder what version Diab compiler you were using with Tornado 2.2? I have a directory path called "C:\Tornado2.2\host\diab\5.1.2\WIN32\bin", but 5.1.2 was not my version. There was a file...
View ArticleHow to determine the path and other environment variables during a build in...
How to determine the path and other environment variables when building a project in Tornado 2.2. I don't have C:\Tornado2.2\host\diab\WIN32\bin in my path, but it looks like the Tornado project...
View ArticleHow Tornado 2.2 sets the PATH environment variable to find your Diab compiler
I've determined the version of my diab compiler is 5.0.3 in Tornado 2.2.1 (see this previous post). I got a new version 5.2.1 diab compiler and installed it, however Tornado was still looking in the...
View ArticleHow to use an external editor with Tornado 2.2
In Tornado 2.2, go to "Tools" menu -> "Options..." -> "External Editor" tabIn the "Command line:" field, enter "C:\Program Files\UltraEdit\uedit32.exe $filename" (Or if you don't use UltraEdit,...
View ArticleHow to use the command history in the Tornado shell
How to select a command from the history:Type "h" to show the history of commands Press the ESC key Type <the number of command to run> "G" e.g. "15G" Press the ENTER key How to search for a...
View ArticleHow to use Tornado GNU tools with Eclipse 3.2 / CDT 3.1
Configuration: VxWorks 5.5, Tornado 2.2, GNU toolchain, simulator target, Eclipse 3.2, CDT 3.1, Windows XP. I've finally figured out how to use the Tornado GNU tools inside Eclipse/CDT as a Standard...
View ArticleVxWorks/Tornado bootable project tutorial
How to create a bootable application for the Simulator in Tornado 2.2 on Windows.From the "File" menu, select "New Project..."Double-click "Create a bootable VxWorks image (custom configured)Enter...
View ArticleTornado Tools Command Line Summary
This is a summary of the command line options for the tools located in C:\Tornado2.2\host\x86-win32\bin. The beginning has some of my notes on some of the tools. The tools are located in...
View ArticleVxWorks Simulator "Hello World" tutorial
These are my notes on setting up a Hello World application in Tornado. For a more complete tutorial, see Chapter 3 "Tornado Tutorial" in the Tornado Getting Started Guide.Setup the project:From the...
View ArticleConfiguring the VxWorks Full Simulator on Windows
My notes on configuring the VxSim Full Simulator on Windows XP. Note: this is not working. See also http://www.xs4all.nl/~borkhuis/vxworks/multsimnt.html and less importantly...
View ArticleTornado 2.2 file locations
Here are the file locations for all the .c, .h, .cpp, .hpp, .tcl, .exe, and .bat files in the "host", "share", and "target" subdirectories of Tornado 2.2.1 on Windows. Hit CTRL+F to search for the...
View ArticleHow to run the VxWorks Simulator from the command line
Here's how to run VxSim, a target server, and the Tornado shell from the command line in Windows. I am using Tornado 2.2.1 and Windows XP.Open a "cmd.exe" window.Enter the following commands as shown...
View ArticleHow to change directories in the Tornado Shell
You need to put quote marks around the directory you want to change to. See the following session in windsh:-> cd "c:/tornado2.2" value = 0 = 0x0 -> pwd c:/tornado2.2 value = 0 = 0x0 -> ls...
View ArticleHow to download a Vxworks application from the command line
You can download a module .out file from the Tornado Shell as shown:-> ld <c:/path/to/myapp.out Loading c:/path/to/myapp.out / value = 14999912 = 0xe4e168 -> See also section 5.2.5 of the...
View ArticleHow to unload a vxworks module
If you download a vxworks .out file but then decide you want to get rid of it, you can use the "unld" command. See the example below:-> unld "myapp.out" value = 0 = 0x0See also section 5.2.7 of the...
View ArticleCannot contact Wind Registry on host
tgtsvr error: Cannot contact Wind Registry on hostmake sure the Wind Registry is running by looking for either the icon in the system tray or wtxreg.exe or wtxregd.exe in the Processes tab of your...
View ArticleHow to get memory map for a downloadable project
From the Tornado shell:lkup "" > mymap.txt
View ArticleTarget Server errors
If you get any of the following target server error messages:Error: rpccore backend client Unable to receiveError: rpccore backend client Procedure unavailableError: rpccore backend client Remote...
View ArticleError: rpccore backend client Timed out
Tornado Vxworks target server error:Error: rpccore backend client Timed out Try turning the board on.Try pinging the target. If the request times out, you have a problem. Check that your target is...
View Article
More Pages to Explore .....