Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | Code-Composer | put and printf dont work.why?

Technical discussions about Code Composer Studio.

  

Post a new Thread

put and printf dont work.why? - ahmadagha23 - Jun 27 9:15:00 2005



Dear friends
I am implementing the lab1 project from dsp application book
authored by "Naser Kehtarnavaz"
it is a simple 6711 dsk project but when I build and run it on c6711
dsk, nothing appear at output (stdout) window.do you know why? ( I
also add rts6701.lib and enable the run time autoinitialization).

the project .cmd .asm and .c files are as follow respectively:

cmd file:

MEMORY
{
vecs: o = 00000000h l = 00000200h
IRAM: o = 00000200h l =
0000FE00h
CE0: o = 80000000h l = 01000000h }

SECTIONS
{
"vectors" > vecs
.cinit > IRAM
.text > IRAM
.stack > IRAM
.bss > IRAM
.const > IRAM
.data > IRAM
.far > IRAM
.switch > IRAM
.sysmem > IRAM
.tables > IRAM
.cio > IRAM
.mydata > CE0
}

---------------------------------------------------------------------
--------------
asm file:

.sect ".mydata"
.short 0
.short 7
.short 10
.short 7
.short 0
.short -7
.short -10
.short -7
.short 0
.short 7

---------------------------------------------------------------------
-------------
c file:

#include <stdio.h>
void main()
{
int i;
short *point;
point= (short *) 0x80000000;
puts("volume example started\n");
printf("BEGIN\n");
puts("volume example started\n");
for(i=0;i<10;i++)
{
puts("volume example started\n");
printf("[%d] %d\n",i, point[i]);
}
printf("END\n");
}




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