DSPRelated.com
Forums

simple question about programming

Started by ragers_m September 9, 2007
hi all
for a simple program for example
defining an io port and sending a byte to that port in ccs for a custom
board using tms320vc5416 and SPI EEPROM for bootloader.
is it necessary to write all files with .c .asm .cmd .h extentions? or
we can do the job with an only c file?
we may use all the defaults for memory map and other configurations.
then after hex conversion program size will be more than 32k byte how
can i reduce it?
thanks
M Ragers-

> for a simple program for example
> defining an io port and sending a byte to that port in ccs for a custom
> board using tms320vc5416 and SPI EEPROM for bootloader.
> is it necessary to write all files with .c .asm .cmd .h extentions? or
> we can do the job with an only c file?
> we may use all the defaults for memory map and other configurations.
> then after hex conversion program size will be more than 32k byte how
> can i reduce it?

These are very general questions to which you can easily find answers in the TI examples and tutorials that come with
the DSK 5416 board. I would strongly urge you to experiment with a DSK board instead of trying to learn CCS on a
custom board.

-Jeff