Hello,
I am developping on TMS320F28335 with the XDS100v1 and I want to analyse some value at the end of a run (not in the variables table) and I have 2 issues.
1 - I have a problem with the fprintf function. I use it because I don't have the usb communication ready yet...
And my problem is that fprintf(fic, "%d.0%d\t, a, b) works but fprintf(fic, "%lf\t", c) doesn't work...nothing happen and the running seems to be busy. Why does it happen? Is it linked to the heap size of my program (0x400) ? What can I do ?
2 - The accuracy of calculation is not the best : when I have 129000 + 2e-7 -129000 = 0 but when I have 129000-129000+2e-7 = 2e-7. I know it is because of 16/32 bit calculation but is there any traditional way to avoid lost of accuracy of calculation ? Because 129000.0000007 = 129000 I am agree but at the end 129000+2e-7-129000 = 0 and it is aan issue for me...
Thank you.