Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Discussion Groups

Discussion Groups | Freescale DSPs | Generated program code is always too big

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

Generated program code is always too big - rodr...@yahoo.com.br - Aug 23 7:53:07 2007



Hi all,

I'm using the MC56F8014 with CW 7.0 Special Edition for 56800/56800E and I realized that even
an extremely small Processor Expert Stationary project, like the one with the code shown and
with any other bean but the CPU one, generates about 2 Kb of compiled program code for the
MC56F8014. 

// C file init
#include "Cpu.h"
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"

void main(void)
{
  PE_low_level_init();
  for(;;) {}
}
// C file end
Even the simplest DSP56800X EVM Stationery project, without Processor Expert, generates a final
program code of about 5 Kb.

I think that the libraries (MSL C 56800E.ib and Runtime 56800E.lib) that are linked together
these projects may increase the final size of the program code, but I don't know If i can omit
them.

Anyone could tell me if these libraries are used only for debugging purposes and if I can omit
them? Or even what should I do to decrease the size of theses programs (and still write the
programs in C language)?

Thank you,
Rodrigo



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