Other Parts Discussed in Thread: C2000WARE
Tool/software:
Good afternoon colleagues,
I am struggling with my DSP TMS320F2800132 that is part of a PCB design. This uC basically obtains ADC conversions from SPI peripheral from an external ADC and it starts to make some calculations relating to that measurement.
In this calculations I make divisions, multiplications and a natural logarithm. When I tested it debugging in RAM I didn't have any problem, the calculations where perfect and all went as expected. Then, when I tested it in RELEASE (FLASH) and I debug from FLASH, is where the problems happened. Some calculations that where impossible to be infinite are calculated as infinite and so on. What I would like to know I what is going on. I have reviewed the Linker, the compiler, etc... in the properties of the project and is the same in Debug and Release. I don't know if it helps but these calculations are float calculations and using math.h, but I repeat, in RAM debugging are good but in FLASH debugging are not.
Thank you in advance, have a nice day.
Pedro