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.
hi;
i started to work with the6455 DSK in the last couple weeks and i am trying to get fimilar with the DSK and CCS but i have a lot of problems with linking comand file and later with the load and run the program the simple example i work with is i wrote 2 source files in c and asm
the c file is
#include<studio.h>
void main()
{
printf("begin\n");
printf("end\n");
}
and the asm file contain the follwoing
.sect ".mydata"
.short 0
.short 7
.short 10
.short 7
.short 0
.short -7
.short -10
.short -7
.short 0
.short 7
the link comand file contain
MEMORY
{
IRAM: o= 0x00000000 l=0x00100000
MYDATA: o=0xE0000000 l=0xE8000000
}
SECTIONS
{
.cinit > IRAM
.text > IRAM
.stack > IRAM
.bss > IRAM
.const > IRAM
.data > IRAM
. far > IRAM
.switch > IRAM
.sysmem> IRAM
.tables > IRAM
.cio > IRAM
.mydata> MYDATA
}
WHEN I BULED IT THE BUILD IS COMMPLETRE WITH 0ERRORS ,0WARNINGS 0,REMARKS
WHEN LOAD THE PROGRAM
GEL OUTPUT IS
PLL1 has been configured .
Turn off cache segment
Disable EDMA events
messages
loader : one or mor 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 registor : 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
There are examples of linker command files as part of the Target Content Package available from the Spectrum Digital support site for the DSK.