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
Invoking RTLoc
RTLoc Options
Configuration Files
Defining Target Hardware
Defining Program Location
Defining Program Options
Defining Boot Code Options
Creating Output Files
Initializing Target Hardware
OUT Commands
Delay Command
InitCode Commands
The .LOC File
The Locate Process in Detail
Running a Program on the Target
Cross Debugging
Using an IDE
The RTTarget-32 API
Demo Programs
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
|
Initializing Target Hardware
OUT and InitCode commands described in this section can be placed in an RTLoc configuration file to be executed by the standard boot codes at power-up or reset. OUT and InitCode commands can be used to initialize the target's chipset, such as RAM/ROM and all required peripherals.
Most target initializations should only need to use OUTB, OUTW and Delay. Please refer to files Ex386ini.cfg, Sc400ini.cfg, Sc520ini.cfg, and Ns486ini.cfg of demos ExLED, HelloSc400, HelloSc520, and NSHello for complete examples using these commands to initialize a controller. Configuration file Bin\Bootdbg.cfg contains a few macros for debugging a chipset initialization.
RTLoc: Locating a Program
Creating Output Files
OUT Commands
Delay Command
InitCode Commands
The .LOC File
|