Keil™, An ARM® Company

Technical Support

RTX166 TINY: GETTING STARTED


Information in this article applies to:

  • C166 Version 3.12
  • C166 Version 4.06
  • µVision Version 2.06

QUESTION

What must I do to create an RTX166 Tiny program?

ANSWER

Follow these steps to create a new RTX166 Tiny application.

  1. Create a new project in µVision.
  2. Select the chip you will use (C167CR-LM for example).
  3. Check to make sure that the chip you selected has the timer selected in CPUTIMER.INC. If the selected timer is not available on your chip, you must rebuild RTX166 Tiny. This requires that you edit \KEIL\C166\RTX_TINY\CPUTIMER.INC and re-build the library.
  4. Add the \KEIL\C166\RTX_TINY\CONF_TNY.A66 file to your project directory. You may need to edit this file to adjust the clock or timesharing constants.
  5. In the project options, make sure to select the RTX166 Tiny operating system.
  6. Create at least one task (task 0). This is executed once your RTX166 Tiny program starts.

An example program may be downloaded from the Keil website.

MORE INFORMATION

Last Reviewed: Thursday, September 22, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure