Download DSP563CCC DSP56300 Family Optimizing C Compiler User`s Manual
Transcript
NAME srec — Motorola DSP S-Record Conversion Utility SYNOPSIS srec [ -b | -w ] [ -m | -s ] [ -l ] [ -r ] <files ...> DESCRIPTION srec converts Motorola DSP .cld and .lod format files into Motorola S-record files. The S-record format was devised for the purpose of encoding programs or data files in a printable form for transportation between computer systems. Motorola S-record format is recognized by many PROM programming systems. files is a list of operating system compatible file names. If no pathname is specified for a given file, srec will look for that file in the current directory. If the special character ‘-’ is used as a file name srec will read from the standard input stream. The list of files will be processed sequentially in the order given. OPTIONS -b Use byte addressing when transferring load addresses to S-record addresses. This means that load file DATA record start addresses are multiplied by the number of bytes per target DSP word and subsequent S1/S3 record addresses are computed based on the data byte count. The -b and -w options are mutually exclusive. -l Use double-word addressing when transferring load addresses from L space to S-record addresses. This means that load file DATA records for L space data are moved unchanged and subsequent S1/S3 record addresses are computed based on the data word count divided by 2. This option should always be used when the source load file contains DATA records in L memory space. -m Split each DSP word into bytes and store the bytes in parallel S-records. The -m and -s options are mutually exclusive. -r Write bytes high to low, rather than low to high. This option has no effect when used with the -m option. -s Write data to a single file, putting memory space information into the address field of the S0 header record. The -m and -s options are mutually exclusive. MOTOROLA DSP563CCC User’s Manual B-17