elaphece
Newbie level 3

hi ;
i have wrote a simple program in c and write the cmd file
the c file is
#include<stdio.h>
void main()
{
int i;
for(i=0;i<10;i++)
{
printf("I=%d",i);
}
}
the cmd file is
MEMORY
{
IRAM: O=0X00000000 L=0X00080000
}
SECTIONS
{
.cinit > IRAM
.text > IRAM
.stack > IRAM
.bss > IRAM
.const > IRAM
.data > IRAM
. far > IRAM
.switch > IRAM
.sysmem> IRAM
.tables > IRAM
.cio > IRAM
}
when build the program the is no error and when load it no error but when run there is no value appear on the screen and
in the section messages the is the following message
loader : one or more sections of your program falls into memory region that is not writable .these regions not actually be written to the target . check your linker configuration and /or memory map
Trouble writing register : error 0x00000006/-1176 error during : memory , registor , the IM memory request is not servied by the HW memory system. this could be caused by the memory address specified does not exist in the spcified memory cache level . sequence ID : 6 error code : -1176 error class 0x00000006
i am using the ccs v3.3
my regards
i have wrote a simple program in c and write the cmd file
the c file is
#include<stdio.h>
void main()
{
int i;
for(i=0;i<10;i++)
{
printf("I=%d",i);
}
}
the cmd file is
MEMORY
{
IRAM: O=0X00000000 L=0X00080000
}
SECTIONS
{
.cinit > IRAM
.text > IRAM
.stack > IRAM
.bss > IRAM
.const > IRAM
.data > IRAM
. far > IRAM
.switch > IRAM
.sysmem> IRAM
.tables > IRAM
.cio > IRAM
}
when build the program the is no error and when load it no error but when run there is no value appear on the screen and
in the section messages the is the following message
loader : one or more sections of your program falls into memory region that is not writable .these regions not actually be written to the target . check your linker configuration and /or memory map
Trouble writing register : error 0x00000006/-1176 error during : memory , registor , the IM memory request is not servied by the HW memory system. this could be caused by the memory address specified does not exist in the spcified memory cache level . sequence ID : 6 error code : -1176 error class 0x00000006
i am using the ccs v3.3
my regards