Sign in

username:

password:



Not a member?

Search c28x



Search tips

Subscribe to c28x





Discussion Groups

Discussion Groups | TMS320C28x | F2812 Problem

Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).

  

Post a new Thread

F2812 Problem - sta_enev - Oct 3 9:39:27 2007



Hi everybody. I am two-day user of eZdsp 2812. Here is my first 
simple source file, that I tried to run, unfortunately without succes:

#include <math.h>
#define IT 50
#define pi 3.14159

void main() {
int i;
float b, *d;

d = (float *) 0x00008084;

for(i=0;i<=IT;i++){
    b=sin(2*pi*i/IT);
    *d=b;
    d++;
    }
}
At some point, around the 25th iteration it stucks, when calculating 
the sine value, but stepping into the code in the disassembly I can 
go to the end.
It runs on the simulator without problems.
The link file I'm using is f2812.cmd.
Does anybody have an idea what could be wrong?
Thanks

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c28x/1.php

_____________________________________

 


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