Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Ads

Discussion Groups

Discussion Groups | TMS320C54x | simple question about programming

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

simple question about programming - ragers_m - Sep 9 9:35:04 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



(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )

Re: simple question about programming - Jeff Brower - Sep 9 10:37:23 2007

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



(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )