Question: I am trying to access I/O space in C. I am using the ioport keyword to access a port at address 0x1000 but the compiler keeps giving me an error " unrecognized ioport name port4000 "

Answer: When compiling code, make sure you use the -v50 option. If you don't, by default the compiler will generate code for the C2x which only has a range of 16 IOports.


Device: TMS320C5x
Category: TI Tools
Detail: Code Generation Tools
Detail2: Compiler
Title: Unrecognized Ioport Name Port4000
Source: Case from TMS320 Hotline
Date: 6/1/97
GenId: 0005100

© Copyright 1998 Texas Instruments Incorporated. All rights reserved.
Trademarks, Important Notice!