This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS3.3 Breakpoint Manager - Floating Point Probe Points



Hi,

I am trying to test out some floating point values as part of an algorithm development, and the intention was to use the probe point in breakpoint manager to load the values into a buffer.

I have it working with hexadecimal values, however I am struggling to get the floating point working.

 

My *.dat file is set up as instructed in the help files

1651 4 0 0 0

0.000

0.001 etc. etc.

However I am not reading in anything to my buffer. (I cant see anything being stored in memory &inBuffer or in the watch window)

 

Just wondering if I am missing something, or if there are any documents/examples for loading floating point numbers to a C28x. 

Must I convert to Hex and do some processing once the values are in there?

Thanks for your time in advance.

Cheers,

Seán

  • Sean,

    I tried a small test with CCS 3.3 and it does look like float values are not handlded properly when reading from data file using probe points. Other formats like hex and int work fine. I also tested the same example on CCSv4 and it does handle the float values correctly, so I think this might be a bug in CCS3.3. Unfortunately since we are not making any more updates to 3.3, you would need to use one of the other formats to get the data loaded. Another option would be to update to CCS4 if that is feasible for you at this time.

  • Thank you Aarti.

    In addition; I tried the following;

    1. Write 10 floating point values to a *.dat file using a probe point. This works!!

    2. Read back in the file that has just been written. This does not work!!!

    I have quite a bit of simulated data that I must get try. Should I use the Data > Load feature?

    Cheers,

    Seán

  • Using the Data->Load feature is an option but I have not been able to get that to work for float values either. As you said, writing float value to data file works ok but reading from file or Data->Load does not seem to work. So your options would be to use a different format, or upgrade to CCSv4. If you are locked in to a certain version of compiler, you can still stay on that version but just update to CCS4 for debugging, if that sounds feasible.