On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTTarget-32 Programming Manual
Introduction
Running Win32 Programs without Win32
The i386 Microprocessor
RTLoc: Locating a Program
Running a Program on the Target
Cross Debugging
Using an IDE
The RTTarget-32 API
Demo Programs
Running Demos with Command Line Tools
Running Demos in Microsoft Visual Studio
Running Demos in the Borland Delphi IDE
Using a Standard PC as a Target
Using a Standard PC as a Target for GUI Demos
Using the AMD Élan SC400 Evaluation Board
Using the AMD Élan SC520 Evaluation Board
Using the RTOS32Win Virtual Target
Using the Real-Time Hypervisor Target
Program Hello
Program Hello2
Program SerInt
Program SerDemo
Program EmuDemo
Program DLLDemo
Program DLLDemo2
Program DLLDemo3
Program SysDemo
Program FTPLoader
Program BIOSDemo
Program PCCard
Program PCCardMT
Program VMemDemo
Program FMapDemo
Program ExLED
Program HelloSc400
Program HelloSc520
Program NSHello
Program TVDemo
Program MetWorld
Program HelloGUI
Program HelloDelphi
Program BenchDelphi
Program MPDiag
Program Hellovmf
Program Vmftcp
Program Hellorth
Program Rthtcp
Program Msvccrt
Program ACPICADemo
Advanced Topics
Compiling and Linking with On Time RTOS-32
Redistributable Components of RTTarget-32
RTLoc Error Messages
RTTarget-32 Reference Manual
RTKernel-32
RTFiles-32
RTIP-32
RTPEG-32
RTUSB-32
|
Running Demos in Microsoft Visual Studio
On Time RTOS-32 host program DLaunch.exe can be used to generate a command line and to launch Microsoft Visual Studio through RTTarget-32's DbgShell program. The command line loads the required workspace and project files for each demo. Please note that you must start Msdev.exe or Devenv.exe through DbgShell to be able to use the integrated debugger. To build a demo, follow these steps:
- Connect the host and target as described in section Connecting Host and Target. Make sure that settings in file Rttarget.ini and the COMPort command in the hardware defining configuration file are correct. Rttarget.ini can be opened by clicking on Edit Settings in the On Time RTOS-32 Start Menu folder.
- With Visual Studio 6.0, set the active configuration to Target - Win32 Debug or Target - Win32 Release.
- If the demo is intended to run on a standard PC, place an empty formatted diskette in drive A:.
- Build the project with the Build command.
- Install the Debug Monitor on the target (see below, depends on target type).
- Reboot the target.
- If you have selected the Debug configuration, you can use any debugging command to start a remote debug session (e.g., Debug | Step Into). The program will be downloaded and executed. If you are prompted to enter the program's name, enter Debug\Project.exe.
- If you have selected a Release configuration, the boot diskette contains the demo program as a bootable image for any demos intended to run on a standard PC. Demos intended to boot from ROM will generate a boot image as an Intel Hex file in the Release directory.
Demo Programs
Running Demos with Command Line Tools
Running Demos in the Borland Delphi IDE
|