Hi Guys,
I am using TMS32F28027 MCU and I have written a program for 3 phase Voltage measurement. I want to check my program by writing all the calculated values in an excel file using fwrite fuction. As the RAM has limited memory the compiler gives the following errors.
Is there any way to create excel file in another directory other than the RAM (for eg. in hard disk )?
Normally in eclipse IDE the line myFile = fopen("file.csv", "w"); is replaced with myFile = fopen("D:\\file.csv", "w"); to change the directory. This doesn't work in CCS.
Also I am open to other suggestions for checking the calculated voltage values. Thank You.
warning: creating output section ".cio" without a SECTIONS specification
warning: creating ".esysmem" section with default size of 0x400; use the -heap
option to change the default size
"D:/Software/controlSUITE/device_support/f2802x/v220/f2802x_common/cmd/F2802x_generic_ram.cmd", line 111: error:
program will not fit into available memory. placement with
alignment/blocking fails for section ".text" size 0x23b1 page 0. Available
memory ranges:
RAMM0 size: 0x3b0 unused: 0x0 max hole: 0x0
RAML0 size: 0x800 unused: 0x1 max hole: 0x1
.text : >> RAMM0 | RAML0, PAGE = 0
"D:/Software/controlSUITE/device_support/f2802x/v220/f2802x_common/cmd/F2802x_generic_ram.cmd", line 119: error:
program will not fit into available memory. placement with
alignment/blocking fails for section ".econst" size 0x261 page 1. Available
memory ranges:
RAMM1 size: 0x400 unused: 0x0 max hole: 0x0
.econst : > RAMM1, PAGE = 1
"D:/Software/controlSUITE/device_support/f2802x/v220/f2802x_common/cmd/F2802x_generic_ram.cmd", line 118: error:
program will not fit into available memory. run placement with
alignment/blocking fails for section ".ebss" size 0x220 page 1. Available
memory ranges:
RAMM1 size: 0x400 unused: 0x0 max hole: 0x0
.ebss : > RAMM1, PAGE = 1
"D:/Software/controlSUITE/device_support/f2802x/v220/f2802x_common/cmd/F2802x_generic_ram.cmd", line 117: error:
program will not fit into available memory. run placement with
alignment/blocking fails for section ".stack" size 0x200 page 1. Available
memory ranges:
RAMM1 size: 0x400 unused: 0x0 max hole: 0x0
.stack : > RAMM1, PAGE = 1
error: program will not fit into available memory. run placement with
alignment/blocking fails for section ".cio" size 0x120 page 1. Available
memory ranges:
BOOT_RSVD size: 0x4e unused: 0x4e max hole: 0x4e
RAMM1 size: 0x400 unused: 0x0 max hole: 0x0
DEV_EMU size: 0x105 unused: 0x101 max hole: 0x101
SYS_PWR_CTL size: 0x3 unused: 0x0 max hole: 0x0
FLASH_REGS size: 0x60 unused: 0x58 max hole: 0x58
CSM size: 0x10 unused: 0x0 max hole: 0x0
ADC_RESULT size: 0x20 unused: 0x0 max hole: 0x0
CPU_TIMER0 size: 0x8 unused: 0x0 max hole: 0x0
CPU_TIMER1 size: 0x8 unused: 0x0 max hole: 0x0
CPU_TIMER2 size: 0x8 unused: 0x0 max hole: 0x0
PIE_CTRL size: 0x20 unused: 0x6 max hole: 0x6
PIE_VECT size: 0x100 unused: 0x0 max hole: 0x0
COMP1 size: 0x20 unused: 0xf max hole: 0xf
COMP2 size: 0x20 unused: 0xf max hole: 0xf
EPWM1 size: 0x40 unused: 0x0 max hole: 0x0
EPWM2 size: 0x40 unused: 0x0 max hole: 0x0
EPWM3 size: 0x40 unused: 0x0 max hole: 0x0
EPWM4 size: 0x40 unused: 0x0 max hole: 0x0
ECAP1 size: 0x20 unused: 0x0 max hole: 0x0
GPIOCTRL size: 0x40 unused: 0x0 max hole: 0x0
GPIODAT size: 0x20 unused: 0x0 max hole: 0x0
GPIOINT size: 0x20 unused: 0x16 max hole: 0x16
SYSTEM size: 0x20 unused: 0x1 max hole: 0x1
SPIA size: 0x10 unused: 0x0 max hole: 0x0
SCIA size: 0x10 unused: 0x0 max hole: 0x0
NMIINTRUPT size: 0x10 unused: 0x0 max hole: 0x0
XINTRUPT size: 0x10 unused: 0x0 max hole: 0x0
ADC size: 0x80 unused: 0x2f max hole: 0x2f
I2CA size: 0x40 unused: 0x1e max hole: 0x1e
PARTID size: 0x1 unused: 0x0 max hole: 0x0
CSM_PWL size: 0x8 unused: 0x0 max hole: 0x0
"D:/Software/controlSUITE/device_support/f2802x/v220/f2802x_common/cmd/F2802x_generic_ram.cmd", line 110: error:
program will not fit into available memory. placement with
alignment/blocking fails for section "ramfuncs" size 0x4 page 0. Available
memory ranges:
RAMM0 size: 0x3b0 unused: 0x0 max hole: 0x0
RAML0 size: 0x800 unused: 0x1 max hole: 0x1
ramfuncs : >> RAMM0 | RAML0 PAGE = 0
warning: entry-point symbol other than "_c_int00" specified: "code_start"
error: errors encountered during linking; "Example_2802xAdcSoc.out" not built
>> Compilation failure
gmake: *** [Example_2802xAdcSoc.out] Error 1
gmake: Target `all' not remade because of errors.