This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I try use IQmath and other Device in F28027 piccolo controlstick but have memory error with F2802x_Headers_nonBIOS.cmd

Other Parts Discussed in Thread: CONTROLSUITE

first, Example_F2802xAdcSoc.c is work and good

then, I include IQmath.h, want to do some math work 

but ,It can't work 

anybody help

#include "DSP28x_Project.h" // Device Headerfile and Examples Include File

#include "f2802x_common/include/adc.h"
#include "f2802x_common/include/clk.h"
#include "f2802x_common/include/flash.h"
#include "f2802x_common/include/gpio.h"
#include "f2802x_common/include/pie.h"
#include "f2802x_common/include/pll.h"
#include "f2802x_common/include/pwm.h"
#include "f2802x_common/include/wdog.h"
#include "IQmathLib.h"
#include "math.h"

error like :

"C:/ti/controlSUITE/device_support/f2802x/v230/f2802x_examples_drivers/adc_soc/../../f2802x_common/cmd/F2802x_generic_ram.cmd", line 113: error:
program will not fit into available memory. placement with
alignment/blocking fails for section ".text" size 0xd23 page 0. Available
memory ranges:
RAMM0 size: 0x3b0 unused: 0x0 max hole: 0x0
RAML0 size: 0x800 unused: 0x0 max hole: 0x0
.text : >> RAMM0 | RAML0, PAGE = 0
error: errors encountered during linking; "Example_F2802xAdcSoc.out" not built

  • Hi,

    Please refer the Quick start guide for IQMath for its implementation. The same can be found here:
    C:\ti\controlSUITE\libs\math\IQmath\v160\doc

    Regards,
    Gautam
  • user4498337 said:
    program will not fit into available memory. placement with
    alignment/blocking fails for section ".text" size 0xd23 page 0.

    This wiki page may help - the linker is having trouble placing code (part of the .text section) into the memory indicated in the linker command file.  You can modify this command file to provide more space as described on this wiki page: