Reading and Writing Binary Files on Targets with More Than 8-bit Chars

Texas Instruments

Published Date: 04/30/2001

Description

The run-time support (RTS) library shipped with the code generation toolset includes functions such as fread() and fwrite() that can perform input/output (I/O) on host files. On some targets such as TMS320C2000? TMS320C3000? and TMS320C5000? the size of a char on the target (16 or 32 bits) differs from the size of a byte on the host (8 bits). The tools have two basic alternatives for dealing wi