Tool/software: Code Composer Studio
Hi,
I work on a DSP TMS320C6727 project. I want to simulate the DSP behavior with the load6x.exe program.
I'm able to launch my program, 'puts' and 'printf" functions work as expected but I can't make the 'expf' function to work.
Everytime the program reaches the line with this function, it outputs the following message :
>>Illegal opcode (008d4e61) at pc = 0x1001e788
What am I doing wrong and how can I make it to work ?
Test code is as simple as that :
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void main (unsigned argc, char *argv[])
{
float test;
puts ("************************************************************************************\n");
puts ("Hello world ! \n");
test = expf(0.0);
puts ("************************************************************************************\n");
exit(0);
}